50 double upper =
Kallbach(1., anEnergy);
51 double lower =
Kallbach(-1., anEnergy);
52 if(upper>max) max=upper;
53 if(lower>max) max=lower;
57 G4int icounter_max=1024;
61 if ( icounter > icounter_max ) {
62 G4cout <<
"Loop-counter exceeded the threshold value at " << __LINE__ <<
"th line of " << __FILE__ <<
"." <<
G4endl;
135 if(productA==3) mb=1;
139 throw G4HadronicException(__FILE__, __LINE__,
"Severe error in the sampling of Kallbach-Mann Systematics");
152 result = 15.68*(Ac-AA);
153 result += -28.07*((Nc-
Zc)*(Nc-Zc)/Ac - (NA-ZA)*(NA-ZA)/AA);
159 result += 1.211*(Zc*Zc/Ac-ZA*ZA/AA);
163 if(productZ==0&&productA==1) totalBinding=0;
164 if(productZ==1&&productA==1) totalBinding=0;
165 if(productZ==1&&productA==2) totalBinding=2.22;
166 if(productZ==1&&productA==3) totalBinding=8.48;
167 if(productZ==2&&productA==3) totalBinding=7.72;
168 if(productZ==2&&productA==4) totalBinding=28.3;
169 result += -totalBinding;
static G4Pow * GetInstance()
G4double theProductEnergy
G4double powN(G4double x, G4int n) const
G4double GetKallbachZero(G4double anEnergy)
G4double A23(G4double A) const
G4double A(G4double anEnergy)
G4double SeparationEnergy(G4int Ac, G4int Nc, G4int AA, G4int ZA)
G4GLOB_DLL std::ostream G4cout
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double A13(G4double A) const
G4double theCompoundFraction
G4double powA(G4double A, G4double y) const
G4double Kallbach(G4double cosTh, G4double anEnergy)
G4double Sample(G4double anEnergy)