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