EICd
EIC data model
eicd::MutableMCRecoClusterParticleAssociation Class Reference

#include <MutableMCRecoClusterParticleAssociation.h>

Public Member Functions

 MutableMCRecoClusterParticleAssociation ()
 default constructor More...
 
 MutableMCRecoClusterParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 
 MutableMCRecoClusterParticleAssociation (MCRecoClusterParticleAssociationObj *obj)
 constructor from existing MCRecoClusterParticleAssociationObj More...
 
 MutableMCRecoClusterParticleAssociation (const MutableMCRecoClusterParticleAssociation &other)
 copy constructor More...
 
MutableMCRecoClusterParticleAssociationoperator= (MutableMCRecoClusterParticleAssociation other)
 copy-assignment operator More...
 
MutableMCRecoClusterParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableMCRecoClusterParticleAssociation ()
 destructor More...
 
 operator MCRecoClusterParticleAssociation () 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 Cluster (position in Clusters array) More...
 
const float & getWeight () const
 Access the weight of this association. More...
 
const eicd::Cluster getRec () const
 Access the reference to the cluster. 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 Cluster (position in Clusters array) More...
 
void setWeight (float value)
 Set the weight of this association. More...
 
void setRec (eicd::Cluster value)
 Set the reference to the cluster. 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 MCRecoClusterParticleAssociationObj instance More...
 
bool operator== (const MutableMCRecoClusterParticleAssociation &other) const
 
bool operator== (const MCRecoClusterParticleAssociation &other) const
 
bool operator< (const MutableMCRecoClusterParticleAssociation &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MCRecoClusterParticleAssociationCollection
 
class MCRecoClusterParticleAssociationMutableCollectionIterator
 
class MCRecoClusterParticleAssociation
 
void swap (MutableMCRecoClusterParticleAssociation &a, MutableMCRecoClusterParticleAssociation &b)
 

Detailed Description

Association between a Cluster and a MCParticle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MutableMCRecoClusterParticleAssociation() [1/4]

eicd::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation ( )

default constructor

◆ MutableMCRecoClusterParticleAssociation() [2/4]

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

◆ MutableMCRecoClusterParticleAssociation() [3/4]

eicd::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation ( MCRecoClusterParticleAssociationObj obj)

constructor from existing MCRecoClusterParticleAssociationObj

◆ MutableMCRecoClusterParticleAssociation() [4/4]

eicd::MutableMCRecoClusterParticleAssociation::MutableMCRecoClusterParticleAssociation ( const MutableMCRecoClusterParticleAssociation other)

copy constructor

◆ ~MutableMCRecoClusterParticleAssociation()

eicd::MutableMCRecoClusterParticleAssociation::~MutableMCRecoClusterParticleAssociation ( )

destructor

Member Function Documentation

◆ clone()

MutableMCRecoClusterParticleAssociation eicd::MutableMCRecoClusterParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const eicd::Cluster eicd::MutableMCRecoClusterParticleAssociation::getRec ( ) const

Access the reference to the cluster.

◆ getRecID()

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

Access the Index of corresponding Cluster (position in Clusters array)

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

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

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool eicd::MutableMCRecoClusterParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoClusterParticleAssociation()

eicd::MutableMCRecoClusterParticleAssociation::operator MCRecoClusterParticleAssociation ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool eicd::MutableMCRecoClusterParticleAssociation::operator== ( const MCRecoClusterParticleAssociation other) const

◆ operator==() [2/2]

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

◆ setRec()

void eicd::MutableMCRecoClusterParticleAssociation::setRec ( eicd::Cluster  value)

Set the reference to the cluster.

◆ setRecID()

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

Set the Index of corresponding Cluster (position in Clusters array)

◆ setSim()

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

Set the reference to the Monte-Carlo particle.

◆ setSimID()

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

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

◆ setWeight()

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

Set the weight of this association.

◆ unlink()

void eicd::MutableMCRecoClusterParticleAssociation::unlink ( )
inline

disconnect from MCRecoClusterParticleAssociationObj instance

Friends And Related Function Documentation

◆ MCRecoClusterParticleAssociation

friend class MCRecoClusterParticleAssociation
friend

◆ MCRecoClusterParticleAssociationCollection

◆ MCRecoClusterParticleAssociationMutableCollectionIterator

◆ swap


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