EICd
EIC data model
|
#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... | |
ReconstructedParticleRelations & | operator= (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::Index & | recID () const |
Access the ReconstructedParticle index. More... | |
const eic::Index & | vertexID () const |
Access the Start vertex for this particle. More... | |
const eic::Index & | trackID () const |
Access the Index of the associated track, if any. More... | |
const eic::Index & | ecalID () const |
Access the Index of associated pos/barrel/neg ECAL cluster, if any. More... | |
const eic::Index & | hcalID () const |
Access the Index of associated pos/barrel/neg HCAL cluster, if any. More... | |
const eic::Index & | cherID () const |
Access the Index of associated pos/barrel/neg Cherenkov info, if any. More... | |
const eic::Index & | tofID () const |
Access the Index of the associated TOF info, if any. More... | |
const eic::Index & | mcID () const |
Access the Index of the associated MC particle, if any. More... | |
void | recID (eic::Index value) |
Set the ReconstructedParticle index. More... | |
eic::Index & | recID () |
Get reference to ReconstructedParticle index. More... | |
void | vertexID (eic::Index value) |
Set the Start vertex for this particle. More... | |
eic::Index & | vertexID () |
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::Index & | trackID () |
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::Index & | ecalID () |
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::Index & | hcalID () |
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::Index & | cherID () |
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::Index & | tofID () |
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::Index & | mcID () |
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 |
Relational info associated with our reconstructed particle
eic::ReconstructedParticleRelations::ReconstructedParticleRelations | ( | ) |
default constructor
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 | ||
) |
eic::ReconstructedParticleRelations::ReconstructedParticleRelations | ( | ReconstructedParticleRelationsObj * | obj | ) |
constructor from existing ReconstructedParticleRelationsObj
eic::ReconstructedParticleRelations::ReconstructedParticleRelations | ( | const ReconstructedParticleRelations & | other | ) |
copy constructor
eic::ReconstructedParticleRelations::~ReconstructedParticleRelations | ( | ) |
destructor
eic::Index & eic::ReconstructedParticleRelations::cherID | ( | ) |
Get reference to Index of associated pos/barrel/neg Cherenkov info, if any.
const eic::Index & eic::ReconstructedParticleRelations::cherID | ( | ) | const |
Access the Index of associated pos/barrel/neg Cherenkov info, if any.
void eic::ReconstructedParticleRelations::cherID | ( | eic::Index | value | ) |
Set the Index of associated pos/barrel/neg Cherenkov info, if any.
ReconstructedParticleRelations eic::ReconstructedParticleRelations::clone | ( | ) | const |
support cloning (deep-copy)
eic::Index & eic::ReconstructedParticleRelations::ecalID | ( | ) |
Get reference to Index of associated pos/barrel/neg ECAL cluster, if any.
const eic::Index & eic::ReconstructedParticleRelations::ecalID | ( | ) | const |
Access the Index of associated pos/barrel/neg ECAL cluster, if any.
void eic::ReconstructedParticleRelations::ecalID | ( | eic::Index | value | ) |
Set the Index of associated pos/barrel/neg ECAL cluster, if any.
const podio::ObjectID eic::ReconstructedParticleRelations::getObjectID | ( | ) | const |
eic::Index & eic::ReconstructedParticleRelations::hcalID | ( | ) |
Get reference to Index of associated pos/barrel/neg HCAL cluster, if any.
const eic::Index & eic::ReconstructedParticleRelations::hcalID | ( | ) | const |
Access the Index of associated pos/barrel/neg HCAL cluster, if any.
void eic::ReconstructedParticleRelations::hcalID | ( | eic::Index | value | ) |
Set the Index of associated pos/barrel/neg HCAL cluster, if any.
|
inline |
bool eic::ReconstructedParticleRelations::isAvailable | ( | ) | const |
check whether the object is actually available
eic::Index & eic::ReconstructedParticleRelations::mcID | ( | ) |
Get reference to Index of the associated MC particle, if any.
const eic::Index & eic::ReconstructedParticleRelations::mcID | ( | ) | const |
Access the Index of the associated MC particle, if any.
void eic::ReconstructedParticleRelations::mcID | ( | eic::Index | value | ) |
Set the Index of the associated MC particle, if any.
eic::ReconstructedParticleRelations::operator ConstReconstructedParticleRelations | ( | ) | const |
conversion to const object
|
inline |
ReconstructedParticleRelations & eic::ReconstructedParticleRelations::operator= | ( | const ReconstructedParticleRelations & | other | ) |
copy-assignment operator
bool eic::ReconstructedParticleRelations::operator== | ( | const ConstReconstructedParticleRelations & | other | ) | const |
|
inline |
eic::Index & eic::ReconstructedParticleRelations::recID | ( | ) |
Get reference to ReconstructedParticle index.
const eic::Index & eic::ReconstructedParticleRelations::recID | ( | ) | const |
Access the ReconstructedParticle index.
void eic::ReconstructedParticleRelations::recID | ( | eic::Index | value | ) |
Set the ReconstructedParticle index.
eic::Index & eic::ReconstructedParticleRelations::tofID | ( | ) |
Get reference to Index of the associated TOF info, if any.
const eic::Index & eic::ReconstructedParticleRelations::tofID | ( | ) | const |
Access the Index of the associated TOF info, if any.
void eic::ReconstructedParticleRelations::tofID | ( | eic::Index | value | ) |
Set the Index of the associated TOF info, if any.
eic::Index & eic::ReconstructedParticleRelations::trackID | ( | ) |
Get reference to Index of the associated track, if any.
const eic::Index & eic::ReconstructedParticleRelations::trackID | ( | ) | const |
Access the Index of the associated track, if any.
void eic::ReconstructedParticleRelations::trackID | ( | eic::Index | value | ) |
Set the Index of the associated track, if any.
|
inline |
disconnect from ReconstructedParticleRelationsObj instance
eic::Index & eic::ReconstructedParticleRelations::vertexID | ( | ) |
Get reference to Start vertex for this particle.
const eic::Index & eic::ReconstructedParticleRelations::vertexID | ( | ) | const |
Access the Start vertex for this particle.
void eic::ReconstructedParticleRelations::vertexID | ( | eic::Index | value | ) |
Set the Start vertex for this particle.
|
friend |
|
friend |
|
friend |