|
Class Reference for E1039 Core & Analysis Software
|
PHHepMCGenEventMap is collection of HEPMC events input into this simulation map of embedding ID -> PHHepMCGenEvent positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/generators/phhepmc/PHHepMCGenEventMap.h>
Inheritance diagram for PHHepMCGenEventMap:
Collaboration diagram for PHHepMCGenEventMap:Public Types | |
| typedef std::map< int, PHHepMCGenEvent * > | HepMCGenEventMap |
| typedef std::map< int, PHHepMCGenEvent * >::const_iterator | ConstIter |
| typedef std::map< int, PHHepMCGenEvent * >::iterator | Iter |
| typedef std::map< int, PHHepMCGenEvent * >::const_reverse_iterator | ConstReverseIter |
| typedef std::map< int, PHHepMCGenEvent * >::reverse_iterator | ReverseIter |
Public Member Functions | |
| PHHepMCGenEventMap () | |
| PHHepMCGenEventMap (const PHHepMCGenEventMap &eventmap) | |
| PHHepMCGenEventMap & | operator= (const PHHepMCGenEventMap &eventmap) |
| virtual | ~PHHepMCGenEventMap () |
| void | identify (std::ostream &os=std::cout) const |
| void | Reset () |
| Clear Event. More... | |
| int | isValid () const |
| isValid returns non zero if object contains vailid data More... | |
| PHHepMCGenEventMap * | Clone (const char *newname="") const |
| bool | empty () const |
| container service More... | |
| size_t | size () const |
| size_t | count (int idkey) const |
| void | clear () |
| const PHHepMCGenEvent * | get (int idkey) const |
| fetch event More... | |
| PHHepMCGenEvent * | get (int idkey) |
| PHHepMCGenEvent * | insert (const PHHepMCGenEvent *event) |
| insert a event of interest, e.g. jetty event from pythia More... | |
| PHHepMCGenEvent * | insert_active_event (const PHHepMCGenEvent *event=nullptr) |
| insert a event of interest, e.g. jetty event from pythia More... | |
| PHHepMCGenEvent * | insert_background_event (const PHHepMCGenEvent *event=nullptr) |
| insert a event of background, e.g. Au+Au collision background. First event has embedding ID = 0, which is usually the primary Au+Au collision in the case of HI embedding More... | |
| PHHepMCGenEvent * | insert_event (const int embedding_id, const PHHepMCGenEvent *event=nullptr) |
| insert a event with specific embedding ID More... | |
| size_t | erase (int idkey) |
| ConstIter | find (unsigned int idkey) const |
| find More... | |
| Iter | find (int idkey) |
| ConstIter | begin () const |
| iterator from lowest ID to highest, i.e. background to signal More... | |
| ConstIter | end () const |
| Iter | begin () |
| Iter | end () |
| ConstReverseIter | rbegin () const |
| iterator from lowest ID to highest, i.e. signal to background More... | |
| ConstReverseIter | rend () const |
| ReverseIter | rbegin () |
| ReverseIter | rend () |
| const HepMCGenEventMap & | get_map () const |
| for c++11 range-based for loop More... | |
| HepMCGenEventMap & | get_map () |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor More... | |
| virtual | ~PHObject () |
| dtor More... | |
| virtual PHObject * | clone () const |
| Virtual copy constructor. More... | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| void | SplitLevel (const int i) |
| int | SplitLevel () const |
| void | BufferSize (const int i) |
| int | BufferSize () const |
PHHepMCGenEventMap is collection of HEPMC events input into this simulation map of embedding ID -> PHHepMCGenEvent positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background.
Definition at line 14 of file PHHepMCGenEventMap.h.
| typedef std::map<int, PHHepMCGenEvent*>::const_iterator PHHepMCGenEventMap::ConstIter |
Definition at line 22 of file PHHepMCGenEventMap.h.
| typedef std::map<int, PHHepMCGenEvent*>::const_reverse_iterator PHHepMCGenEventMap::ConstReverseIter |
Definition at line 24 of file PHHepMCGenEventMap.h.
| typedef std::map<int, PHHepMCGenEvent*> PHHepMCGenEventMap::HepMCGenEventMap |
map of embedding ID -> PHHepMCGenEvent positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 21 of file PHHepMCGenEventMap.h.
| typedef std::map<int, PHHepMCGenEvent*>::iterator PHHepMCGenEventMap::Iter |
Definition at line 23 of file PHHepMCGenEventMap.h.
| typedef std::map<int, PHHepMCGenEvent*>::reverse_iterator PHHepMCGenEventMap::ReverseIter |
Definition at line 25 of file PHHepMCGenEventMap.h.
| PHHepMCGenEventMap::PHHepMCGenEventMap | ( | ) |
| PHHepMCGenEventMap::PHHepMCGenEventMap | ( | const PHHepMCGenEventMap & | eventmap | ) |
Definition at line 16 of file PHHepMCGenEventMap.cc.
References begin(), and end().
Here is the call graph for this function:
|
virtual |
Definition at line 41 of file PHHepMCGenEventMap.cc.
References Reset().
Here is the call graph for this function:
|
inline |
Definition at line 67 of file PHHepMCGenEventMap.h.
|
inline |
iterator from lowest ID to highest, i.e. background to signal
Definition at line 65 of file PHHepMCGenEventMap.h.
Referenced by operator=(), PHHepMCGenEventMap(), and TruthNodeMaker::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 41 of file PHHepMCGenEventMap.h.
References Reset().
Here is the call graph for this function:
|
inline |
Definition at line 36 of file PHHepMCGenEventMap.h.
References PHHepMCGenEventMap().
Here is the call graph for this function:
|
inline |
Definition at line 40 of file PHHepMCGenEventMap.h.
|
inline |
container service
Definition at line 38 of file PHHepMCGenEventMap.h.
|
inline |
Definition at line 68 of file PHHepMCGenEventMap.h.
|
inline |
Definition at line 66 of file PHHepMCGenEventMap.h.
Referenced by Fun4AllOscarInputManager::ConvertFromOscar(), operator=(), PHHepMCGenEventMap(), TruthNodeMaker::process_event(), and Fun4AllHepMCInputManager::run().
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file PHHepMCGenEventMap.h.
|
inline |
Definition at line 63 of file PHHepMCGenEventMap.h.
|
inline |
find
Definition at line 62 of file PHHepMCGenEventMap.h.
Referenced by Fun4AllOscarInputManager::ConvertFromOscar(), and Fun4AllHepMCInputManager::run().
Here is the caller graph for this function:| PHHepMCGenEvent * PHHepMCGenEventMap::get | ( | int | idkey | ) |
Definition at line 79 of file PHHepMCGenEventMap.cc.
References NULL.
| const PHHepMCGenEvent * PHHepMCGenEventMap::get | ( | int | idkey | ) | const |
fetch event
Definition at line 72 of file PHHepMCGenEventMap.cc.
References NULL.
Referenced by PHHepMCGenHelper::move_vertex(), PHHepMCParticleSelectorDecayProductChain::process_event(), and Fun4AllHepMCOutputManager::Write().
Here is the caller graph for this function:
|
inline |
Definition at line 77 of file PHHepMCGenEventMap.h.
|
inline |
for c++11 range-based for loop
Definition at line 76 of file PHHepMCGenEventMap.h.
|
virtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Definition at line 58 of file PHHepMCGenEventMap.cc.
Referenced by insert_event(), and PHHepMCGenHelper::move_vertex().
Here is the caller graph for this function:
|
inline |
insert a event of interest, e.g. jetty event from pythia
Definition at line 47 of file PHHepMCGenEventMap.h.
References insert_active_event().
Here is the call graph for this function:| PHHepMCGenEvent * PHHepMCGenEventMap::insert_active_event | ( | const PHHepMCGenEvent * | event = nullptr | ) |
insert a event of interest, e.g. jetty event from pythia
Definition at line 86 of file PHHepMCGenEventMap.cc.
References PHHepMCGenEvent::Clone().
Referenced by insert(), and Fun4AllHepMCPileupInputManager::run().
Here is the call graph for this function:
Here is the caller graph for this function:| PHHepMCGenEvent * PHHepMCGenEventMap::insert_background_event | ( | const PHHepMCGenEvent * | event = nullptr | ) |
insert a event of background, e.g. Au+Au collision background. First event has embedding ID = 0, which is usually the primary Au+Au collision in the case of HI embedding
Definition at line 100 of file PHHepMCGenEventMap.cc.
References PHHepMCGenEvent::Clone().
Referenced by Fun4AllHepMCPileupInputManager::run().
Here is the call graph for this function:
Here is the caller graph for this function:| PHHepMCGenEvent * PHHepMCGenEventMap::insert_event | ( | const int | embedding_id, |
| const PHHepMCGenEvent * | event = nullptr |
||
| ) |
insert a event with specific embedding ID
Definition at line 114 of file PHHepMCGenEventMap.cc.
References PHHepMCGenEvent::Clone(), and identify().
Referenced by PHHepMCGenHelper::insert_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 35 of file PHHepMCGenEventMap.h.
| PHHepMCGenEventMap & PHHepMCGenEventMap::operator= | ( | const PHHepMCGenEventMap & | eventmap | ) |
Definition at line 28 of file PHHepMCGenEventMap.cc.
References begin(), end(), and Reset().
Here is the call graph for this function:
|
inline |
Definition at line 72 of file PHHepMCGenEventMap.h.
|
inline |
iterator from lowest ID to highest, i.e. signal to background
Definition at line 70 of file PHHepMCGenEventMap.h.
Referenced by HepMCNodeReader::process_event(), and PHG4ParticleGeneratorBase::ReuseExistingVertex().
Here is the caller graph for this function:
|
inline |
Definition at line 73 of file PHHepMCGenEventMap.h.
|
inline |
Definition at line 71 of file PHHepMCGenEventMap.h.
Referenced by HepMCNodeReader::process_event(), and PHG4ParticleGeneratorBase::ReuseExistingVertex().
Here is the caller graph for this function:
|
virtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 46 of file PHHepMCGenEventMap.cc.
Referenced by clear(), operator=(), and ~PHHepMCGenEventMap().
Here is the caller graph for this function:
|
inline |
Definition at line 39 of file PHHepMCGenEventMap.h.
Referenced by TruthNodeMaker::process_event().
Here is the caller graph for this function: