37#ifndef G4MicroElecElasticModel_h
38#define G4MicroElecElasticModel_h 1
56 const G4String& nam =
"MicroElecElasticModel");
103 typedef std::map<G4String,G4String,std::less<G4String> > MapFile;
106 typedef std::map<G4String,G4MicroElecCrossSectionDataSet*,std::less<G4String> > MapData;
109 typedef std::map<G4double, std::map<G4double, G4double> > TriDimensionMap;
110 TriDimensionMap eDiffCrossSectionData;
111 std::vector<G4double> eTdummyVec;
113 typedef std::map<G4double, std::vector<G4double> > VecMap;
127 killBelowEnergy = threshold;
129 if (threshold < 5*CLHEP::eV)
131 G4Exception (
"*** WARNING : the G4MicroElecElasticModel class is not validated below 5 eV !",
"",
JustWarning,
"") ;
132 threshold = 5*CLHEP::eV;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void SetKillBelowThreshold(G4double threshold)
G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax) override
G4ParticleChangeForGamma * fParticleChangeForGamma
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
G4MicroElecElasticModel(const G4MicroElecElasticModel &)=delete
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4MicroElecElasticModel & operator=(const G4MicroElecElasticModel &right)=delete
virtual ~G4MicroElecElasticModel()
G4double GetKillBelowThreshold()