19 #ifndef PNDRICHTSPDHIT_H 20 #define PNDRICHTSPDHIT_H 23 #include "FairTimeStamp.h" 30 out <<
"PndRichTSPDHi in: " << hit.
GetSensorId() <<
", from Point(s) ";
32 for (
unsigned int i = 0;
i < indices.size();
i++) {
33 out << indices[
i] <<
" ";
44 PndRichTSPDHit(Int_t detID, Int_t sensorId, TVector3 pos, TVector3 dpos, Double_t time, Double_t timeThreshold);
50 virtual void Print(
const Option_t *opt =
"")
const;
65 AddLink(FairLink(
"PndRichPDHit", index));
71 AddLinks(FairMultiLinkedData(
"PndRichPDHit", index));
74 virtual bool equal(FairTimeStamp *data)
114 #endif // PNDRICHTSPDHIT_H virtual bool operator>(const PndRichTSPDHit &hit) const
virtual bool equal(FairTimeStamp *data)
Int_t GetSensorId() const
virtual ~PndRichTSPDHit()
virtual Double_t GetTimeThreshold()
std::vector< Int_t > GetIndices() const
std::vector< Int_t > fIndex
virtual Double_t GetTime()
virtual bool operator==(const PndRichTSPDHit &hit) const
void AddIndex(std::vector< Int_t > index)
virtual void Print(const Option_t *opt="") const
virtual bool operator<(const PndRichTSPDHit &hit) const
friend std::ostream & operator<<(std::ostream &out, PndRichTSPDHit &hit)