EICd
EIC data model
eicd::MCRecoVertexParticleAssociation Class Reference

#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...
 
MCRecoVertexParticleAssociationoperator= (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
 

Friends

class MutableMCRecoVertexParticleAssociation
 
class MCRecoVertexParticleAssociationCollection
 
class MCRecoVertexParticleAssociationCollectionIterator
 
void swap (MCRecoVertexParticleAssociation &a, MCRecoVertexParticleAssociation &b)
 

Detailed Description

Association between a Vertex and a MCParticle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MCRecoVertexParticleAssociation() [1/4]

eicd::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( )

default constructor

◆ MCRecoVertexParticleAssociation() [2/4]

eicd::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( std::uint32_t  simID,
std::uint32_t  recID,
float  weight 
)

◆ MCRecoVertexParticleAssociation() [3/4]

eicd::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( MCRecoVertexParticleAssociationObj obj)

constructor from existing MCRecoVertexParticleAssociationObj

◆ MCRecoVertexParticleAssociation() [4/4]

eicd::MCRecoVertexParticleAssociation::MCRecoVertexParticleAssociation ( const MCRecoVertexParticleAssociation other)

copy constructor

◆ ~MCRecoVertexParticleAssociation()

eicd::MCRecoVertexParticleAssociation::~MCRecoVertexParticleAssociation ( )

destructor

Member Function Documentation

◆ clone()

MutableMCRecoVertexParticleAssociation eicd::MCRecoVertexParticleAssociation::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getObjectID()

const podio::ObjectID eicd::MCRecoVertexParticleAssociation::getObjectID ( ) const

◆ getRec()

const eicd::Vertex eicd::MCRecoVertexParticleAssociation::getRec ( ) const

Access the reference to the vertex.

◆ getRecID()

const std::uint32_t & eicd::MCRecoVertexParticleAssociation::getRecID ( ) const

Access the Index of corresponding Vertex (position in Vertices array)

◆ getSim()

const edm4hep::MCParticle eicd::MCRecoVertexParticleAssociation::getSim ( ) const

Access the reference to the Monte-Carlo particle.

◆ getSimID()

const std::uint32_t & eicd::MCRecoVertexParticleAssociation::getSimID ( ) const

Access the Index of corresponding MCParticle (position in MCParticles array)

◆ getWeight()

const float & eicd::MCRecoVertexParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

unsigned int eicd::MCRecoVertexParticleAssociation::id ( ) const
inline

◆ isAvailable()

bool eicd::MCRecoVertexParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

bool eicd::MCRecoVertexParticleAssociation::operator< ( const MCRecoVertexParticleAssociation other) const
inline

◆ operator=()

MCRecoVertexParticleAssociation & eicd::MCRecoVertexParticleAssociation::operator= ( MCRecoVertexParticleAssociation  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::MCRecoVertexParticleAssociation::operator== ( const MCRecoVertexParticleAssociation other) const
inline

◆ operator==() [2/2]

bool eicd::MCRecoVertexParticleAssociation::operator== ( const MutableMCRecoVertexParticleAssociation other) const

◆ unlink()

void eicd::MCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

Friends And Related Function Documentation

◆ MCRecoVertexParticleAssociationCollection

◆ MCRecoVertexParticleAssociationCollectionIterator

◆ MutableMCRecoVertexParticleAssociation

◆ swap


The documentation for this class was generated from the following files: