Geant4
10.01.p02
|
#include <MCTruthManager.hh>
Public Member Functions | |
void | NewEvent () |
HepMC::GenEvent * | GetCurrentEvent () const |
void | PrintEvent () |
void | AddParticle (G4LorentzVector &, G4LorentzVector &, G4LorentzVector &, G4int, G4int, G4int, G4bool) |
void | SetConfig (MCTruthConfig *c) |
MCTruthConfig * | GetConfig () const |
Static Public Member Functions | |
static MCTruthManager * | GetInstance () |
Protected Member Functions | |
MCTruthManager () | |
virtual | ~MCTruthManager () |
Private Member Functions | |
void | printTree (HepMC::GenParticle *, G4String) |
Private Attributes | |
HepMC::GenEvent * | event |
std::vector< G4int > | primarybarcodes |
std::map< G4int, G4int > | segmentations |
MCTruthConfig * | config |
Definition at line 52 of file MCTruthManager.hh.
|
protected |
Definition at line 45 of file MCTruthManager.cc.
Referenced by GetInstance().
|
protectedvirtual |
Definition at line 48 of file MCTruthManager.cc.
void MCTruthManager::AddParticle | ( | G4LorentzVector & | momentum, |
G4LorentzVector & | prodpos, | ||
G4LorentzVector & | endpos, | ||
G4int | pdg_id, | ||
G4int | partID, | ||
G4int | motherID, | ||
G4bool | directParent | ||
) |
Definition at line 68 of file MCTruthManager.cc.
References G4cerr, G4endl, primarybarcodes, and segmentations.
|
inline |
Definition at line 67 of file MCTruthManager.hh.
References config.
Referenced by MCTruthTrackingAction::trackToBeStored().
|
inline |
Definition at line 60 of file MCTruthManager.hh.
References event.
|
static |
Definition at line 51 of file MCTruthManager.cc.
References instance, and MCTruthManager().
Referenced by MCTruthEventAction::BeginOfEventAction(), MCTruthEventAction::EndOfEventAction(), main(), MCTruthTrackingAction::PostUserTrackingAction(), and MCTruthTrackingAction::trackToBeStored().
void MCTruthManager::NewEvent | ( | ) |
Definition at line 60 of file MCTruthManager.cc.
References event.
Referenced by MCTruthEventAction::BeginOfEventAction().
void MCTruthManager::PrintEvent | ( | ) |
Definition at line 249 of file MCTruthManager.cc.
References event, primarybarcodes, and printTree().
Referenced by MCTruthEventAction::EndOfEventAction().
|
private |
Definition at line 262 of file MCTruthManager.cc.
References G4cout, and G4endl.
Referenced by PrintEvent().
|
inline |
Definition at line 66 of file MCTruthManager.hh.
Referenced by main().
|
private |
Definition at line 91 of file MCTruthManager.hh.
Referenced by GetConfig().
|
private |
Definition at line 77 of file MCTruthManager.hh.
Referenced by GetCurrentEvent(), NewEvent(), and PrintEvent().
|
private |
Definition at line 81 of file MCTruthManager.hh.
Referenced by AddParticle(), and PrintEvent().
Definition at line 87 of file MCTruthManager.hh.
Referenced by AddParticle().