34 #ifndef PNDLMDHITPAIR_HH 35 #define PNDLMDHITPAIR_HH 48 PndLmdHitPair(Double_t col1, Double_t row1, Int_t id1, Double_t col2, Double_t row2, Int_t id2);
49 PndLmdHitPair(
const TVector3 &hit1,
const TVector3 &hit2, Int_t id1, Int_t id2);
58 Double_t _col1, _col2, _row1, _row2, _distance;
59 TVector3 _hit1, _hit2;
61 Int_t _moduleID, _overlapID;
62 bool sane, checked, hit1present, hit2present;
67 Int_t
getId1()
const {
return _id1; }
68 Int_t
getId2()
const {
return _id2; }
85 const TVector3 &
getHit1()
const {
return _hit1; }
94 const TVector3 &
getHit2()
const {
return _hit2; }
152 _moduleID = moduleId;
166 _distance = distance;
174 _overlapID = overlapId;
void setHit2(const TVector3 &hit2)
const TVector3 & getHit2() const
void setDistance(Double_t distance)
void setModuleId(Int_t moduleId)
void setHit1(const TVector3 &hit1)
bool hitSensors(Int_t first, Int_t second)
Int_t getOverlapId() const
void setCol1(Double_t col1)
ClassDef(PndLmdHitPair, 16)
void setRow2(Double_t row2)
bool isHit2present() const
void setCol2(Double_t col2)
Int_t getModuleId() const
void setRow1(Double_t row1)
void setPixelHits(double col1, double row1, double col2, double row2)
void setOverlapId(Int_t overlapId)
Double_t getDistance() const
bool operator==(const PndLmdHitPair &rhs)
bool isHit1present() const
const TVector3 & getHit1() const