33 #ifndef G4KalbachCrossSection_h 
   34 #define G4KalbachCrossSection_h 1 
   60   {-312., 0.,      0.,  12.10,  -11.27, 234.1, 38.26, 1.55,  -106.1, 1280.8, 0.0},
 
   63   {15.72, 9.65, -300.,  0.00437,-16.58, 244.7, 0.503, 273.1, -182.4, -1.872, 0.0},
 
   65   {0.798, 420.3,-1651., 0.00619, -7.54, 583.5, 0.337, 421.8, -474.5, -3.592, 0.8},
 
   67   {-21.45,484.7,-1608., 0.0186, -8.9,   686.3, 0.325, 368.9, -522.2, -4.998, 0.8},
 
   69   {-2.88,205.6, -1487.,0.00459,-8.93,   611.2, 0.35 , 473.8, -468.2, -2.225, 0.8},
 
   71   { 10.95,-85.2, 1146.,  0.0643,-13.96, 781.2,  0.29, -304.7,-470.0, -8.580, 1.2}
 
   92     if(0 < Z) { ec = cb; }
 
  106       if(resA < 40)       { signor =0.7 + resA*0.0075; }
 
  107       else if(resA > 210) { signor = 1. + (resA-210)*0.004; }
 
  109       mu = (paramK[idx][5] + paramK[idx][6]*resA13)*resA13;
 
  113       nu = std::abs((paramK[idx][7]*resA + paramK[idx][8]*resA13)*resA13 
 
  119         if (resA <= 60)      { signor = 0.92; }
 
  120         else if (resA < 100) { signor = 0.8 + resA*0.002; }
 
  123       mu = paramK[idx][5]*amu1;
 
  124       nu = amu1* (paramK[idx][7] + paramK[idx][8]*ec + paramK[idx][9]*ecsq);
 
  133       if(0 < Z) { p += 
paramK[idx][1]/ec + 
paramK[idx][2]/ecsq; }
 
  138       if (det > 0.0) { ecut = (std::sqrt(det) - 
a)/(2*p); }
 
  139       else           { ecut = -a/(2*p); }
 
  145         sig = (lambda*ec + mu + nu/ec)*signor*std::sqrt(elab/ec);
 
  146       } 
else if(elab >= ecut) { 
 
  147         sig = (p*elab*elab + a*elab + b)*signor; 
 
  154           G4double signor2 = (ec - elab - cc) *3.15/ (0.7*cc);
 
  155           sig /= (1. + 
G4Exp(signor2));
 
  171       static const G4double flow = 1.e-18;
 
  172       static const G4double spill= 1.e+18;
 
  177         if (xnulam >= flow) { 
 
  178           if(1 == idx) { etest = std::sqrt(xnulam) + 7.; }
 
  179           else         { etest = 1.2 *std::sqrt(xnulam); }
 
  183       sig = (lambda*elab + mu + nu/elab)*signor;
 
  184       if (xnulam >= flow && elab >= etest) {
 
  186         geom = 1.23*resA13 + 
paramK[idx][10] + 4.573/geom;
 
  187         geom = 31.416 * geom * geom;
 
static G4Pow * GetInstance()
 
std::vector< ExP01TrackerHit * > a
 
static G4double ComputePowerParameter(G4int resA, G4int idx)
 
double A(double temperature)
 
static G4double ComputeCrossSection(G4double K, G4double cb, G4double resA13, G4double amu1, G4int idx, G4int Z, G4int A, G4int resA)
 
G4double G4Exp(G4double initial_x)
Exponential Function double precision. 
 
T max(const T t1, const T t2)
brief Return the largest of the two arguments 
 
T min(const T t1, const T t2)
brief Return the smallest of the two arguments 
 
G4double powZ(G4int Z, G4double y) const 
 
static const G4double paramK[6][11]