56 G4cout <<
"G4UnknownDecay constructor " <<
" Name:" << processName <<
G4endl;
97 G4bool isPreAssigned = (o_products !=
nullptr);
100 if (!isPreAssigned ){
107 return &fParticleChangeForDecay ;
116 if (ParentEnergy < ParentMass) {
117 ParentEnergy = ParentMass;
120 G4cout <<
"G4UnknownDecay::DoIt : Total Energy is less than its mass" <<
G4endl;
122 G4cout <<
" Energy:" << ParentEnergy/MeV <<
"[MeV]";
123 G4cout <<
" Mass:" << ParentMass/MeV <<
"[MeV]";
135 products->
Boost( ParentEnergy, ParentDirection);
143 G4cout <<
"G4UnknownDecay::DoIt : Decay vertex :";
144 G4cout <<
" Time: " << finalGlobalTime/ns <<
"[ns]";
149 G4cout <<
"G4UnknownDecay::DoIt : decay products in Lab. Frame" <<
G4endl;
156 for (index=0; index < numberOfSecondaries; index++){
178 return &fParticleChangeForDecay ;
184 <<
": Decay of 'unknown' particles. \n"
185 <<
"kinematics of daughters are dertermined "
186 <<
"by PreAssignedDecayProducts. \n";
G4GLOB_DLL std::ostream G4cout
G4DynamicParticle * PopProducts()
void Boost(G4double totalEnergy, const G4ThreeVector &momentumDirection)
const G4ThreeVector & GetMomentumDirection() const
const G4DecayProducts * GetPreAssignedDecayProducts() const
G4ParticleDefinition * GetDefinition() const
G4double GetTotalEnergy() const
G4double GetPreAssignedDecayProperTime() const
void Initialize(const G4Track &) final
void ProposeGlobalTime(G4double t)
const G4String & GetParticleName() const
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetGlobalTime() const
const G4DynamicParticle * GetDynamicParticle() const
const G4TouchableHandle & GetTouchableHandle() const
void SetGoodForTrackingFlag(G4bool value=true)
virtual void BuildPhysicsTable(const G4ParticleDefinition &) override
G4UnknownDecay(const G4String &processName="UnknownDecay")
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition) override
virtual G4bool IsApplicable(const G4ParticleDefinition &) override
virtual ~G4UnknownDecay()
virtual G4VParticleChange * DecayIt(const G4Track &aTrack, const G4Step &aStep)
virtual void ProcessDescription(std::ostream &outFile) const override
void ProposeTrackStatus(G4TrackStatus status)
void AddSecondary(G4Track *aSecondary)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void SetNumberOfSecondaries(G4int totSecondaries)
G4int GetVerboseLevel() const
void ClearNumberOfInteractionLengthLeft()
void SetProcessSubType(G4int)
G4VParticleChange * pParticleChange
const G4String & GetProcessName() const