50 generatorInput(
singleFixed), verboseLevel(0), n_particle(1),
51 particleName(
"pi-"), particleEnergy(100*
GeV), particlePosition(0.,0.,0.),
100 G4double randomX = std::sin(theta)*std::cos(phi);
101 G4double randomY = std::sin(theta)*std::sin(phi);
108 << theta/
deg <<
" degree; Phi " << phi/
deg <<
" degree" <<
G4endl;
123 G4cout <<
" scanEtaStep " << scanEtaStep <<
" # of Steps " <<
etaSteps
125 G4cout <<
" scanPhiStep " << scanPhiStep <<
" # of Steps " <<
phiSteps
199 G4cerr <<
"CCalPrimaryGeneratorAction::SetMinimumEnergy: value " << p/
GeV
200 <<
"GeV is out of bounds, it will not be used" <<
G4endl;
206 G4cout <<
" CCalPrimaryGeneratorAction: setting min. value of energy to "
217 G4cerr <<
"CCalPrimaryGeneratorAction::SetMaximumEnergy: value " << p/
GeV
218 <<
"GeV is out of bounds, it will not be used" <<
G4endl;
224 G4cout <<
" CCalPrimaryGeneratorAction: setting max. value of energy to "
234 if (std::fabs(p)>2.*
pi) {
235 G4cerr <<
"CCalPrimaryGeneratorAction::SetMinimumPhi: setting value quite "
237 G4cerr <<
" Should be given in radians - Please check" <<
G4endl;
242 G4cout <<
" CCalPrimaryGeneratorAction: setting min. value of phi to "
252 if (std::fabs(p)>2.*
pi) {
253 G4cerr <<
"CCalPrimaryGeneratorAction::SetMaximumPhi: setting value quite "
255 G4cerr <<
" Should be given in radians - Please check" <<
G4endl;
260 G4cout <<
" CCalPrimaryGeneratorAction: setting max. value of phi to "
271 G4cerr <<
"CCalPrimaryGeneratorAction::SetStepsPhi: value " << val
272 <<
" is out of bounds, it will not be used" <<
G4endl;
278 G4cout <<
" CCalPrimaryGeneratorAction: setting no. of steps in phi to "
291 G4cout <<
" CCalPrimaryGeneratorAction: setting min. value of eta to "
303 G4cout <<
" CCalPrimaryGeneratorAction: setting max. value of eta to "
313 G4cerr<<
"CCalPrimaryGeneratorAction::SetStepsEta: value " << val <<
" is out of bounds, it will not be used"<<
G4endl;
319 G4cout <<
" CCalPrimaryGeneratorAction: setting no. of steps in eta to "
349 <<
"**********************************************************************" <<
G4endl
351 <<
"* CCalPrimaryGeneratorAction DEFAULT Random Energy/Direction setting:*" <<
G4endl
360 <<
"**********************************************************************" <<
G4endl;
363 <<
"**********************************************************************" <<
G4endl
365 <<
"* CCalPrimaryGeneratorAction DEFAULT Scan Direction settings : *" <<
G4endl
373 <<
"**********************************************************************" <<
G4endl;
376 <<
"*******************************************************************" <<
G4endl
378 <<
"* CCalPrimaryGeneratorAction: Current settings : *" <<
G4endl
387 <<
"*******************************************************************" <<
G4endl;