EICd
EIC data model
eicd::MutableMCRecoTrackParticleAssociation Class Reference

#include <MutableMCRecoTrackParticleAssociation.h>

Public Member Functions

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

Friends

class MCRecoTrackParticleAssociationCollection
 
class MCRecoTrackParticleAssociationMutableCollectionIterator
 
class MCRecoTrackParticleAssociation
 
void swap (MutableMCRecoTrackParticleAssociation &a, MutableMCRecoTrackParticleAssociation &b)
 

Detailed Description

Association between a Track and a MCParticle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ MutableMCRecoTrackParticleAssociation() [1/4]

eicd::MutableMCRecoTrackParticleAssociation::MutableMCRecoTrackParticleAssociation ( )

default constructor

◆ MutableMCRecoTrackParticleAssociation() [2/4]

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

◆ MutableMCRecoTrackParticleAssociation() [3/4]

eicd::MutableMCRecoTrackParticleAssociation::MutableMCRecoTrackParticleAssociation ( MCRecoTrackParticleAssociationObj obj)

constructor from existing MCRecoTrackParticleAssociationObj

◆ MutableMCRecoTrackParticleAssociation() [4/4]

eicd::MutableMCRecoTrackParticleAssociation::MutableMCRecoTrackParticleAssociation ( const MutableMCRecoTrackParticleAssociation other)

copy constructor

◆ ~MutableMCRecoTrackParticleAssociation()

eicd::MutableMCRecoTrackParticleAssociation::~MutableMCRecoTrackParticleAssociation ( )

destructor

Member Function Documentation

◆ clone()

MutableMCRecoTrackParticleAssociation eicd::MutableMCRecoTrackParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const eicd::Track eicd::MutableMCRecoTrackParticleAssociation::getRec ( ) const

Access the reference to the track.

◆ getRecID()

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

Access the Index of corresponding Track (position in Tracks array)

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

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

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool eicd::MutableMCRecoTrackParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ operator MCRecoTrackParticleAssociation()

eicd::MutableMCRecoTrackParticleAssociation::operator MCRecoTrackParticleAssociation ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool eicd::MutableMCRecoTrackParticleAssociation::operator== ( const MCRecoTrackParticleAssociation other) const

◆ operator==() [2/2]

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

◆ setRec()

void eicd::MutableMCRecoTrackParticleAssociation::setRec ( eicd::Track  value)

Set the reference to the track.

◆ setRecID()

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

Set the Index of corresponding Track (position in Tracks array)

◆ setSim()

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

Set the reference to the Monte-Carlo particle.

◆ setSimID()

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

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

◆ setWeight()

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

Set the weight of this association.

◆ unlink()

void eicd::MutableMCRecoTrackParticleAssociation::unlink ( )
inline

disconnect from MCRecoTrackParticleAssociationObj instance

Friends And Related Function Documentation

◆ MCRecoTrackParticleAssociation

friend class MCRecoTrackParticleAssociation
friend

◆ MCRecoTrackParticleAssociationCollection

◆ MCRecoTrackParticleAssociationMutableCollectionIterator

◆ swap


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