| EDM4eic
    EIC data model | 
#include <MutableMCRecoClusterParticleAssociation.h>
| Public Types | |
| using | object_type = MCRecoClusterParticleAssociation | 
| using | collection_type = MCRecoClusterParticleAssociationCollection | 
| Public Member Functions | |
| MutableMCRecoClusterParticleAssociation () | |
| default constructor | |
| MutableMCRecoClusterParticleAssociation (const std::uint32_t simID, const std::uint32_t recID, const float weight) | |
| Constructor initializing all members. | |
| MutableMCRecoClusterParticleAssociation (const MutableMCRecoClusterParticleAssociation &other)=default | |
| copy constructor | |
| MutableMCRecoClusterParticleAssociation & | operator= (MutableMCRecoClusterParticleAssociation other) & | 
| copy-assignment operator | |
| MutableMCRecoClusterParticleAssociation & | operator= (MutableMCRecoClusterParticleAssociation other) &&=delete | 
| MutableMCRecoClusterParticleAssociation | clone (bool cloneRelations=true) const | 
| ~MutableMCRecoClusterParticleAssociation ()=default | |
| destructor | |
| std::uint32_t | getSimID () const | 
| Access the Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t | getRecID () const | 
| Access the Index of corresponding Cluster (position in Clusters array) | |
| float | getWeight () const | 
| Access the weight of this association. | |
| const edm4eic::Cluster | getRec () const | 
| Access the reference to the cluster. | |
| const edm4hep::MCParticle | getSim () const | 
| Access the reference to the Monte-Carlo particle. | |
| void | setSimID (const std::uint32_t simID) | 
| Set the Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t & | getSimID () | 
| Get mutable reference to Index of corresponding MCParticle (position in MCParticles array) | |
| std::uint32_t & | simID () | 
| Get reference to Index of corresponding MCParticle (position in MCParticles array) | |
| void | setRecID (const std::uint32_t recID) | 
| Set the Index of corresponding Cluster (position in Clusters array) | |
| std::uint32_t & | getRecID () | 
| Get mutable reference to Index of corresponding Cluster (position in Clusters array) | |
| std::uint32_t & | recID () | 
| Get reference to Index of corresponding Cluster (position in Clusters array) | |
| void | setWeight (const float weight) | 
| Set the weight of this association. | |
| float & | getWeight () | 
| Get mutable reference to weight of this association. | |
| float & | weight () | 
| Get reference to weight of this association. | |
| void | setRec (const edm4eic::Cluster &value) | 
| Set the reference to the cluster. | |
| void | setSim (const edm4hep::MCParticle &value) | 
| Set the reference to the Monte-Carlo particle. | |
| bool | isAvailable () const | 
| check whether the object is actually available | |
| void | unlink () | 
| disconnect from MCRecoClusterParticleAssociationObj instance | |
| bool | operator== (const MutableMCRecoClusterParticleAssociation &other) const | 
| bool | operator== (const MCRecoClusterParticleAssociation &other) const | 
| bool | operator!= (const MutableMCRecoClusterParticleAssociation &other) const | 
| bool | operator!= (const MCRecoClusterParticleAssociation &other) const | 
| bool | operator< (const MutableMCRecoClusterParticleAssociation &other) const | 
| podio::ObjectID | id () const | 
| const podio::ObjectID | getObjectID () const | 
Association between a Cluster and a MCParticle
| using edm4eic::MutableMCRecoClusterParticleAssociation::collection_type = MCRecoClusterParticleAssociationCollection | 
| using edm4eic::MutableMCRecoClusterParticleAssociation::object_type = MCRecoClusterParticleAssociation | 
| edm4eic::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation | ( | ) | 
default constructor
| edm4eic::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation | ( | const std::uint32_t | simID, | 
| const std::uint32_t | recID, | ||
| const float | weight ) | 
Constructor initializing all members.
| 
 | default | 
copy constructor
| 
 | default | 
destructor
| MutableMCRecoClusterParticleAssociation edm4eic::MutableMCRecoClusterParticleAssociation::clone | ( | bool | cloneRelations = true | ) | const | 
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
| const podio::ObjectID edm4eic::MutableMCRecoClusterParticleAssociation::getObjectID | ( | ) | const | 
| const edm4eic::Cluster edm4eic::MutableMCRecoClusterParticleAssociation::getRec | ( | ) | const | 
Access the reference to the cluster.
| std::uint32_t & edm4eic::MutableMCRecoClusterParticleAssociation::getRecID | ( | ) | 
Get mutable reference to Index of corresponding Cluster (position in Clusters array)
| std::uint32_t edm4eic::MutableMCRecoClusterParticleAssociation::getRecID | ( | ) | const | 
Access the Index of corresponding Cluster (position in Clusters array)
| const edm4hep::MCParticle edm4eic::MutableMCRecoClusterParticleAssociation::getSim | ( | ) | const | 
Access the reference to the Monte-Carlo particle.
| std::uint32_t & edm4eic::MutableMCRecoClusterParticleAssociation::getSimID | ( | ) | 
Get mutable reference to Index of corresponding MCParticle (position in MCParticles array)
| std::uint32_t edm4eic::MutableMCRecoClusterParticleAssociation::getSimID | ( | ) | const | 
Access the Index of corresponding MCParticle (position in MCParticles array)
| float & edm4eic::MutableMCRecoClusterParticleAssociation::getWeight | ( | ) | 
Get mutable reference to weight of this association.
| float edm4eic::MutableMCRecoClusterParticleAssociation::getWeight | ( | ) | const | 
Access the weight of this association.
| 
 | inline | 
| bool edm4eic::MutableMCRecoClusterParticleAssociation::isAvailable | ( | ) | const | 
check whether the object is actually available
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| MutableMCRecoClusterParticleAssociation & edm4eic::MutableMCRecoClusterParticleAssociation::operator= | ( | MutableMCRecoClusterParticleAssociation | other | ) | & | 
copy-assignment operator
| 
 | delete | 
| bool edm4eic::MutableMCRecoClusterParticleAssociation::operator== | ( | const MCRecoClusterParticleAssociation & | other | ) | const | 
| 
 | inline | 
| std::uint32_t & edm4eic::MutableMCRecoClusterParticleAssociation::recID | ( | ) | 
Get reference to Index of corresponding Cluster (position in Clusters array)
| void edm4eic::MutableMCRecoClusterParticleAssociation::setRec | ( | const edm4eic::Cluster & | value | ) | 
Set the reference to the cluster.
| void edm4eic::MutableMCRecoClusterParticleAssociation::setRecID | ( | const std::uint32_t | recID | ) | 
Set the Index of corresponding Cluster (position in Clusters array)
| void edm4eic::MutableMCRecoClusterParticleAssociation::setSim | ( | const edm4hep::MCParticle & | value | ) | 
Set the reference to the Monte-Carlo particle.
| void edm4eic::MutableMCRecoClusterParticleAssociation::setSimID | ( | const std::uint32_t | simID | ) | 
Set the Index of corresponding MCParticle (position in MCParticles array)
| void edm4eic::MutableMCRecoClusterParticleAssociation::setWeight | ( | const float | weight | ) | 
Set the weight of this association.
| std::uint32_t & edm4eic::MutableMCRecoClusterParticleAssociation::simID | ( | ) | 
Get reference to Index of corresponding MCParticle (position in MCParticles array)
| 
 | inline | 
disconnect from MCRecoClusterParticleAssociationObj instance
| float & edm4eic::MutableMCRecoClusterParticleAssociation::weight | ( | ) | 
Get reference to weight of this association.
| 
 | friend | 
| 
 | friend | 
| 
 | friend | 
| 
 | friend |