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

Public Member Functions

 OneSamplingTable ()
 
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 324 of file G4eDPWAElasticDCS.cc.

Constructor & Destructor Documentation

◆ OneSamplingTable()

OneSamplingTable::OneSamplingTable ( )
inline

Definition at line 325 of file G4eDPWAElasticDCS.cc.

325{}

Member Function Documentation

◆ SetSize()

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

Definition at line 326 of file G4eDPWAElasticDCS.cc.

326 {
327 fN = nx;
328 // Alias
329 if (useAlias) {
330 fW.resize(nx);
331 fI.resize(nx);
332 }
333 // Ratin
334 fCum.resize(nx);
335 fA.resize(nx);
336 fB.resize(nx);
337 }
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 344 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fB

std::vector<G4double> OneSamplingTable::fB

Definition at line 345 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fCum

std::vector<G4double> OneSamplingTable::fCum

Definition at line 343 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fI

std::vector<G4int> OneSamplingTable::fI

Definition at line 346 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fN

std::size_t OneSamplingTable::fN

Definition at line 340 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().

◆ fScreenParA

G4double OneSamplingTable::fScreenParA

Definition at line 341 of file G4eDPWAElasticDCS.cc.

◆ fW

std::vector<G4double> OneSamplingTable::fW

Definition at line 342 of file G4eDPWAElasticDCS.cc.

Referenced by SetSize().


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