|
EDM4eic
EIC data model
|
#include <MCRecoClusterParticleAssociation.h>
Public Types | |
| using | mutable_type = MutableMCRecoClusterParticleAssociation |
| using | collection_type = MCRecoClusterParticleAssociationCollection |
Public Member Functions | |
| MCRecoClusterParticleAssociation () | |
| default constructor | |
| MCRecoClusterParticleAssociation (const std::uint32_t simID, const std::uint32_t recID, const float weight) | |
| Constructor initializing all members. | |
| MCRecoClusterParticleAssociation (const MCRecoClusterParticleAssociation &other)=default | |
| copy constructor | |
| MCRecoClusterParticleAssociation & | operator= (MCRecoClusterParticleAssociation other) & |
| copy-assignment operator | |
| MCRecoClusterParticleAssociation & | operator= (MCRecoClusterParticleAssociation other) &&=delete |
| MutableMCRecoClusterParticleAssociation | clone (bool cloneRelations=true) const |
| ~MCRecoClusterParticleAssociation ()=default | |
| destructor | |
| MCRecoClusterParticleAssociation (const MutableMCRecoClusterParticleAssociation &other) | |
| converting constructor from mutable object | |
| 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. | |
| bool | isAvailable () const |
| check whether the object is actually available | |
| void | unlink () |
| disconnect from MCRecoClusterParticleAssociationObj instance | |
| bool | operator== (const MCRecoClusterParticleAssociation &other) const |
| bool | operator== (const MutableMCRecoClusterParticleAssociation &other) const |
| bool | operator!= (const MCRecoClusterParticleAssociation &other) const |
| bool | operator!= (const MutableMCRecoClusterParticleAssociation &other) const |
| bool | operator< (const MCRecoClusterParticleAssociation &other) const |
| podio::ObjectID | id () const |
| const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
| static MCRecoClusterParticleAssociation | makeEmpty () |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::MCRecoClusterParticleAssociation" |
Friends | |
| class | MutableMCRecoClusterParticleAssociation |
| class | MCRecoClusterParticleAssociationCollection |
| class | edm4eic::MCRecoClusterParticleAssociationCollectionData |
| class | MCRecoClusterParticleAssociationCollectionIterator |
| podio::detail::OrderKey | podio::detail::getOrderKey (const MCRecoClusterParticleAssociation &obj) |
| void | swap (MCRecoClusterParticleAssociation &a, MCRecoClusterParticleAssociation &b) |
Association between a Cluster and a MCParticle
| using edm4eic::MCRecoClusterParticleAssociation::collection_type = MCRecoClusterParticleAssociationCollection |
| using edm4eic::MCRecoClusterParticleAssociation::mutable_type = MutableMCRecoClusterParticleAssociation |
| edm4eic::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation | ( | ) |
default constructor
| edm4eic::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation | ( | const std::uint32_t | simID, |
| const std::uint32_t | recID, | ||
| const float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
| edm4eic::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation | ( | const MutableMCRecoClusterParticleAssociation & | other | ) |
converting constructor from mutable object
| MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociation::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::MCRecoClusterParticleAssociation::getObjectID | ( | ) | const |
| const edm4eic::Cluster edm4eic::MCRecoClusterParticleAssociation::getRec | ( | ) | const |
Access the reference to the cluster.
| std::uint32_t edm4eic::MCRecoClusterParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding Cluster (position in Clusters array)
| const edm4hep::MCParticle edm4eic::MCRecoClusterParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
| std::uint32_t edm4eic::MCRecoClusterParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
| float edm4eic::MCRecoClusterParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
| bool edm4eic::MCRecoClusterParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
|
inline |
| MCRecoClusterParticleAssociation & edm4eic::MCRecoClusterParticleAssociation::operator= | ( | MCRecoClusterParticleAssociation | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
| bool edm4eic::MCRecoClusterParticleAssociation::operator== | ( | const MutableMCRecoClusterParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoClusterParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |