7 #ifndef PNDRICHTSPDHIT_H 8 #define PNDRICHTSPDHIT_H 11 #include "FairTimeStamp.h" 18 out <<
"PndRichTSPDHi in: " << hit.
GetSensorId() <<
", from Point(s) ";
20 for (
unsigned int i = 0;
i < indices.size();
i++) {
21 out << indices[
i] <<
" ";
32 PndRichTSPDHit(Int_t detID, Int_t sensorId, TVector3 pos, TVector3 dpos, Double_t time, Double_t timeThreshold);
38 virtual void Print(
const Option_t *opt =
"")
const;
53 AddLink(FairLink(
"PndRichPDHit", index));
59 AddLinks(FairMultiLinkedData(
"PndRichPDHit", index));
62 virtual bool equal(FairTimeStamp *data)
102 #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)