EDM4eic
EIC data model
|
#include <MCRecoClusterParticleAssociation.h>
Public Types | |
using | mutable_type = MutableMCRecoClusterParticleAssociation |
using | collection_type = MCRecoClusterParticleAssociationCollection |
Public Member Functions | |
MCRecoClusterParticleAssociation () | |
default constructor | |
MCRecoClusterParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
Constructor initializing all members. | |
MCRecoClusterParticleAssociation (const MCRecoClusterParticleAssociation &other)=default | |
copy constructor | |
MCRecoClusterParticleAssociation & | operator= (MCRecoClusterParticleAssociation other) |
copy-assignment operator | |
MutableMCRecoClusterParticleAssociation | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MCRecoClusterParticleAssociation ()=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. | |
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 |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static MCRecoClusterParticleAssociation | makeEmpty () |
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 | ( | std::uint32_t | simID, |
std::uint32_t | recID, | ||
float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
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 |
MCRecoClusterParticleAssociation & edm4eic::MCRecoClusterParticleAssociation::operator= | ( | MCRecoClusterParticleAssociation | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MCRecoClusterParticleAssociation::operator== | ( | const MutableMCRecoClusterParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoClusterParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |