67 fRemainderLifeTime(-1.0),
75 G4cout <<
"G4Decay constructor " <<
" Name:" << processName <<
G4endl;
157 pathlength = ( rKineticEnergy + 1.0)* aCtau;
158 }
else if ( rKineticEnergy <
DBL_MIN ) {
162 G4cout <<
"G4Decay::GetMeanFreePath() !!particle stops!!";
201 G4bool isPreAssigned = (o_products != 0);
211 if ( (decaytable == 0) && !isExtDecayer &&!isPreAssigned ){
213 G4cout <<
"G4Decay::DoIt : decay table not defined for ";
218 "Decay table is not defined");
232 }
else if ( isExtDecayer ) {
239 if (decaychannel == 0 ){
242 " can not determine decay channel ");
248 G4cout <<
"G4Decay::DoIt : selected decay channel addr:" << decaychannel <<
G4endl;
269 if (ParentEnergy < ParentMass) {
271 G4cout <<
"G4Decay::DoIt : Total Energy is less than its mass" <<
G4endl;
273 G4cout <<
" Energy:" << ParentEnergy/
MeV <<
"[MeV]";
274 G4cout <<
" Mass:" << ParentMass/
MeV <<
"[MeV]";
279 "Total Energy is less than its mass");
280 ParentEnergy = ParentMass;
294 if (isPreAssigned) products->
Boost( ParentEnergy, ParentDirection);
297 if (!isExtDecayer) products->
Boost( ParentEnergy, ParentDirection);
308 G4cout <<
"G4Decay::DoIt : Decay vertex :";
309 G4cout <<
" Time: " << finalGlobalTime/
ns <<
"[ns]";
314 G4cout <<
"G4Decay::DoIt : decay products in Lab. Frame" <<
G4endl;
321 for (index=0; index < numberOfSecondaries; index++)
386 if ( previousStepSize > 0.0){
399 G4cout <<
"G4Decay::PostStepGetPhysicalInteractionLength " <<
G4endl;
G4double condition(const G4ErrorSymMatrix &m)
virtual G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *condition)
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)
G4double GetLocalTime() const
G4double GetProperTime() const
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
G4double GetTotalEnergy() const
const G4DynamicParticle * GetDynamicParticle() const
const G4double HighestValue
virtual G4bool IsApplicable(const G4ParticleDefinition &)
virtual G4DecayProducts * ImportDecayProducts(const G4Track &aTrack)=0
G4bool GetPDGStable() const
const G4String & GetName() const
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
void DumpInfo(G4int mode=0) const
const G4DecayProducts * GetPreAssignedDecayProducts() const
G4double theNumberOfInteractionLengthLeft
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4ParticleDefinition * GetDefinition() const
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
G4VExtDecayer * pExtDecayer
void Boost(G4double totalEnergy, const G4ThreeVector &momentumDirection)
virtual void ResetNumberOfInteractionLengthLeft()
virtual void StartTracking(G4Track *)
void ClearNumberOfInteractionLengthLeft()
const G4String & GetParticleName() const
virtual G4VParticleChange * DecayIt(const G4Track &aTrack, const G4Step &aStep)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
G4double fRemainderLifeTime
G4double GetTotalMomentum() const
G4DecayTable * GetDecayTable() const
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual void Initialize(const G4Track &)
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(G4int value)
void ProposeLocalTime(G4double t)
const G4ThreeVector & GetMomentumDirection() const
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)
G4double currentInteractionLength
void SetProcessSubType(G4int)
G4Decay(const G4String &processName="Decay")
G4double GetGlobalTime() const
void AddSecondary(G4Track *aSecondary)
const G4TouchableHandle & GetTouchableHandle() const
G4Material * GetMaterial() const
G4VDecayChannel * SelectADecayChannel()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const double perMillion
G4int GetVerboseLevel() const
G4double GetPDGMass() const
void SetNumberOfSecondaries(G4int totSecondaries)
G4DynamicParticle * PopProducts()
G4VParticleChange * pParticleChange
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
virtual void DaughterPolarization(const G4Track &aTrack, G4DecayProducts *products)
G4double GetPDGLifeTime() const
virtual G4DecayProducts * DecayIt(G4double parentMass=-1.0)=0
void SubtractNumberOfInteractionLengthLeft(G4double previousStepSize)
void SetExtDecayer(G4VExtDecayer *)
void ProposeTrackStatus(G4TrackStatus status)
G4double GetPreAssignedDecayProperTime() const
virtual void EndTracking()
void SetGoodForTrackingFlag(G4bool value=true)
G4ParticleChangeForDecay fParticleChangeForDecay
G4int GetVerboseLevel() const