EDM4eic
EIC data model
|
#include <MCRecoParticleAssociation.h>
Public Types | |
using | mutable_type = MutableMCRecoParticleAssociation |
using | collection_type = MCRecoParticleAssociationCollection |
Public Member Functions | |
MCRecoParticleAssociation () | |
default constructor | |
MCRecoParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
Constructor initializing all members. | |
MCRecoParticleAssociation (const MCRecoParticleAssociation &other)=default | |
copy constructor | |
MCRecoParticleAssociation & | operator= (MCRecoParticleAssociation other) |
copy-assignment operator | |
MutableMCRecoParticleAssociation | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MCRecoParticleAssociation ()=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 ReconstructedParticle (position in ReconstructedParticles array) | |
float | getWeight () const |
Access the weight of this association. | |
const edm4eic::ReconstructedParticle | getRec () const |
Access the reference to the reconstructed particle. | |
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 MCRecoParticleAssociationObj instance | |
bool | operator== (const MCRecoParticleAssociation &other) const |
bool | operator== (const MutableMCRecoParticleAssociation &other) const |
bool | operator< (const MCRecoParticleAssociation &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static MCRecoParticleAssociation | makeEmpty () |
Used to keep track of the correspondence between MC and reconstructed particles
edm4eic::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | ) |
default constructor
edm4eic::MCRecoParticleAssociation::MCRecoParticleAssociation | ( | std::uint32_t | simID, |
std::uint32_t | recID, | ||
float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMCRecoParticleAssociation edm4eic::MCRecoParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const podio::ObjectID edm4eic::MCRecoParticleAssociation::getObjectID | ( | ) | const |
const edm4eic::ReconstructedParticle edm4eic::MCRecoParticleAssociation::getRec | ( | ) | const |
Access the reference to the reconstructed particle.
std::uint32_t edm4eic::MCRecoParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding ReconstructedParticle (position in ReconstructedParticles array)
const edm4hep::MCParticle edm4eic::MCRecoParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
std::uint32_t edm4eic::MCRecoParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
float edm4eic::MCRecoParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool edm4eic::MCRecoParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
MCRecoParticleAssociation & edm4eic::MCRecoParticleAssociation::operator= | ( | MCRecoParticleAssociation | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MCRecoParticleAssociation::operator== | ( | const MutableMCRecoParticleAssociation & | other | ) | const |
|
inline |
disconnect from MCRecoParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |