107 G4cout <<
" -----------------------------------------------" <<
G4endl;
108 G4cout <<
" G4ParticleChangeForDecay proposes: " <<
G4endl;
109 G4cout <<
" Proposed local Time (ns): " << std::setw(20)
111 G4cout <<
" Initial local Time (ns) : " << std::setw(20)
113 G4cout <<
" Initial global Time (ns): " << std::setw(20)
115 G4cout <<
" Current global Time (ns): " << std::setw(20)
125 if(theTimeChange < theLocalTime0)
132 G4cout <<
" G4ParticleChangeForDecay::CheckIt : ";
133 G4cout <<
"the local time goes back !!"
134 <<
" Difference: " << (theTimeChange - theLocalTime0) /
ns
136 G4cout <<
"initial local time " << theLocalTime0 /
ns <<
"[ns] "
137 <<
"initial global time " << theGlobalTime0 /
ns <<
"[ns] "
141 theTimeChange = theLocalTime0;
152 G4Exception(
"G4ParticleChangeForDecay::CheckIt()",
"TRACK005",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetPolarization() const
void Initialize(const G4Track &) final
G4Step * UpdateStepForPostStep(G4Step *Step) final
G4double GetGlobalTime(G4double timeDelay=0.0) const
G4bool CheckIt(const G4Track &) final
void DumpInfo() const final
G4Step * UpdateStepForAtRest(G4Step *Step) final
G4ParticleChangeForDecay()
void SetLocalTime(const G4double aValue)
void SetWeight(G4double aValue)
void AddProperTime(const G4double aValue)
void SetGlobalTime(const G4double aValue)
void SetPolarization(const G4ThreeVector &aValue)
G4StepPoint * GetPostStepPoint() const
G4double GetGlobalTime() const
G4double GetLocalTime() const
const G4DynamicParticle * GetDynamicParticle() const
virtual G4bool CheckIt(const G4Track &)
virtual void Initialize(const G4Track &)
static const G4int maxError
virtual void DumpInfo() const
G4bool isParentWeightProposed
const G4Track * theCurrentTrack
G4Step * UpdateStepInfo(G4Step *Step)