Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
OneSamplingTable Struct Reference

Public Member Functions

 OneSamplingTable ()=default
 
void SetSize (std::size_t nx, G4bool useAlias)
 

Public Attributes

std::size_t fN
 
G4double fScreenParA
 
std::vector< G4doublefW
 
std::vector< G4doublefCum
 
std::vector< G4doublefA
 
std::vector< G4doublefB
 
std::vector< G4intfI
 

Detailed Description

Definition at line 326 of file G4eDPWAElasticDCS.cc.

Constructor & Destructor Documentation

◆ OneSamplingTable()

OneSamplingTable::OneSamplingTable ( )
default

Member Function Documentation

◆ SetSize()

void OneSamplingTable::SetSize ( std::size_t  nx,
G4bool  useAlias 
)
inline

Definition at line 328 of file G4eDPWAElasticDCS.cc.

328 {
329 fN = nx;
330 // Alias
331 if (useAlias) {
332 fW.resize(nx);
333 fI.resize(nx);
334 }
335 // Ratin
336 fCum.resize(nx);
337 fA.resize(nx);
338 fB.resize(nx);
339 }
std::vector< G4double > fB
std::vector< G4double > fA
std::vector< G4int > fI
std::vector< G4double > fW
std::vector< G4double > fCum

Member Data Documentation

◆ fA

std::vector<G4double> OneSamplingTable::fA

Definition at line 346 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fB

std::vector<G4double> OneSamplingTable::fB

Definition at line 347 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fCum

std::vector<G4double> OneSamplingTable::fCum

Definition at line 345 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fI

std::vector<G4int> OneSamplingTable::fI

Definition at line 348 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fN

std::size_t OneSamplingTable::fN

Definition at line 342 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fScreenParA

G4double OneSamplingTable::fScreenParA

Definition at line 343 of file G4eDPWAElasticDCS.cc.

◆ fW

std::vector<G4double> OneSamplingTable::fW

Definition at line 344 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().


The documentation for this struct was generated from the following file: