#include <MCTruthTrackingAction.hh>
Definition at line 47 of file MCTruthTrackingAction.hh.
◆ MCTruthTrackingAction()
MCTruthTrackingAction::MCTruthTrackingAction |
( |
| ) |
|
◆ ~MCTruthTrackingAction()
MCTruthTrackingAction::~MCTruthTrackingAction |
( |
| ) |
|
|
virtual |
◆ PostUserTrackingAction()
void MCTruthTrackingAction::PostUserTrackingAction |
( |
const G4Track * |
track | ) |
|
|
virtual |
Reimplemented from G4UserTrackingAction.
Definition at line 66 of file MCTruthTrackingAction.cc.
70 track->GetVertexPosition());
81 AddParticle(
fmom, prodpos, endpos,
82 track->GetDefinition()->GetPDGEncoding(),
95 G4Track* tr = (*childrens)[
index] ;
96 tr->SetParentID(
track->GetParentID() );
G4TrackVector * GimmeSecondaries() const
G4TrackingManager * fpTrackingManager
static MCTruthManager * GetInstance()
G4bool trackToBeStored(const G4Track *)
◆ PreUserTrackingAction()
void MCTruthTrackingAction::PreUserTrackingAction |
( |
const G4Track * |
track | ) |
|
|
virtual |
Reimplemented from G4UserTrackingAction.
Definition at line 55 of file MCTruthTrackingAction.cc.
59 if(!
track->GetUserInformation())
G4TrackingManager * fpTrackingManager
void SetUserTrackInformation(G4VUserTrackInformation *aValue)
CLHEP::HepLorentzVector G4LorentzVector
◆ trackToBeStored()
G4bool MCTruthTrackingAction::trackToBeStored |
( |
const G4Track * |
track | ) |
|
|
private |
Definition at line 110 of file MCTruthTrackingAction.cc.
120 if(std::find( types.begin(), types.end(),
121 track->GetDefinition()->GetPDGEncoding())
122 != types.end())
return true;
static MCTruthManager * GetInstance()
MCTruthConfig * GetConfig() const
std::vector< G4int > & GetParticleTypes()
◆ fmom
The documentation for this class was generated from the following files: