EICd
EIC data model
eic::ReconstructedParticleRelations Class Reference

#include <ReconstructedParticleRelations.h>

Public Member Functions

 ReconstructedParticleRelations ()
 default constructor More...
 
 ReconstructedParticleRelations (eic::Index recID, eic::Index vertexID, eic::Index trackID, eic::Index ecalID, eic::Index hcalID, eic::Index cherID, eic::Index tofID, eic::Index mcID)
 
 ReconstructedParticleRelations (ReconstructedParticleRelationsObj *obj)
 constructor from existing ReconstructedParticleRelationsObj More...
 
 ReconstructedParticleRelations (const ReconstructedParticleRelations &other)
 copy constructor More...
 
ReconstructedParticleRelationsoperator= (const ReconstructedParticleRelations &other)
 copy-assignment operator More...
 
ReconstructedParticleRelations clone () const
 support cloning (deep-copy) More...
 
 ~ReconstructedParticleRelations ()
 destructor More...
 
 operator ConstReconstructedParticleRelations () const
 conversion to const object More...
 
const eic::IndexrecID () const
 Access the ReconstructedParticle index. More...
 
const eic::IndexvertexID () const
 Access the Start vertex for this particle. More...
 
const eic::IndextrackID () const
 Access the Index of the associated track, if any. More...
 
const eic::IndexecalID () const
 Access the Index of associated pos/barrel/neg ECAL cluster, if any. More...
 
const eic::IndexhcalID () const
 Access the Index of associated pos/barrel/neg HCAL cluster, if any. More...
 
const eic::IndexcherID () const
 Access the Index of associated pos/barrel/neg Cherenkov info, if any. More...
 
const eic::IndextofID () const
 Access the Index of the associated TOF info, if any. More...
 
const eic::IndexmcID () const
 Access the Index of the associated MC particle, if any. More...
 
void recID (eic::Index value)
 Set the ReconstructedParticle index. More...
 
eic::IndexrecID ()
 Get reference to ReconstructedParticle index. More...
 
void vertexID (eic::Index value)
 Set the Start vertex for this particle. More...
 
eic::IndexvertexID ()
 Get reference to Start vertex for this particle. More...
 
void trackID (eic::Index value)
 Set the Index of the associated track, if any. More...
 
eic::IndextrackID ()
 Get reference to Index of the associated track, if any. More...
 
void ecalID (eic::Index value)
 Set the Index of associated pos/barrel/neg ECAL cluster, if any. More...
 
eic::IndexecalID ()
 Get reference to Index of associated pos/barrel/neg ECAL cluster, if any. More...
 
void hcalID (eic::Index value)
 Set the Index of associated pos/barrel/neg HCAL cluster, if any. More...
 
eic::IndexhcalID ()
 Get reference to Index of associated pos/barrel/neg HCAL cluster, if any. More...
 
void cherID (eic::Index value)
 Set the Index of associated pos/barrel/neg Cherenkov info, if any. More...
 
eic::IndexcherID ()
 Get reference to Index of associated pos/barrel/neg Cherenkov info, if any. More...
 
void tofID (eic::Index value)
 Set the Index of the associated TOF info, if any. More...
 
eic::IndextofID ()
 Get reference to Index of the associated TOF info, if any. More...
 
void mcID (eic::Index value)
 Set the Index of the associated MC particle, if any. More...
 
eic::IndexmcID ()
 Get reference to Index of the associated MC particle, if any. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from ReconstructedParticleRelationsObj instance More...
 
bool operator== (const ReconstructedParticleRelations &other) const
 
bool operator== (const ConstReconstructedParticleRelations &other) const
 
bool operator< (const ReconstructedParticleRelations &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class ReconstructedParticleRelationsCollection
 
class ReconstructedParticleRelationsCollectionIterator
 
class ConstReconstructedParticleRelations
 

Detailed Description

Relational info associated with our reconstructed particle

Author
: S. Joosten

Constructor & Destructor Documentation

◆ ReconstructedParticleRelations() [1/4]

eic::ReconstructedParticleRelations::ReconstructedParticleRelations ( )

default constructor

◆ ReconstructedParticleRelations() [2/4]

eic::ReconstructedParticleRelations::ReconstructedParticleRelations ( eic::Index  recID,
eic::Index  vertexID,
eic::Index  trackID,
eic::Index  ecalID,
eic::Index  hcalID,
eic::Index  cherID,
eic::Index  tofID,
eic::Index  mcID 
)

◆ ReconstructedParticleRelations() [3/4]

eic::ReconstructedParticleRelations::ReconstructedParticleRelations ( ReconstructedParticleRelationsObj obj)

constructor from existing ReconstructedParticleRelationsObj

◆ ReconstructedParticleRelations() [4/4]

eic::ReconstructedParticleRelations::ReconstructedParticleRelations ( const ReconstructedParticleRelations other)

copy constructor

◆ ~ReconstructedParticleRelations()

eic::ReconstructedParticleRelations::~ReconstructedParticleRelations ( )

destructor

Member Function Documentation

◆ cherID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::cherID ( )

Get reference to Index of associated pos/barrel/neg Cherenkov info, if any.

◆ cherID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::cherID ( ) const

Access the Index of associated pos/barrel/neg Cherenkov info, if any.

◆ cherID() [3/3]

void eic::ReconstructedParticleRelations::cherID ( eic::Index  value)

Set the Index of associated pos/barrel/neg Cherenkov info, if any.

◆ clone()

ReconstructedParticleRelations eic::ReconstructedParticleRelations::clone ( ) const

support cloning (deep-copy)

◆ ecalID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::ecalID ( )

Get reference to Index of associated pos/barrel/neg ECAL cluster, if any.

◆ ecalID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::ecalID ( ) const

Access the Index of associated pos/barrel/neg ECAL cluster, if any.

◆ ecalID() [3/3]

void eic::ReconstructedParticleRelations::ecalID ( eic::Index  value)

Set the Index of associated pos/barrel/neg ECAL cluster, if any.

◆ getObjectID()

const podio::ObjectID eic::ReconstructedParticleRelations::getObjectID ( ) const

◆ hcalID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::hcalID ( )

Get reference to Index of associated pos/barrel/neg HCAL cluster, if any.

◆ hcalID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::hcalID ( ) const

Access the Index of associated pos/barrel/neg HCAL cluster, if any.

◆ hcalID() [3/3]

void eic::ReconstructedParticleRelations::hcalID ( eic::Index  value)

Set the Index of associated pos/barrel/neg HCAL cluster, if any.

◆ id()

unsigned int eic::ReconstructedParticleRelations::id ( ) const
inline

◆ isAvailable()

bool eic::ReconstructedParticleRelations::isAvailable ( ) const

check whether the object is actually available

◆ mcID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::mcID ( )

Get reference to Index of the associated MC particle, if any.

◆ mcID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::mcID ( ) const

Access the Index of the associated MC particle, if any.

◆ mcID() [3/3]

void eic::ReconstructedParticleRelations::mcID ( eic::Index  value)

Set the Index of the associated MC particle, if any.

◆ operator ConstReconstructedParticleRelations()

eic::ReconstructedParticleRelations::operator ConstReconstructedParticleRelations ( ) const

conversion to const object

◆ operator<()

bool eic::ReconstructedParticleRelations::operator< ( const ReconstructedParticleRelations other) const
inline

◆ operator=()

ReconstructedParticleRelations & eic::ReconstructedParticleRelations::operator= ( const ReconstructedParticleRelations other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::ReconstructedParticleRelations::operator== ( const ConstReconstructedParticleRelations other) const

◆ operator==() [2/2]

bool eic::ReconstructedParticleRelations::operator== ( const ReconstructedParticleRelations other) const
inline

◆ recID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::recID ( )

Get reference to ReconstructedParticle index.

◆ recID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::recID ( ) const

Access the ReconstructedParticle index.

◆ recID() [3/3]

void eic::ReconstructedParticleRelations::recID ( eic::Index  value)

Set the ReconstructedParticle index.

◆ tofID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::tofID ( )

Get reference to Index of the associated TOF info, if any.

◆ tofID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::tofID ( ) const

Access the Index of the associated TOF info, if any.

◆ tofID() [3/3]

void eic::ReconstructedParticleRelations::tofID ( eic::Index  value)

Set the Index of the associated TOF info, if any.

◆ trackID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::trackID ( )

Get reference to Index of the associated track, if any.

◆ trackID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::trackID ( ) const

Access the Index of the associated track, if any.

◆ trackID() [3/3]

void eic::ReconstructedParticleRelations::trackID ( eic::Index  value)

Set the Index of the associated track, if any.

◆ unlink()

void eic::ReconstructedParticleRelations::unlink ( )
inline

disconnect from ReconstructedParticleRelationsObj instance

◆ vertexID() [1/3]

eic::Index & eic::ReconstructedParticleRelations::vertexID ( )

Get reference to Start vertex for this particle.

◆ vertexID() [2/3]

const eic::Index & eic::ReconstructedParticleRelations::vertexID ( ) const

Access the Start vertex for this particle.

◆ vertexID() [3/3]

void eic::ReconstructedParticleRelations::vertexID ( eic::Index  value)

Set the Start vertex for this particle.

Friends And Related Function Documentation

◆ ConstReconstructedParticleRelations

◆ ReconstructedParticleRelationsCollection

◆ ReconstructedParticleRelationsCollectionIterator


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