136 G4String vname = (
nullptr == vol) ?
"" : vol->GetName();
138 G4cout <<
" -----------------------------------------------" <<
G4endl;
147 G4cout <<
" Kinetic energy (MeV): "
149 G4cout <<
" Position (mm) : "
156 G4cout <<
" -----------------------------------------------" <<
G4endl;
158 G4cout <<
" # of secondaries : " << std::setw(20)
161 G4cout <<
" -----------------------------------------------" <<
G4endl;
163 G4cout <<
" Energy Deposit (MeV): " << std::setw(20)
166 G4cout <<
" NIEL Energy Deposit (MeV): " << std::setw(20)
169 G4cout <<
" Track Status : " << std::setw(20);
176 G4cout <<
" StopButAlive";
184 G4cout <<
" KillTrackAndSecondaries";
192 G4cout <<
" PostponeToNextEvent";
195 G4cout <<
" TruePathLength (mm) : " << std::setw(20)
197 G4cout <<
" Stepping Control : " << std::setw(20)
211 G4cout <<
" -----------------------------------------------" <<
G4endl;
212 G4cout <<
" G4VParticleChange warnings closed " <<
G4endl;
213 G4cout <<
" -----------------------------------------------" <<
G4endl;
233 G4cout <<
" G4VParticleChange::CheckIt : ";
235 <<
" MeV is negative !!" <<
G4endl;
249 G4cout <<
" G4VParticleChange::CheckIt : ";
251 <<
" mm is negative !!" <<
G4endl;
266 "Step length and/or energy deposit are illegal");
280 G4double accuracy = std::abs(dir.mag2() - 1.0);
289 G4cout <<
" G4VParticleChange::CheckSecondary : " <<
G4endl;
290 G4cout <<
" the momentum direction " << dir
291 <<
" is not unit vector !!" <<
G4endl;
292 G4cout <<
" Difference=" << accuracy
293 <<
" Ekin(MeV)=" << ekin/MeV
295 <<
" created by " << mname
311 G4cout <<
" G4VParticleChange::CheckSecondary : " <<
G4endl;
312 G4cout <<
" Ekin(MeV)=" << ekin <<
" is negative !! "
314 <<
" created by " << mname
331 G4cout <<
" G4VParticleChange::CheckSecondary : " <<
G4endl;
332 G4cout <<
" The global time of secondary goes back compared to the parent !!" <<
G4endl;
334 <<
" SecondaryTime(ns)= " << time/
ns
337 G4cout <<
" Ekin(MeV)=" << ekin
339 <<
" created by " << mname <<
G4endl;
353 G4Exception(
"G4VParticleChange::CheckSecondary()",
"TRACK001",
354 JustWarning,
"Secondary with illegal time and/or energy and/or momentum");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
@ fKillTrackAndSecondaries
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4String & GetParticleName() const
void SetWeight(G4double aValue)
G4double GetWeight() const
void SetStepLength(G4double value)
void AddNonIonizingEnergyDeposit(G4double value)
void AddTotalEnergyDeposit(G4double value)
G4StepPoint * GetPreStepPoint() const
void SetControlFlag(G4SteppingControl StepControlFlag)
void ClearFirstStepFlag()
G4StepPoint * GetPostStepPoint() const
const G4ParticleDefinition * GetParticleDefinition() const
G4VPhysicalVolume * GetVolume() const
void SetWeight(G4double aValue)
const G4String GetCreatorModelName() const
const G4ThreeVector & GetPosition() const
G4double GetGlobalTime() const
G4Material * GetMaterial() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
G4int GetParentID() const
void SetKineticEnergy(const G4double aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
void SetGlobalTime(const G4double aValue)
G4bool theFirstStepInVolume
G4int theNumberOfSecondaries
G4bool fSetSecondaryWeightByProcess
virtual G4bool CheckIt(const G4Track &)
static const G4double accuracyForException
G4double theTrueStepLength
G4double theLocalEnergyDeposit
G4TrackStatus theStatusChange
G4SteppingControl theSteppingControlFlag
static const G4double accuracyForWarning
G4bool IsParentWeightSetByProcess() const
virtual G4Step * UpdateStepForAlongStep(G4Step *Step)
G4bool theLastStepInVolume
virtual G4Step * UpdateStepForAtRest(G4Step *Step)
static const G4int maxError
G4double theNonIonizingEnergyDeposit
virtual G4Step * UpdateStepForPostStep(G4Step *Step)
G4double GetAccuracyForException() const
G4int theSizeOftheListOfSecondaries
void AddSecondary(G4Track *aSecondary)
void SetParentWeightByProcess(G4bool)
G4double GetAccuracyForWarning() const
std::vector< G4Track * > theListOfSecondaries
virtual void DumpInfo() const
G4bool isParentWeightProposed
const G4Track * theCurrentTrack
G4bool CheckSecondary(G4Track &)
G4Step * UpdateStepInfo(G4Step *Step)
G4double theParentGlobalTime