Go to the documentation of this file.
3 #ifndef EICD_CalorimeterHit_H
4 #define EICD_CalorimeterHit_H
11 #include "podio/ObjectID.h"
59 const std::int64_t&
cellID()
const;
62 const std::int32_t&
layer()
const;
65 const std::int32_t&
sector()
const;
68 const float&
energy()
const;
74 const float&
time()
const;
93 void cellID(std::int64_t value);
96 void layer(std::int32_t value);
99 void sector(std::int32_t value);
108 void time(
float value);
149 std::ostream&
operator<<(std::ostream& o,
const ConstCalorimeterHit& value);
std::ostream & operator<<(std::ostream &o, const ConstBasicParticle &value)
Definition: BasicParticle.cc:102
const eic::VectorXYZ & dimension() const
Access the The dimension information of the cell [mm].
Definition: CalorimeterHit.cc:66
CalorimeterHit & operator=(const CalorimeterHit &other)
copy-assignment operator
Definition: CalorimeterHit.cc:38
Definition: BasicParticle.cc:13
const podio::ObjectID getObjectID() const
Definition: CalorimeterHit.cc:97
Definition: CalorimeterHitObj.h:18
Definition: CalorimeterHitCollection.h:29
friend class ConstCalorimeterHit
Definition: CalorimeterHit.h:27
const eic::VectorXYZ & position() const
Access the The global position of the hit in world coordinates [mm].
Definition: CalorimeterHit.cc:64
~CalorimeterHit()
destructor
Definition: CalorimeterHit.cc:52
CalorimeterHit clone() const
support cloning (deep-copy)
Definition: CalorimeterHit.cc:48
const std::int32_t & sector() const
Access the sector for this hit.
Definition: CalorimeterHit.cc:60
const eic::VectorXYZ & local() const
Access the The local position of the hit in detector coordinates [mm].
Definition: CalorimeterHit.cc:65
Definition: CalorimeterHitConst.h:21
const float & energy() const
Access the The energy for this hit in [GeV].
Definition: CalorimeterHit.cc:61
const eic::Index & ID() const
Access the unique ID for this hit.
Definition: CalorimeterHit.cc:57
const std::int64_t & cellID() const
Access the The detector specific (geometrical) cell id.
Definition: CalorimeterHit.cc:58
bool isAvailable() const
check whether the object is actually available
Definition: CalorimeterHit.cc:90
Definition: CalorimeterHit.h:23
const std::int32_t & layer() const
Access the layer for this hit.
Definition: CalorimeterHit.cc:59
bool operator==(const CalorimeterHit &other) const
Definition: CalorimeterHit.h:135
bool operator<(const CalorimeterHit &other) const
Definition: CalorimeterHit.h:139
const float & time() const
Access the The time of the hit in [ns].
Definition: CalorimeterHit.cc:63
unsigned int id() const
Definition: CalorimeterHit.h:141
void unlink()
disconnect from CalorimeterHitObj instance
Definition: CalorimeterHit.h:133
Definition: CalorimeterHitCollection.h:76
CalorimeterHit()
default constructor
Definition: CalorimeterHit.cc:16
Definition: VectorXYZ.h:13
const float & energyError() const
Access the Error on energy [GeV].
Definition: CalorimeterHit.cc:62