BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
BgsGenocide Class Reference

#include <BgsGenocide.hh>

+ Inheritance diagram for BgsGenocide:

Public Member Functions

 BgsGenocide (const G4String &name="BgsGenocide", G4ProcessType type=fUserDefined)
 
virtual ~BgsGenocide ()
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChange * PostStepDoIt (const G4Track &track, const G4Step &step)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety, G4GPILSelection *selection)
 
virtual G4VParticleChange * AlongStepDoIt (const G4Track &track, const G4Step &step)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *force)
 
virtual G4VParticleChange * AtRestDoIt (const G4Track &track, const G4Step &step)
 

Detailed Description

Definition at line 31 of file BgsGenocide.hh.

Constructor & Destructor Documentation

◆ BgsGenocide()

BgsGenocide::BgsGenocide ( const G4String &  name = "BgsGenocide",
G4ProcessType  type = fUserDefined 
)

Definition at line 7 of file BgsGenocide.cc.

8 : G4VProcess( name, type )
9{;}

◆ ~BgsGenocide()

BgsGenocide::~BgsGenocide ( )
virtual

Definition at line 15 of file BgsGenocide.cc.

15{;}

Member Function Documentation

◆ AlongStepDoIt()

virtual G4VParticleChange * BgsGenocide::AlongStepDoIt ( const G4Track &  track,
const G4Step &  step 
)
inlinevirtual

Definition at line 56 of file BgsGenocide.hh.

58 { return 0; }

◆ AlongStepGetPhysicalInteractionLength()

virtual G4double BgsGenocide::AlongStepGetPhysicalInteractionLength ( const G4Track &  ,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double &  currentSafety,
G4GPILSelection *  selection 
)
inlinevirtual

Definition at line 49 of file BgsGenocide.hh.

54 { return -1.0; }

◆ AtRestDoIt()

virtual G4VParticleChange * BgsGenocide::AtRestDoIt ( const G4Track &  track,
const G4Step &  step 
)
inlinevirtual

Definition at line 66 of file BgsGenocide.hh.

67 { return 0; }

◆ AtRestGetPhysicalInteractionLength()

virtual G4double BgsGenocide::AtRestGetPhysicalInteractionLength ( const G4Track &  track,
G4ForceCondition *  force 
)
inlinevirtual

Definition at line 61 of file BgsGenocide.hh.

63 { return -1.0; }

◆ PostStepDoIt()

G4VParticleChange * BgsGenocide::PostStepDoIt ( const G4Track &  track,
const G4Step &  step 
)
virtual

Definition at line 34 of file BgsGenocide.cc.

36{
37 pParticleChange->Initialize(track);
38
39 pParticleChange->ProposeTrackStatus( fStopAndKill );
40 pParticleChange->SetNumberOfSecondaries( 0 );
41 pParticleChange->ProposeLocalEnergyDeposit( 0 );
42 ClearNumberOfInteractionLengthLeft();
43
44 return pParticleChange;
45}

◆ PostStepGetPhysicalInteractionLength()

G4double BgsGenocide::PostStepGetPhysicalInteractionLength ( const G4Track &  track,
G4double  previousStepSize,
G4ForceCondition *  condition 
)
virtual

Reimplemented in BgsGentleGenocide.

Definition at line 21 of file BgsGenocide.cc.

25{
26 *condition = NotForced;
27 return 0;
28}

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