Belle II Software  release-08-01-10
G4LongLivedNeutralDecay Class Reference

This class is a decay process. More...

#include <G4LongLivedNeutralDecay.h>

Inheritance diagram for G4LongLivedNeutralDecay:
Collaboration diagram for G4LongLivedNeutralDecay:

Public Member Functions

 G4LongLivedNeutralDecay (const G4String &processName="LongLivedNeutralDecay")
 Constructor. More...
 
virtual ~G4LongLivedNeutralDecay ()
 Destructor.
 
virtual G4VParticleChange * PostStepDoIt (const G4Track &aTrack, const G4Step &aStep) override
 G4VProcess::PostStepDoIt() implemention. More...
 
virtual G4VParticleChange * AtRestDoIt (const G4Track &aTrack, const G4Step &aStep) override
 G4VProess::AtRestDoIt() implemention for decay at rest. More...
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &) override
 In G4Decay, thePhysicsTable stores values of beta * std::sqrt( 1 - beta*beta) as a function of normalized kinetic enregy (=Ekin/mass), becasuse this table is universal for all particle types.
 
virtual G4bool IsApplicable (const G4ParticleDefinition &) override
 returns "true" if the decay process can be applied to the particle type.
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition) override
 G4VProcess::AtRestGetPhysicalInteractionLength() implemention. More...
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
 G4VProcess::PostStepGetPhysicalInteractionLength() implemention. More...
 
virtual void StartTracking (G4Track *) override
 inform Start of tracking for each track to the physics process
 
virtual void EndTracking () override
 inform End of tracking for each track to the physics process
 
G4double GetRemainderLifeTime () const
 Get Remainder of life time at rest decay. More...
 

Protected Member Functions

virtual G4VParticleChange * DecayIt (const G4Track &aTrack, const G4Step &aStep)
 G4Decay::DecayIt() implemention. More...
 
virtual G4double GetMeanFreePath (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition) override
 GetMeanFreePath returns ctau*beta*gamma for decay in flight.
 
virtual G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *condition) override
 GetMeanLifeTime returns ctau for decay at rest.
 

Protected Attributes

G4int verboseLevel
 controle flag for output message 0: Silent 1: Warning message 2: More
 
const G4double HighestValue
 Remainder of life time at rest.
 
G4double fRemainderLifeTime
 ParticleChange for decay process.
 
G4ParticleChangeForDecay fParticleChangeForDecay
 ParticleChange for decay process.
 

Private Member Functions

 G4LongLivedNeutralDecay (const G4LongLivedNeutralDecay &right)
 Copy Constructor. More...
 
G4LongLivedNeutralDecayoperator= (const G4LongLivedNeutralDecay &right)
 Assignment Operator. More...
 

Detailed Description

This class is a decay process.

Definition at line 30 of file G4LongLivedNeutralDecay.h.

Constructor & Destructor Documentation

◆ G4LongLivedNeutralDecay() [1/2]

G4LongLivedNeutralDecay ( const G4String &  processName = "LongLivedNeutralDecay")

Constructor.

Parameters
processNamedecay process name

Definition at line 28 of file G4LongLivedNeutralDecay.cc.

29  : G4VRestDiscreteProcess(processName, fDecay),
30  verboseLevel(1),
31  HighestValue(20.0),
32  fRemainderLifeTime(-1.0)
33 
34 {
35  // set Process Sub Type
36  SetProcessSubType(static_cast<int>(DECAY));
37 
38 #ifdef G4VERBOSE
39  if (GetVerboseLevel() > 1) {
40  G4cout << "G4LongLivedNeutralDecay constructor " << " Name:" << processName << G4endl;
41  }
42 #endif
43 
44  pParticleChange = &fParticleChangeForDecay;
45 }
G4ParticleChangeForDecay fParticleChangeForDecay
ParticleChange for decay process.
G4double fRemainderLifeTime
ParticleChange for decay process.
const G4double HighestValue
Remainder of life time at rest.
G4int verboseLevel
controle flag for output message 0: Silent 1: Warning message 2: More

◆ G4LongLivedNeutralDecay() [2/2]

Copy Constructor.

Parameters
rightcopy reference

Member Function Documentation

◆ AtRestGetPhysicalInteractionLength()

G4double AtRestGetPhysicalInteractionLength ( const G4Track &  track,
G4ForceCondition *  condition 
)
overridevirtual

G4VProcess::AtRestGetPhysicalInteractionLength() implemention.

Parameters
track
conditionNo operation in AtRestDoIt.

Definition at line 263 of file G4LongLivedNeutralDecay.cc.

◆ DecayIt()

G4VParticleChange * DecayIt ( const G4Track &  aTrack,
const G4Step &  aStep 
)
protectedvirtual

G4Decay::DecayIt() implemention.

Parameters
aTrack
aStepThe DecayIt() method returns by pointer a particle-change object, which has information of daughter particles.

Definition at line 88 of file G4LongLivedNeutralDecay.cc.

◆ operator=()

G4LongLivedNeutralDecay& operator= ( const G4LongLivedNeutralDecay right)
private

Assignment Operator.

Parameters
rightassign reference

◆ PostStepDoIt()

G4VParticleChange * PostStepDoIt ( const G4Track &  aTrack,
const G4Step &  aStep 
)
overridevirtual

G4VProcess::PostStepDoIt() implemention.

Parameters
aTrack
aStepfor decay in flight

Definition at line 283 of file G4LongLivedNeutralDecay.cc.

◆ PostStepGetPhysicalInteractionLength()

G4double PostStepGetPhysicalInteractionLength ( const G4Track &  track,
G4double  previousStepSize,
G4ForceCondition *  condition 
)
overridevirtual

G4VProcess::PostStepGetPhysicalInteractionLength() implemention.

Parameters
trackThis argument of base function is ignored
previousStepSizeThis argument of base function is ignored
conditionForces the PostStepDoIt action to be called, so that it can do the relocation if it is needed, but does not limit the step.

Definition at line 232 of file G4LongLivedNeutralDecay.cc.


The documentation for this class was generated from the following files: