37#ifndef G4MicroElecElasticModel_h
38#define G4MicroElecElasticModel_h 1
57 const G4String& nam =
"MicroElecElasticModel");
94 typedef std::map<G4String,G4String,std::less<G4String> > MapFile;
97 typedef std::map<G4String,G4MicroElecCrossSectionDataSet*,std::less<G4String> > MapData;
123 typedef std::map<double, std::map<double, double> > TriDimensionMap;
125 TriDimensionMap eDiffCrossSectionData;
126 std::vector<double> eTdummyVec;
128 typedef std::map<double, std::vector<double> > VecMap;
142 killBelowEnergy = threshold;
144 if (threshold < 5*CLHEP::eV)
146 G4Exception (
"*** WARNING : the G4MicroElecElasticModel class is not validated below 5 eV !",
"",
JustWarning,
"") ;
147 threshold = 5*CLHEP::eV;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void SetKillBelowThreshold(G4double threshold)
G4ParticleChangeForGamma * fParticleChangeForGamma
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
virtual ~G4MicroElecElasticModel()
G4double GetKillBelowThreshold()
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)