EICd
EIC data model
|
#include <MCRecoTrackParticleAssociation.h>
Public Member Functions | |
MCRecoTrackParticleAssociation () | |
default constructor More... | |
MCRecoTrackParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
MCRecoTrackParticleAssociation (MCRecoTrackParticleAssociationObj *obj) | |
constructor from existing MCRecoTrackParticleAssociationObj More... | |
MCRecoTrackParticleAssociation (const MCRecoTrackParticleAssociation &other) | |
copy constructor More... | |
MCRecoTrackParticleAssociation & | operator= (MCRecoTrackParticleAssociation other) |
copy-assignment operator More... | |
MutableMCRecoTrackParticleAssociation | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~MCRecoTrackParticleAssociation () | |
destructor More... | |
const std::uint32_t & | getSimID () const |
Access the Index of corresponding MCParticle (position in MCParticles array) More... | |
const std::uint32_t & | getRecID () const |
Access the Index of corresponding Track (position in Tracks array) More... | |
const float & | getWeight () const |
Access the weight of this association. More... | |
const eicd::Track | getRec () const |
Access the reference to the track. More... | |
const edm4hep::MCParticle | getSim () const |
Access the reference to the Monte-Carlo particle. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from MCRecoTrackParticleAssociationObj instance More... | |
bool | operator== (const MCRecoTrackParticleAssociation &other) const |
bool | operator== (const MutableMCRecoTrackParticleAssociation &other) const |
bool | operator< (const MCRecoTrackParticleAssociation &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Association between a Track and a MCParticle
eicd::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation | ( | ) |
default constructor
eicd::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation | ( | std::uint32_t | simID, |
std::uint32_t | recID, | ||
float | weight | ||
) |
eicd::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation | ( | MCRecoTrackParticleAssociationObj * | obj | ) |
constructor from existing MCRecoTrackParticleAssociationObj
eicd::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation | ( | const MCRecoTrackParticleAssociation & | other | ) |
copy constructor
eicd::MCRecoTrackParticleAssociation::~MCRecoTrackParticleAssociation | ( | ) |
destructor
MutableMCRecoTrackParticleAssociation eicd::MCRecoTrackParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const podio::ObjectID eicd::MCRecoTrackParticleAssociation::getObjectID | ( | ) | const |
const eicd::Track eicd::MCRecoTrackParticleAssociation::getRec | ( | ) | const |
Access the reference to the track.
const std::uint32_t & eicd::MCRecoTrackParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding Track (position in Tracks array)
const edm4hep::MCParticle eicd::MCRecoTrackParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
const std::uint32_t & eicd::MCRecoTrackParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
const float & eicd::MCRecoTrackParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool eicd::MCRecoTrackParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
MCRecoTrackParticleAssociation & eicd::MCRecoTrackParticleAssociation::operator= | ( | MCRecoTrackParticleAssociation | other | ) |
copy-assignment operator
|
inline |
bool eicd::MCRecoTrackParticleAssociation::operator== | ( | const MutableMCRecoTrackParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoTrackParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |