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

#include <MCRecoTrackParticleAssociation.h>

Public Types

using mutable_type = MutableMCRecoTrackParticleAssociation
 
using collection_type = MCRecoTrackParticleAssociationCollection
 

Public Member Functions

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

Static Public Member Functions

static MCRecoTrackParticleAssociation makeEmpty ()
 

Friends

class MutableMCRecoTrackParticleAssociation
 
class MCRecoTrackParticleAssociationCollection
 
class edm4eic::MCRecoTrackParticleAssociationCollectionData
 
class MCRecoTrackParticleAssociationCollectionIterator
 
void swap (MCRecoTrackParticleAssociation &a, MCRecoTrackParticleAssociation &b)
 

Detailed Description

Association between a Track and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoTrackParticleAssociation() [1/3]

edm4eic::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation ( )

default constructor

◆ MCRecoTrackParticleAssociation() [2/3]

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

Constructor initializing all members.

◆ MCRecoTrackParticleAssociation() [3/3]

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

copy constructor

◆ ~MCRecoTrackParticleAssociation()

edm4eic::MCRecoTrackParticleAssociation::~MCRecoTrackParticleAssociation ( )
default

destructor

Member Function Documentation

◆ clone()

MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociation::clone ( ) const

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

◆ getObjectID()

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

◆ getRec()

const edm4eic::Track edm4eic::MCRecoTrackParticleAssociation::getRec ( ) const

Access the reference to the track.

◆ getRecID()

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

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

◆ getSim()

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

Access the reference to the Monte-Carlo particle.

◆ getSimID()

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

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

◆ getWeight()

float edm4eic::MCRecoTrackParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MCRecoTrackParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociation::makeEmpty ( )
static

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool edm4eic::MCRecoTrackParticleAssociation::operator== ( const MutableMCRecoTrackParticleAssociation & other) const

◆ unlink()

void edm4eic::MCRecoTrackParticleAssociation::unlink ( )
inline

disconnect from MCRecoTrackParticleAssociationObj instance

Friends And Related Symbol Documentation

◆ edm4eic::MCRecoTrackParticleAssociationCollectionData

◆ MCRecoTrackParticleAssociationCollection

◆ MCRecoTrackParticleAssociationCollectionIterator

◆ MutableMCRecoTrackParticleAssociation

◆ swap


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