#include <TempParticleMap.h>
Public Types | |
| typedef std::map< HepMC::GenParticle *, int > | TempMap |
| typedef std::map< int, HepMC::GenParticle * > | TempOrderMap |
| typedef TempMap::iterator | TempMapIterator |
| typedef TempOrderMap::iterator | orderIterator |
Public Member Functions | |
| TempParticleMap () | |
| ~TempParticleMap () | |
| TempMapIterator | begin () |
| TempMapIterator | end () |
| orderIterator | order_begin () |
| orderIterator | order_end () |
| int | end_vertex (GenParticle *) |
| void | addEndParticle (GenParticle *, int &) |
Private Attributes | |
| TempMap | m_particle_to_end_vertex |
| TempOrderMap | m_particle_order |
Map GenParticle* against both outgoing vertex and particle order.
Definition at line 24 of file TempParticleMap.h.
| typedef std::map<HepMC::GenParticle*,int> HepMC::TempParticleMap::TempMap |
Definition at line 26 of file TempParticleMap.h.
| typedef std::map<int,HepMC::GenParticle*> HepMC::TempParticleMap::TempOrderMap |
Definition at line 27 of file TempParticleMap.h.
| typedef TempMap::iterator HepMC::TempParticleMap::TempMapIterator |
Definition at line 28 of file TempParticleMap.h.
| typedef TempOrderMap::iterator HepMC::TempParticleMap::orderIterator |
Definition at line 29 of file TempParticleMap.h.
| HepMC::TempParticleMap::TempParticleMap | ( | ) | [inline] |
Definition at line 31 of file TempParticleMap.h.
00032 : m_particle_to_end_vertex(), m_particle_order() {}
| HepMC::TempParticleMap::~TempParticleMap | ( | ) | [inline] |
| TempMapIterator HepMC::TempParticleMap::begin | ( | ) | [inline] |
| TempMapIterator HepMC::TempParticleMap::end | ( | ) | [inline] |
| orderIterator HepMC::TempParticleMap::order_begin | ( | ) | [inline] |
| orderIterator HepMC::TempParticleMap::order_end | ( | ) | [inline] |
| int HepMC::TempParticleMap::end_vertex | ( | GenParticle * | ) | [inline] |
Definition at line 50 of file TempParticleMap.h.
00051 { 00052 //return m_particle_to_end_vertex[p]->second; 00053 TempMapIterator it = m_particle_to_end_vertex.find(p); 00054 if( it == end() ) return 0; 00055 return m_particle_to_end_vertex[p]; 00056 }
| void HepMC::TempParticleMap::addEndParticle | ( | GenParticle * | , | |
| int & | ||||
| ) | [inline] |
Definition at line 58 of file TempParticleMap.h.
00059 { 00060 m_particle_order[p->barcode()] = p; 00061 m_particle_to_end_vertex[p] = end_vtx_code; 00062 }
Definition at line 46 of file TempParticleMap.h.
Definition at line 47 of file TempParticleMap.h.
1.4.7