EICd
EIC data model
|
#include <ReconstructedParticleConst.h>
Public Member Functions | |
ConstReconstructedParticle () | |
default constructor More... | |
ConstReconstructedParticle (eic::Index ID, eic::VectorXYZ p, eic::VectorXYZ v, float time, std::int32_t pid, std::int16_t status, std::int16_t charge, eic::Weight weight, eic::Direction direction, float momentum, float energy, float mass) | |
ConstReconstructedParticle (ReconstructedParticleObj *obj) | |
constructor from existing ReconstructedParticleObj More... | |
ConstReconstructedParticle (const ConstReconstructedParticle &other) | |
copy constructor More... | |
ConstReconstructedParticle & | operator= (const ConstReconstructedParticle &other) |
copy-assignment operator More... | |
ConstReconstructedParticle | clone () const |
support cloning (deep-copy) More... | |
~ConstReconstructedParticle () | |
destructor More... | |
const eic::Index & | ID () const |
Access the Unique particle index. More... | |
const eic::VectorXYZ & | p () const |
Access the momentum vector [GeV]. More... | |
const eic::VectorXYZ & | v () const |
Access the vertex [mm]. More... | |
const float & | time () const |
Access the Time in [ns]. More... | |
const std::int32_t & | pid () const |
Access the PID of reconstructed particle. More... | |
const std::int16_t & | status () const |
Access the Status code. More... | |
const std::int16_t & | charge () const |
Access the Particle charge (or sign) More... | |
const eic::Weight & | weight () const |
Access the Particle weight, e.g. from PID algorithm [0-1]. More... | |
const eic::Direction & | direction () const |
Access the Direction (theta/phi of this particle [mrad]) More... | |
const float & | momentum () const |
Access the particle 3-momentum magnitude [GeV]. More... | |
const float & | energy () const |
Access the Particle energy, consistent with PID assigment [GeV]. More... | |
const float & | mass () const |
Access the The mass of the particle in [GeV]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from ReconstructedParticleObj instance More... | |
bool | operator== (const ConstReconstructedParticle &other) const |
bool | operator== (const ReconstructedParticle &other) const |
bool | operator< (const ConstReconstructedParticle &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ReconstructedParticle |
class | ReconstructedParticleCollection |
class | ReconstructedParticleConstCollectionIterator |
EIC Reconstructed Particle
eic::ConstReconstructedParticle::ConstReconstructedParticle | ( | ) |
default constructor
eic::ConstReconstructedParticle::ConstReconstructedParticle | ( | eic::Index | ID, |
eic::VectorXYZ | p, | ||
eic::VectorXYZ | v, | ||
float | time, | ||
std::int32_t | pid, | ||
std::int16_t | status, | ||
std::int16_t | charge, | ||
eic::Weight | weight, | ||
eic::Direction | direction, | ||
float | momentum, | ||
float | energy, | ||
float | mass | ||
) |
eic::ConstReconstructedParticle::ConstReconstructedParticle | ( | ReconstructedParticleObj * | obj | ) |
constructor from existing ReconstructedParticleObj
eic::ConstReconstructedParticle::ConstReconstructedParticle | ( | const ConstReconstructedParticle & | other | ) |
copy constructor
eic::ConstReconstructedParticle::~ConstReconstructedParticle | ( | ) |
destructor
const std::int16_t & eic::ConstReconstructedParticle::charge | ( | ) | const |
Access the Particle charge (or sign)
ConstReconstructedParticle eic::ConstReconstructedParticle::clone | ( | ) | const |
support cloning (deep-copy)
const eic::Direction & eic::ConstReconstructedParticle::direction | ( | ) | const |
Access the Direction (theta/phi of this particle [mrad])
const float & eic::ConstReconstructedParticle::energy | ( | ) | const |
Access the Particle energy, consistent with PID assigment [GeV].
const podio::ObjectID eic::ConstReconstructedParticle::getObjectID | ( | ) | const |
const eic::Index & eic::ConstReconstructedParticle::ID | ( | ) | const |
Access the Unique particle index.
|
inline |
bool eic::ConstReconstructedParticle::isAvailable | ( | ) | const |
check whether the object is actually available
const float & eic::ConstReconstructedParticle::mass | ( | ) | const |
Access the The mass of the particle in [GeV].
const float & eic::ConstReconstructedParticle::momentum | ( | ) | const |
Access the particle 3-momentum magnitude [GeV].
|
inline |
ConstReconstructedParticle & eic::ConstReconstructedParticle::operator= | ( | const ConstReconstructedParticle & | other | ) |
copy-assignment operator
|
inline |
bool eic::ConstReconstructedParticle::operator== | ( | const ReconstructedParticle & | other | ) | const |
const eic::VectorXYZ & eic::ConstReconstructedParticle::p | ( | ) | const |
Access the momentum vector [GeV].
const std::int32_t & eic::ConstReconstructedParticle::pid | ( | ) | const |
Access the PID of reconstructed particle.
const std::int16_t & eic::ConstReconstructedParticle::status | ( | ) | const |
Access the Status code.
const float & eic::ConstReconstructedParticle::time | ( | ) | const |
Access the Time in [ns].
|
inline |
disconnect from ReconstructedParticleObj instance
const eic::VectorXYZ & eic::ConstReconstructedParticle::v | ( | ) | const |
Access the vertex [mm].
const eic::Weight & eic::ConstReconstructedParticle::weight | ( | ) | const |
Access the Particle weight, e.g. from PID algorithm [0-1].
|
friend |
|
friend |
|
friend |