Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
G4eCrossSectionHandler Class Reference

#include <G4eCrossSectionHandler.hh>

Inheritance diagram for G4eCrossSectionHandler:
G4VCrossSectionHandler

Public Member Functions

 G4eCrossSectionHandler (G4VDataSetAlgorithm *alg, G4double emin, G4double emax, G4int nbin)
 
virtual ~G4eCrossSectionHandler ()
 
- 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=0, 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=0)
 
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 ()
 

Protected Member Functions

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

Detailed Description

Definition at line 52 of file G4eCrossSectionHandler.hh.

Constructor & Destructor Documentation

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

Definition at line 39 of file G4eCrossSectionHandler.cc.

References G4VCrossSectionHandler::Initialise().

41 {
42  G4VCrossSectionHandler::Initialise(alg, emin, emax, nbin);
43 }
void Initialise(G4VDataSetAlgorithm *interpolation=0, 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 ( )
virtual

Definition at line 45 of file G4eCrossSectionHandler.cc.

46 {}

Member Function Documentation

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

Implements G4VCrossSectionHandler.

Definition at line 49 of file G4eCrossSectionHandler.cc.

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

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