EDM4eic
EIC data model
|
#include <MutableMCRecoVertexParticleAssociation.h>
Public Types | |
using | object_type = MCRecoVertexParticleAssociation |
using | collection_type = MCRecoVertexParticleAssociationCollection |
Public Member Functions | |
MutableMCRecoVertexParticleAssociation () | |
default constructor | |
MutableMCRecoVertexParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight) | |
Constructor initializing all members. | |
MutableMCRecoVertexParticleAssociation (const MutableMCRecoVertexParticleAssociation &other)=default | |
copy constructor | |
MutableMCRecoVertexParticleAssociation & | operator= (MutableMCRecoVertexParticleAssociation other) |
copy-assignment operator | |
MutableMCRecoVertexParticleAssociation | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableMCRecoVertexParticleAssociation ()=default | |
destructor | |
operator MCRecoVertexParticleAssociation () const | |
conversion to const 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 Vertex (position in Vertices array) | |
float | getWeight () const |
Access the weight of this association. | |
const edm4eic::Vertex | getRec () const |
Access the reference to the vertex. | |
const edm4hep::MCParticle | getSim () const |
Access the reference to the Monte-Carlo particle. | |
void | setSimID (std::uint32_t value) |
Set the Index of corresponding MCParticle (position in MCParticles array) | |
void | setRecID (std::uint32_t value) |
Set the Index of corresponding Vertex (position in Vertices array) | |
void | setWeight (float value) |
Set the weight of this association. | |
void | setRec (edm4eic::Vertex value) |
Set the reference to the vertex. | |
void | setSim (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 MCRecoVertexParticleAssociationObj instance | |
bool | operator== (const MutableMCRecoVertexParticleAssociation &other) const |
bool | operator== (const MCRecoVertexParticleAssociation &other) const |
bool | operator< (const MutableMCRecoVertexParticleAssociation &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Association between a Vertex and a MCParticle
using edm4eic::MutableMCRecoVertexParticleAssociation::collection_type = MCRecoVertexParticleAssociationCollection |
using edm4eic::MutableMCRecoVertexParticleAssociation::object_type = MCRecoVertexParticleAssociation |
edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation | ( | ) |
default constructor
edm4eic::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation | ( | std::uint32_t | simID, |
std::uint32_t | recID, | ||
float | weight ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableMCRecoVertexParticleAssociation edm4eic::MutableMCRecoVertexParticleAssociation::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const podio::ObjectID edm4eic::MutableMCRecoVertexParticleAssociation::getObjectID | ( | ) | const |
const edm4eic::Vertex edm4eic::MutableMCRecoVertexParticleAssociation::getRec | ( | ) | const |
Access the reference to the vertex.
std::uint32_t edm4eic::MutableMCRecoVertexParticleAssociation::getRecID | ( | ) | const |
Access the Index of corresponding Vertex (position in Vertices array)
const edm4hep::MCParticle edm4eic::MutableMCRecoVertexParticleAssociation::getSim | ( | ) | const |
Access the reference to the Monte-Carlo particle.
std::uint32_t edm4eic::MutableMCRecoVertexParticleAssociation::getSimID | ( | ) | const |
Access the Index of corresponding MCParticle (position in MCParticles array)
float edm4eic::MutableMCRecoVertexParticleAssociation::getWeight | ( | ) | const |
Access the weight of this association.
|
inline |
bool edm4eic::MutableMCRecoVertexParticleAssociation::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableMCRecoVertexParticleAssociation::operator MCRecoVertexParticleAssociation | ( | ) | const |
conversion to const object
|
inline |
MutableMCRecoVertexParticleAssociation & edm4eic::MutableMCRecoVertexParticleAssociation::operator= | ( | MutableMCRecoVertexParticleAssociation | other | ) |
copy-assignment operator
bool edm4eic::MutableMCRecoVertexParticleAssociation::operator== | ( | const MCRecoVertexParticleAssociation & | other | ) | const |
|
inline |
void edm4eic::MutableMCRecoVertexParticleAssociation::setRec | ( | edm4eic::Vertex | value | ) |
Set the reference to the vertex.
void edm4eic::MutableMCRecoVertexParticleAssociation::setRecID | ( | std::uint32_t | value | ) |
Set the Index of corresponding Vertex (position in Vertices array)
void edm4eic::MutableMCRecoVertexParticleAssociation::setSim | ( | edm4hep::MCParticle | value | ) |
Set the reference to the Monte-Carlo particle.
void edm4eic::MutableMCRecoVertexParticleAssociation::setSimID | ( | std::uint32_t | value | ) |
Set the Index of corresponding MCParticle (position in MCParticles array)
void edm4eic::MutableMCRecoVertexParticleAssociation::setWeight | ( | float | value | ) |
Set the weight of this association.
|
inline |
disconnect from MCRecoVertexParticleAssociationObj instance
|
friend |
|
friend |
|
friend |
|
friend |