Go to the documentation of this file.
3 #ifndef EICD_ConstReconstructedParticle_H
4 #define EICD_ConstReconstructedParticle_H
12 #include "podio/ObjectID.h"
32 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);
62 const float&
time()
const;
65 const std::int32_t&
pid()
const;
68 const std::int16_t&
status()
const;
71 const std::int16_t&
charge()
const;
83 const float&
energy()
const;
86 const float&
mass()
const;
ConstReconstructedParticle clone() const
support cloning (deep-copy)
Definition: ReconstructedParticleConst.cc:50
ConstReconstructedParticle()
default constructor
Definition: ReconstructedParticleConst.cc:16
bool isAvailable() const
check whether the object is actually available
Definition: ReconstructedParticleConst.cc:75
const eic::Index & ID() const
Access the Unique particle index.
Definition: ReconstructedParticleConst.cc:57
const std::int16_t & status() const
Access the Status code.
Definition: ReconstructedParticleConst.cc:62
unsigned int id() const
Definition: ReconstructedParticleConst.h:103
const podio::ObjectID getObjectID() const
Definition: ReconstructedParticleConst.cc:82
bool operator==(const ConstReconstructedParticle &other) const
Definition: ReconstructedParticleConst.h:97
Definition: BasicParticle.cc:13
const float & momentum() const
Access the particle 3-momentum magnitude [GeV].
Definition: ReconstructedParticleConst.cc:66
Definition: ReconstructedParticleCollection.h:51
ConstReconstructedParticle & operator=(const ConstReconstructedParticle &other)
copy-assignment operator
Definition: ReconstructedParticleConst.cc:40
bool operator<(const ConstReconstructedParticle &other) const
Definition: ReconstructedParticleConst.h:101
const float & time() const
Access the Time in [ns].
Definition: ReconstructedParticleConst.cc:60
const float & mass() const
Access the The mass of the particle in [GeV].
Definition: ReconstructedParticleConst.cc:68
Definition: ReconstructedParticle.h:25
const std::int32_t & pid() const
Access the PID of reconstructed particle.
Definition: ReconstructedParticleConst.cc:61
Definition: ReconstructedParticleCollection.h:76
const eic::Weight & weight() const
Access the Particle weight, e.g. from PID algorithm [0-1].
Definition: ReconstructedParticleConst.cc:64
const eic::Direction & direction() const
Access the Direction (theta/phi of this particle [mrad])
Definition: ReconstructedParticleConst.cc:65
Definition: ReconstructedParticleConst.h:23
Definition: ReconstructedParticleObj.h:18
const eic::VectorXYZ & p() const
Access the momentum vector [GeV].
Definition: ReconstructedParticleConst.cc:58
const float & energy() const
Access the Particle energy, consistent with PID assigment [GeV].
Definition: ReconstructedParticleConst.cc:67
const eic::VectorXYZ & v() const
Access the vertex [mm].
Definition: ReconstructedParticleConst.cc:59
Definition: Direction.h:13
void unlink()
disconnect from ReconstructedParticleObj instance
Definition: ReconstructedParticleConst.h:95
Definition: VectorXYZ.h:13
~ConstReconstructedParticle()
destructor
Definition: ReconstructedParticleConst.cc:54
const std::int16_t & charge() const
Access the Particle charge (or sign)
Definition: ReconstructedParticleConst.cc:63