Go to the documentation of this file.
3 #ifndef EICD_RawTrackerHit_H
4 #define EICD_RawTrackerHit_H
10 #include "podio/ObjectID.h"
58 const std::int64_t&
cellID()
const;
61 const std::int32_t&
time()
const;
64 const std::int32_t&
charge()
const;
74 void cellID(std::int64_t value);
77 void time(std::int32_t value);
80 void charge(std::int32_t value);
106 std::ostream&
operator<<(std::ostream& o,
const ConstRawTrackerHit& value);
std::ostream & operator<<(std::ostream &o, const ConstBasicParticle &value)
Definition: BasicParticle.cc:102
Definition: RawTrackerHitObj.h:18
Definition: RawTrackerHitCollection.h:29
friend class ConstRawTrackerHit
Definition: RawTrackerHit.h:26
Definition: BasicParticle.cc:13
const std::int32_t & time() const
Access the tdc value.
Definition: RawTrackerHit.cc:53
Definition: RawTrackerHit.h:22
Definition: RawTrackerHitConst.h:20
const eic::Index & ID() const
Access the unique ID for this hit.
Definition: RawTrackerHit.cc:51
bool operator==(const RawTrackerHit &other) const
Definition: RawTrackerHit.h:92
~RawTrackerHit()
destructor
Definition: RawTrackerHit.cc:46
const std::int32_t & charge() const
Access the adc value.
Definition: RawTrackerHit.cc:54
bool operator<(const RawTrackerHit &other) const
Definition: RawTrackerHit.h:96
Definition: RawTrackerHitCollection.h:76
const podio::ObjectID getObjectID() const
Definition: RawTrackerHit.cc:76
const std::int64_t & cellID() const
Access the The detector specific (geometrical) cell id.
Definition: RawTrackerHit.cc:52
bool isAvailable() const
check whether the object is actually available
Definition: RawTrackerHit.cc:69
unsigned int id() const
Definition: RawTrackerHit.h:98
void unlink()
disconnect from RawTrackerHitObj instance
Definition: RawTrackerHit.h:90
RawTrackerHit()
default constructor
Definition: RawTrackerHit.cc:16
RawTrackerHit & operator=(const RawTrackerHit &other)
copy-assignment operator
Definition: RawTrackerHit.cc:32
RawTrackerHit clone() const
support cloning (deep-copy)
Definition: RawTrackerHit.cc:42