39 #ifndef G4QElectronNuclearCrossSection_h
40 #define G4QElectronNuclearCrossSection_h 1
103 static std::vector <G4double*>* J1;
104 static std::vector <G4double*>* J2;
105 static std::vector <G4double*>* J3;
114 static const G4double mel=0.5109989;
115 static const G4double lmel=std::log(mel);
118 return (poc*(
x-pos)+shd*std::exp(-reg*
x))*flux;
126 return dlg1*HighEnergyJ1(x)-lgoe*(HE2+HE2-HighEnergyJ3(x)/lastE);
131 static const G4double le=std::log(50000.);
138 static const G4double ele=std::exp(-d*le);
139 return ha*(lEn*lEn-le2)-ab*(lEn-le)-cd*(std::exp(-d*lEn)-ele);
145 static const G4double le=std::log(e);
151 static const G4double ele=std::exp(d*le);
153 return a*((lEn-1.)*En-le1)-ab*(En-
e)+
cd*(std::exp(
d*lEn)-ele);
159 static const G4double le=std::log(e);
161 static const G4double leh=(le-.5)*e2;
166 static const G4double ele=std::exp(d*le);
168 return ha*((lEn-.5)*lastE2-leh)-hab*(lastE2-e2)+
cd*(std::exp(
d*lEn)-ele);