a link optimized in size for a GenParticle in a McEventCollection
More...
#include <HepMcParticleLink.h>
a link optimized in size for a GenParticle in a McEventCollection
- See also
- McEventCollection, GenEvent, ElementLink
- Author
- Paolo Calafiura
- Id
- HepMcParticleLink.h,v 1.1.1.1 2004/09/28 06:40:36 liwd Exp
Definition at line 17 of file HepMcParticleLink.h.
◆ index_type
◆ HepMcParticleLink() [1/5]
HepMcParticleLink::HepMcParticleLink |
( |
| ) |
|
|
inline |
◆ HepMcParticleLink() [2/5]
◆ HepMcParticleLink() [3/5]
HepMcParticleLink::HepMcParticleLink |
( |
const HepMC::GenParticle * |
p, |
|
|
index_type |
eventIndex = 0 |
|
) |
| |
Definition at line 8 of file HepMcParticleLink.cxx.
9 :
10 m_particle(const_cast<HepMC::GenParticle*>(part)),
11 m_extBarcode((0 != part) ? part->barcode() : 0,
eventIndex) {
12 assert(part);
13}
◆ HepMcParticleLink() [4/5]
Definition at line 27 of file HepMcParticleLink.h.
27 :
28 m_particle(rhs.m_particle),
29 m_extBarcode(rhs.m_extBarcode) {}
◆ HepMcParticleLink() [5/5]
HepMcParticleLink::HepMcParticleLink |
( |
const HepMC::GenParticle * |
part, |
|
|
const HepMC::GenEvent * |
pevt |
|
) |
| |
◆ barcode()
int HepMcParticleLink::barcode |
( |
| ) |
const |
|
inline |
◆ cptr()
const HepMC::GenParticle * HepMcParticleLink::cptr |
( |
| ) |
const |
◆ eventIndex()
index_type HepMcParticleLink::eventIndex |
( |
| ) |
const |
|
inline |
◆ isValid()
bool HepMcParticleLink::isValid |
( |
| ) |
const |
|
inline |
◆ operator const HepMC::GenParticle *()
HepMcParticleLink::operator const HepMC::GenParticle * |
( |
| ) |
const |
|
inline |
◆ operator!()
bool HepMcParticleLink::operator! |
( |
| ) |
const |
|
inline |
◆ operator*()
const HepMC::GenParticle & HepMcParticleLink::operator* |
( |
| ) |
const |
|
inline |
- Exceptions
-
std::runtime_error | when the element is not found |
Definition at line 37 of file HepMcParticleLink.h.
◆ operator->()
const HepMC::GenParticle * HepMcParticleLink::operator-> |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: