50{
51 if( particleDef == nullptr )
52 particleDef = G4Electron::Definition();
54
55
56
57
58
59
60
61 G4cout << " ChangeLooperParameters called with particle type "
62 << particleDef->GetParticleName()
63 << " transport process: ";
64 if( transport != nullptr ) {
65 G4cout << transport->GetProcessName();
66 } else {
67 G4cout << " UNKNOWN -- it is neither G4Transportation nor G4CoupledTransportation";
68 }
69 G4cout << G4endl;
70
71 if( transport != nullptr ) {
74 G4cout << "-- Changed Threshold Warning Energy (for loopers) = "
76 }
79
80 G4cout << "-- Changed Threshold Important Energy (for loopers) = "
82 }
83
86
87 G4cout <<
"-- Changed number of Trials (for loopers) = " <<
fNumberOfTrials << G4endl;
88 }
89 }
90
91 if( transport == nullptr ) {
93 G4cerr << " Unknown transport process> Cannot change Warning Energy. " << G4endl;
95 G4cerr << " Unknown transport process> Cannot change 'Important' Energy. " << G4endl;
97 G4cerr << " Unknown transport process> Cannot change number of trials. " << G4endl;
98 }
99}
G4double fImportantEnergy