44#ifndef G4PIXECROSSSECTIONHANDLER_HH
45#define G4PIXECROSSSECTIONHANDLER_HH 1
122 void ActiveElements();
124 void BuildForMaterials();
126 std::vector<G4IDataSet*>* BuildCrossSectionsForMaterials(
const G4DataVector& energyVector);
131 const G4IInterpolator* GetInterpolation()
const {
return interpolation; }
148 std::map<G4int,G4IDataSet*,std::less<G4int> > dataMap;
152 std::vector<G4IDataSet*>* crossSections;
154 std::vector<G4String> crossModel;
virtual ~G4PixeCrossSectionHandler()
void Initialise(G4IInterpolator *interpolation, const G4String &modelK="ecpssr", const G4String &modelL="ecpssr", const G4String &modelM="ecpssr", G4double minE=1 *CLHEP::keV, G4double maxE=0.1 *CLHEP::GeV, G4int nBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=6, G4int maxZ=92)
G4double MicroscopicCrossSection(const G4ParticleDefinition *particleDef, G4double kineticEnergy, G4double Z, G4double deltaCut) const
G4double FindValue(G4int Z, G4double e) const
G4int SelectRandomShell(G4int Z, G4double e) const
void LoadShellData(const G4String &dataFile)
G4double ValueForMaterial(const G4Material *material, G4double e) const
G4PixeCrossSectionHandler()
G4int SelectRandomAtom(const G4Material *material, G4double e) const