Geant4
10.03
|
#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 * | fEvent |
std::vector< G4int > | fPrimarybarcodes |
std::map< G4int, G4int > | fSegmentations |
MCTruthConfig * | fConfig |
Definition at line 52 of file MCTruthManager.hh.
|
protected |
Definition at line 51 of file MCTruthManager.cc.
Referenced by GetInstance().
|
protectedvirtual |
Definition at line 56 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 82 of file MCTruthManager.cc.
References fEvent, fPrimarybarcodes, fSegmentations, G4cerr, and G4endl.
|
inline |
Definition at line 67 of file MCTruthManager.hh.
References fConfig.
Referenced by MCTruthTrackingAction::TrackToBeStored().
|
inline |
Definition at line 60 of file MCTruthManager.hh.
References fEvent.
|
static |
Definition at line 61 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 72 of file MCTruthManager.cc.
References fEvent.
Referenced by MCTruthEventAction::BeginOfEventAction().
void MCTruthManager::PrintEvent | ( | ) |
Definition at line 265 of file MCTruthManager.cc.
References fEvent, fPrimarybarcodes, and PrintTree().
Referenced by MCTruthEventAction::EndOfEventAction().
|
private |
Definition at line 280 of file MCTruthManager.cc.
References G4cout, and G4endl.
Referenced by PrintEvent().
|
inline |
Definition at line 66 of file MCTruthManager.hh.
References fConfig.
Referenced by main().
|
private |
Definition at line 91 of file MCTruthManager.hh.
Referenced by GetConfig(), and SetConfig().
|
private |
Definition at line 77 of file MCTruthManager.hh.
Referenced by AddParticle(), 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().