EICd
EIC data model
|
#include <MCRecoParticleAssociation.h>
Public Member Functions | |
MCRecoParticleAssociation () | |
default constructor More... | |
MCRecoParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
MCRecoParticleAssociation (MCRecoParticleAssociationObj *obj) | |
constructor from existing MCRecoParticleAssociationObj More... | |
MCRecoParticleAssociation (const MCRecoParticleAssociation &other) | |
copy constructor More... | |
MCRecoParticleAssociation & | operator= (MCRecoParticleAssociation other) |
copy-assignment operator More... | |
MutableMCRecoParticleAssociation | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~MCRecoParticleAssociation () | |
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 ReconstructedParticle (position in ReconstructedParticles array) More... | |
const float & | getWeight () const |
Access the weight of this association. More... | |
const eicd::ReconstructedParticle | getRec () const |
Access the reference to the reconstructed particle. 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 MCRecoParticleAssociationObj instance More... | |
bool | operator== (const MCRecoParticleAssociation &other) const |
bool | operator== (const MutableMCRecoParticleAssociation &other) const |
bool | operator< (const MCRecoParticleAssociation &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | MutableMCRecoParticleAssociation |
class | MCRecoParticleAssociationCollection |
class | MCRecoParticleAssociationCollectionIterator |
void | swap (MCRecoParticleAssociation &a, MCRecoParticleAssociation &b) |
Used to keep track of the correspondence between MC and reconstructed particles
eicd::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | ) |
default constructor
eicd::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | std::uint32_t | simID, |
std::uint32_t | recID, | ||
float | weight | ||
) |
eicd::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | MCRecoParticleAssociationObj * | obj | ) |
constructor from existing MCRecoParticleAssociationObj
eicd::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | const MCRecoParticleAssociation & | other | ) |
copy constructor
eicd::MCRecoParticleAssociation::~MCRecoParticleAssociation | ( | ) |
destructor
MutableMCRecoParticleAssociation eicd::MCRecoParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const podio::ObjectID eicd::MCRecoParticleAssociation::getObjectID | ( | ) | const |
const eicd::ReconstructedParticle eicd::MCRecoParticleAssociation::getRec | ( | ) | const |
Access the reference to the reconstructed particle.
const std::uint32_t & eicd::MCRecoParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
const edm4hep::MCParticle eicd::MCRecoParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
const std::uint32_t & eicd::MCRecoParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
const float & eicd::MCRecoParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool eicd::MCRecoParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
MCRecoParticleAssociation & eicd::MCRecoParticleAssociation::operator= | ( | MCRecoParticleAssociation | other | ) |
copy-assignment operator
|
inline |
bool eicd::MCRecoParticleAssociation::operator== | ( | const MutableMCRecoParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |