EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MCRecoClusterParticleAssociation Class Reference

#include <MCRecoClusterParticleAssociation.h>

Public Types

using mutable_type = MutableMCRecoClusterParticleAssociation
 
using collection_type = MCRecoClusterParticleAssociationCollection
 

Public Member Functions

 MCRecoClusterParticleAssociation ()
 default constructor
 
 MCRecoClusterParticleAssociation (std::uint32_t simID, std::uint32_t recID, float weight)
 Constructor initializing all members.
 
 MCRecoClusterParticleAssociation (const MCRecoClusterParticleAssociation &other)=default
 copy constructor
 
MCRecoClusterParticleAssociationoperator= (MCRecoClusterParticleAssociation other)
 copy-assignment operator
 
MutableMCRecoClusterParticleAssociation clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MCRecoClusterParticleAssociation ()=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 Cluster (position in Clusters array)
 
float getWeight () const
 Access the weight of this association.
 
const edm4eic::Cluster getRec () const
 Access the reference to the cluster.
 
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 MCRecoClusterParticleAssociationObj instance
 
bool operator== (const MCRecoClusterParticleAssociation &other) const
 
bool operator== (const MutableMCRecoClusterParticleAssociation &other) const
 
bool operator< (const MCRecoClusterParticleAssociation &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static MCRecoClusterParticleAssociation makeEmpty ()
 

Friends

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

Detailed Description

Association between a Cluster and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoClusterParticleAssociation() [1/3]

edm4eic::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation ( )

default constructor

◆ MCRecoClusterParticleAssociation() [2/3]

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

Constructor initializing all members.

◆ MCRecoClusterParticleAssociation() [3/3]

edm4eic::MCRecoClusterParticleAssociation::MCRecoClusterParticleAssociation ( const MCRecoClusterParticleAssociation & other)
default

copy constructor

◆ ~MCRecoClusterParticleAssociation()

edm4eic::MCRecoClusterParticleAssociation::~MCRecoClusterParticleAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const edm4eic::Cluster edm4eic::MCRecoClusterParticleAssociation::getRec ( ) const

Access the reference to the cluster.

◆ getRecID()

std::uint32_t edm4eic::MCRecoClusterParticleAssociation::getRecID ( ) const

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

std::uint32_t edm4eic::MCRecoClusterParticleAssociation::getSimID ( ) const

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

◆ getWeight()

float edm4eic::MCRecoClusterParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

podio::ObjectID edm4eic::MCRecoClusterParticleAssociation::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MCRecoClusterParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

MCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociation::makeEmpty ( )
static

◆ operator<()

bool edm4eic::MCRecoClusterParticleAssociation::operator< ( const MCRecoClusterParticleAssociation & other) const
inline

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MCRecoClusterParticleAssociation::operator== ( const MCRecoClusterParticleAssociation & other) const
inline

◆ operator==() [2/2]

bool edm4eic::MCRecoClusterParticleAssociation::operator== ( const MutableMCRecoClusterParticleAssociation & other) const

◆ unlink()

void edm4eic::MCRecoClusterParticleAssociation::unlink ( )
inline

disconnect from MCRecoClusterParticleAssociationObj instance

Friends And Related Symbol Documentation

◆ edm4eic::MCRecoClusterParticleAssociationCollectionData

◆ MCRecoClusterParticleAssociationCollection

◆ MCRecoClusterParticleAssociationCollectionIterator

◆ MutableMCRecoClusterParticleAssociation

◆ swap


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