#include <Components/MCTruthManager.h>
Collaboration diagram for MCTruthManager:
Public Types | |
| DummyBarCode = 20000000 | |
| SplitBarCode = 100000000 | |
| DummyPDGID = -99000000 | |
| enum | MCTruthBarCode { DummyBarCode = 20000000, SplitBarCode = 100000000 } |
| enum | MCTruthPDGID { DummyPDGID = -99000000 } |
| PDG Id for dummy intermediate particle. More... | |
Public Member Functions | |
| virtual | ~MCTruthManager () |
| void | NewEvent () |
| HepMC::GenEvent * | GetCurrentEvent () |
| void | PrintEvent () |
| void | AddParticle (HepMC::FourVector &fourMom, HepMC::FourVector &prodPos, HepMC::FourVector &endPos, int pdg, int trID, int parentID, bool directParent, int creatorID, LHCb::MCParticle *motherMCP, bool oscillated=false) |
| const std::vector< int > & | GetPrimaryBarcodes () |
| int | GetCreatorID (int barcode) |
| const std::vector< int > & | GetOscillatedBarcodes () |
| LHCb::MCParticle * | GetMotherMCParticle (const int barcode) |
| returns the pre-filled MCParticle mother of the G4 particle | |
Static Public Member Functions | |
| static MCTruthManager * | GetInstance () |
Protected Member Functions | |
| MCTruthManager () | |
Private Member Functions | |
| void | printTree (HepMC::GenParticle *, std::string) |
Private Attributes | |
| HepMC::GenEvent * | event |
| std::vector< int > | primarybarcodes |
| std::map< int, int > | creators |
| std::vector< int > | oscillated |
| std::map< int, int > | segmentations |
| std::map< int, LHCb::MCParticle * > | m_mcparticles |
| Map containing links between G4 and pre-filled MCParticles. | |
Definition at line 20 of file MCTruthManager.h.
Definition at line 25 of file MCTruthManager.h.
00025 { 00026 DummyBarCode = 20000000, 00027 SplitBarCode = 100000000 00028 };
PDG Id for dummy intermediate particle.
Definition at line 31 of file MCTruthManager.h.
00031 { 00032 DummyPDGID = -99000000 00033 };
| virtual MCTruthManager::~MCTruthManager | ( | ) | [virtual] |
| MCTruthManager::MCTruthManager | ( | ) | [protected] |
| static MCTruthManager* MCTruthManager::GetInstance | ( | ) | [static] |
| void MCTruthManager::NewEvent | ( | ) |
| HepMC::GenEvent* MCTruthManager::GetCurrentEvent | ( | ) | [inline] |
| void MCTruthManager::PrintEvent | ( | ) |
| void MCTruthManager::AddParticle | ( | HepMC::FourVector & | fourMom, | |
| HepMC::FourVector & | prodPos, | |||
| HepMC::FourVector & | endPos, | |||
| int | pdg, | |||
| int | trID, | |||
| int | parentID, | |||
| bool | directParent, | |||
| int | creatorID, | |||
| LHCb::MCParticle * | motherMCP, | |||
| bool | oscillated = false | |||
| ) |
| const std::vector<int>& MCTruthManager::GetPrimaryBarcodes | ( | ) |
| int MCTruthManager::GetCreatorID | ( | int | barcode | ) |
| const std::vector<int>& MCTruthManager::GetOscillatedBarcodes | ( | ) |
| LHCb::MCParticle* MCTruthManager::GetMotherMCParticle | ( | const int | barcode | ) |
returns the pre-filled MCParticle mother of the G4 particle
| void MCTruthManager::printTree | ( | HepMC::GenParticle * | , | |
| std::string | ||||
| ) | [private] |
HepMC::GenEvent* MCTruthManager::event [private] |
Definition at line 66 of file MCTruthManager.h.
std::vector<int> MCTruthManager::primarybarcodes [private] |
Definition at line 69 of file MCTruthManager.h.
std::map<int,int> MCTruthManager::creators [private] |
Definition at line 72 of file MCTruthManager.h.
std::vector<int> MCTruthManager::oscillated [private] |
Definition at line 75 of file MCTruthManager.h.
std::map<int,int> MCTruthManager::segmentations [private] |
Definition at line 80 of file MCTruthManager.h.
std::map< int , LHCb::MCParticle * > MCTruthManager::m_mcparticles [private] |
Map containing links between G4 and pre-filled MCParticles.
Definition at line 83 of file MCTruthManager.h.
1.4.7