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