#include <G4AngularDistributionNP.hh>
Definition at line 40 of file G4AngularDistributionNP.hh.
G4AngularDistributionNP::G4AngularDistributionNP |
( |
| ) |
|
|
inline |
virtual G4AngularDistributionNP::~G4AngularDistributionNP |
( |
| ) |
|
|
inlinevirtual |
Implements G4VAngularDistribution.
Definition at line 37 of file G4AngularDistributionNP.cc.
49 G4int midBin = (je1 + je2)/2;
50 if (ek < elab[midBin])
54 }
while ( (je2 - je1) > 1 && --iterationsLeft > 0 );
55 if ( iterationsLeft <= 0 ) {
57 "Problem with energy bin (elab) data");
62 G4double delab = elab[je2] - elab[je1];
68 G4int ke2 = NANGLE - 1;
69 G4double dsig = sig[je2][0] - sig[je1][0];
75 if (verboseLevel > 1)
G4cout <<
"sample=" << sample <<
G4endl
76 << ek <<
" " << ke1 <<
" " << ke2 <<
" "
77 << sigint1 <<
" " << sigint2 <<
G4endl;
78 iterationsLeft= 2*NANGLE +1;
80 G4int midBin = (ke1 + ke2)/2;
81 dsig = sig[je2][midBin] - sig[je1][midBin];
83 b = sig[je1][midBin] - rc*elab[je1];
85 if (sample < sigint) {
93 if (verboseLevel > 1)
G4cout << ke1 <<
" " << ke2 <<
" "
94 << sigint1 <<
" " << sigint2 <<
G4endl;
95 }
while ( (ke2 - ke1) > 1 && --iterationsLeft > 0);
96 if ( iterationsLeft <= 0 ) {
98 "Problem with angular distribution (sig) data");
113 dsig = sigint2 - sigint1;
115 b = ke1 - rc*sigint1;
123 if (verboseLevel > 1) {
124 G4cout <<
" energy bin " << je1 <<
" energy=" << elab[je1] <<
G4endl;
G4GLOB_DLL std::ostream G4cout
static constexpr double degree
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4int NENERGY
static constexpr double GeV
static constexpr double pi
G4double G4AngularDistributionNP::Phi |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: