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