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