EICd
EIC data model
eicd::MCRecoClusterParticleAssociation Class Reference

#include <MCRecoClusterParticleAssociation.h>

Public Member Functions

 MCRecoClusterParticleAssociation ()
 default constructor More...
 
 MCRecoClusterParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 
 MCRecoClusterParticleAssociation (MCRecoClusterParticleAssociationObj *obj)
 constructor from existing MCRecoClusterParticleAssociationObj More...
 
 MCRecoClusterParticleAssociation (const MCRecoClusterParticleAssociation &other)
 copy constructor More...
 
MCRecoClusterParticleAssociationoperator= (MCRecoClusterParticleAssociation other)
 copy-assignment operator More...
 
MutableMCRecoClusterParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MCRecoClusterParticleAssociation ()
 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 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...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from MCRecoClusterParticleAssociationObj instance More...
 
bool operator== (const MCRecoClusterParticleAssociation &other) const
 
bool operator== (const MutableMCRecoClusterParticleAssociation &other) const
 
bool operator< (const MCRecoClusterParticleAssociation &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

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

Detailed Description

Association between a Cluster and a MCParticle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MCRecoClusterParticleAssociation() [1/4]

eicd::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation ( )

default constructor

◆ MCRecoClusterParticleAssociation() [2/4]

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

◆ MCRecoClusterParticleAssociation() [3/4]

eicd::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation ( MCRecoClusterParticleAssociationObj obj)

constructor from existing MCRecoClusterParticleAssociationObj

◆ MCRecoClusterParticleAssociation() [4/4]

eicd::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation ( const MCRecoClusterParticleAssociation other)

copy constructor

◆ ~MCRecoClusterParticleAssociation()

eicd::MCRecoClusterParticleAssociation::~MCRecoClusterParticleAssociation ( )

destructor

Member Function Documentation

◆ clone()

MutableMCRecoClusterParticleAssociation eicd::MCRecoClusterParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const eicd::Cluster eicd::MCRecoClusterParticleAssociation::getRec ( ) const

Access the reference to the cluster.

◆ getRecID()

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

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

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

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool eicd::MCRecoClusterParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void eicd::MCRecoClusterParticleAssociation::unlink ( )
inline

disconnect from MCRecoClusterParticleAssociationObj instance

Friends And Related Function Documentation

◆ MCRecoClusterParticleAssociationCollection

◆ MCRecoClusterParticleAssociationCollectionIterator

◆ MutableMCRecoClusterParticleAssociation

◆ swap


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