46 G4int je2 = NENERGY - 1;
48 G4int midBin = (je1 + je2)/2;
49 if (ek < elab[midBin])
53 }
while (je2 - je1 > 1);
56 G4double delab = elab[je2] - elab[je1];
62 G4int ke2 = NANGLE - 1;
63 G4double dsig = sig[je2][0] - sig[je1][0];
65 G4double b = sig[je1][0] - rc*elab[je1];
69 if (verboseLevel > 1)
G4cout <<
"sample=" << sample <<
G4endl
70 << ek <<
" " << ke1 <<
" " << ke2 <<
" "
71 << sigint1 <<
" " << sigint2 <<
G4endl;
74 G4int midBin = (ke1 + ke2)/2;
75 dsig = sig[je2][midBin] - sig[je1][midBin];
77 b = sig[je1][midBin] - rc*elab[je1];
79 if (sample < sigint) {
87 if (verboseLevel > 1)
G4cout << ke1 <<
" " << ke2 <<
" "
88 << sigint1 <<
" " << sigint2 <<
G4endl;
89 }
while (ke2 - ke1 > 1);
103 dsig = sigint2 - sigint1;
105 b = ke1 - rc*sigint1;
107 G4double theta = (0.5 + kint)*pi/180.;
113 if (verboseLevel > 1) {
114 G4cout <<
" energy bin " << je1 <<
" energy=" << elab[je1] <<
G4endl;
115 G4cout <<
" angle bin " << kint <<
" angle=" << theta/degree <<
G4endl;
G4DLLIMPORT std::ostream G4cout
virtual G4double CosTheta(G4double s, G4double m1, G4double m2) const
virtual G4double Phi() const