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