EICd
EIC data model
eicd::MutableMCRecoVertexParticleAssociation Class Reference

#include <MutableMCRecoVertexParticleAssociation.h>

Public Member Functions

 MutableMCRecoVertexParticleAssociation ()
 default constructor More...
 
 MutableMCRecoVertexParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 
 MutableMCRecoVertexParticleAssociation (MCRecoVertexParticleAssociationObj *obj)
 constructor from existing MCRecoVertexParticleAssociationObj More...
 
 MutableMCRecoVertexParticleAssociation (const MutableMCRecoVertexParticleAssociation &other)
 copy constructor More...
 
MutableMCRecoVertexParticleAssociationoperator= (MutableMCRecoVertexParticleAssociation other)
 copy-assignment operator More...
 
MutableMCRecoVertexParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableMCRecoVertexParticleAssociation ()
 destructor More...
 
 operator MCRecoVertexParticleAssociation () const
 conversion to const object 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...
 
void setSimID (std::uint32_t value)
 Set the Index of corresponding MCParticle (position in MCParticles array) More...
 
void setRecID (std::uint32_t value)
 Set the Index of corresponding Vertex (position in Vertices array) More...
 
void setWeight (float value)
 Set the weight of this association. More...
 
void setRec (eicd::Vertex value)
 Set the reference to the vertex. More...
 
void setSim (edm4hep::MCParticle value)
 Set 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 MutableMCRecoVertexParticleAssociation &other) const
 
bool operator== (const MCRecoVertexParticleAssociation &other) const
 
bool operator< (const MutableMCRecoVertexParticleAssociation &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

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

Detailed Description

Association between a Vertex and a MCParticle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MutableMCRecoVertexParticleAssociation() [1/4]

eicd::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( )

default constructor

◆ MutableMCRecoVertexParticleAssociation() [2/4]

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

◆ MutableMCRecoVertexParticleAssociation() [3/4]

eicd::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( MCRecoVertexParticleAssociationObj obj)

constructor from existing MCRecoVertexParticleAssociationObj

◆ MutableMCRecoVertexParticleAssociation() [4/4]

eicd::MutableMCRecoVertexParticleAssociation::MutableMCRecoVertexParticleAssociation ( const MutableMCRecoVertexParticleAssociation other)

copy constructor

◆ ~MutableMCRecoVertexParticleAssociation()

eicd::MutableMCRecoVertexParticleAssociation::~MutableMCRecoVertexParticleAssociation ( )

destructor

Member Function Documentation

◆ clone()

MutableMCRecoVertexParticleAssociation eicd::MutableMCRecoVertexParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const eicd::Vertex eicd::MutableMCRecoVertexParticleAssociation::getRec ( ) const

Access the reference to the vertex.

◆ getRecID()

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

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

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

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool eicd::MutableMCRecoVertexParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoVertexParticleAssociation()

eicd::MutableMCRecoVertexParticleAssociation::operator MCRecoVertexParticleAssociation ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ setRec()

void eicd::MutableMCRecoVertexParticleAssociation::setRec ( eicd::Vertex  value)

Set the reference to the vertex.

◆ setRecID()

void eicd::MutableMCRecoVertexParticleAssociation::setRecID ( std::uint32_t  value)

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

◆ setSim()

void eicd::MutableMCRecoVertexParticleAssociation::setSim ( edm4hep::MCParticle  value)

Set the reference to the Monte-Carlo particle.

◆ setSimID()

void eicd::MutableMCRecoVertexParticleAssociation::setSimID ( std::uint32_t  value)

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

◆ setWeight()

void eicd::MutableMCRecoVertexParticleAssociation::setWeight ( float  value)

Set the weight of this association.

◆ unlink()

void eicd::MutableMCRecoVertexParticleAssociation::unlink ( )
inline

disconnect from MCRecoVertexParticleAssociationObj instance

Friends And Related Function Documentation

◆ MCRecoVertexParticleAssociation

friend class MCRecoVertexParticleAssociation
friend

◆ MCRecoVertexParticleAssociationCollection

◆ MCRecoVertexParticleAssociationMutableCollectionIterator

◆ swap


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