Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4eCrossSectionHandler Class Reference

#include <G4eCrossSectionHandler.hh>

+ Inheritance diagram for G4eCrossSectionHandler:

Public Member Functions

 G4eCrossSectionHandler (G4VDataSetAlgorithm *alg, G4double emin, G4double emax, G4int nbin)
 
virtual ~G4eCrossSectionHandler ()
 
 G4eCrossSectionHandler (const G4eCrossSectionHandler &)=delete
 
G4eCrossSectionHandleroperator= (const G4eCrossSectionHandler &right)=delete
 
- Public Member Functions inherited from G4VCrossSectionHandler
 G4VCrossSectionHandler ()
 
 G4VCrossSectionHandler (G4VDataSetAlgorithm *interpolation, G4double minE=250 *CLHEP::eV, G4double maxE=100 *CLHEP::GeV, G4int nBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=1, G4int maxZ=99)
 
virtual ~G4VCrossSectionHandler ()
 
void Initialise (G4VDataSetAlgorithm *interpolation=nullptr, G4double minE=250 *CLHEP::eV, G4double maxE=100 *CLHEP::GeV, G4int numberOfBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=1, G4int maxZ=99)
 
G4int SelectRandomAtom (const G4MaterialCutsCouple *couple, G4double e) const
 
const G4ElementSelectRandomElement (const G4MaterialCutsCouple *material, G4double e) const
 
G4int SelectRandomShell (G4int Z, G4double e) const
 
G4VEMDataSetBuildMeanFreePathForMaterials (const G4DataVector *energyCuts=nullptr)
 
G4double FindValue (G4int Z, G4double e) const
 
G4double FindValue (G4int Z, G4double e, G4int shellIndex) const
 
G4double ValueForMaterial (const G4Material *material, G4double e) const
 
void LoadData (const G4String &dataFile)
 
void LoadNonLogData (const G4String &dataFile)
 
void LoadShellData (const G4String &dataFile)
 
void PrintData () const
 
void Clear ()
 
 G4VCrossSectionHandler (const G4VCrossSectionHandler &)=delete
 
G4VCrossSectionHandleroperator= (const G4VCrossSectionHandler &right)=delete
 

Protected Member Functions

std::vector< G4VEMDataSet * > * BuildCrossSectionsForMaterials (const G4DataVector &energyVector, const G4DataVector *energyCuts=0) override
 
- Protected Member Functions inherited from G4VCrossSectionHandler
G4int NumberOfComponents (G4int Z) const
 
void ActiveElements ()
 
virtual G4VDataSetAlgorithmCreateInterpolation ()
 
const G4VDataSetAlgorithmGetInterpolation () const
 

Detailed Description

Definition at line 49 of file G4eCrossSectionHandler.hh.

Constructor & Destructor Documentation

◆ G4eCrossSectionHandler() [1/2]

G4eCrossSectionHandler::G4eCrossSectionHandler ( G4VDataSetAlgorithm * alg,
G4double emin,
G4double emax,
G4int nbin )
explicit

Definition at line 38 of file G4eCrossSectionHandler.cc.

40{
41 G4VCrossSectionHandler::Initialise(alg, emin, emax, nbin);
42}
void Initialise(G4VDataSetAlgorithm *interpolation=nullptr, G4double minE=250 *CLHEP::eV, G4double maxE=100 *CLHEP::GeV, G4int numberOfBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=1, G4int maxZ=99)

◆ ~G4eCrossSectionHandler()

G4eCrossSectionHandler::~G4eCrossSectionHandler ( )
virtual

Definition at line 46 of file G4eCrossSectionHandler.cc.

47{}

◆ G4eCrossSectionHandler() [2/2]

G4eCrossSectionHandler::G4eCrossSectionHandler ( const G4eCrossSectionHandler & )
delete

Member Function Documentation

◆ BuildCrossSectionsForMaterials()

std::vector< G4VEMDataSet * > * G4eCrossSectionHandler::BuildCrossSectionsForMaterials ( const G4DataVector & energyVector,
const G4DataVector * energyCuts = 0 )
overrideprotectedvirtual

Implements G4VCrossSectionHandler.

Definition at line 51 of file G4eCrossSectionHandler.cc.

53{
54 std::vector<G4VEMDataSet*>* matCrossSections = new std::vector<G4VEMDataSet*>;
55 return matCrossSections;
56}

◆ operator=()

G4eCrossSectionHandler & G4eCrossSectionHandler::operator= ( const G4eCrossSectionHandler & right)
delete

The documentation for this class was generated from the following files: