22 #ifndef PNDLMDHITPAIR_HH 23 #define PNDLMDHITPAIR_HH 36 PndLmdHitPair(Double_t col1, Double_t row1, Int_t id1, Double_t col2, Double_t row2, Int_t id2);
37 PndLmdHitPair(
const TVector3 &hit1,
const TVector3 &hit2, Int_t id1, Int_t id2);
46 Double_t _col1, _col2, _row1, _row2, _distance;
47 TVector3 _hit1, _hit2;
49 Int_t _moduleId, _overlapID;
50 bool sane, checked, hit1present, hit2present;
55 Int_t
getId1()
const {
return _id1; }
56 Int_t
getId2()
const {
return _id2; }
73 const TVector3 &
getHit1()
const {
return _hit1; }
82 const TVector3 &
getHit2()
const {
return _hit2; }
91 void setPixelHits(
double col1,
double row1,
double col2,
double row2)
140 _moduleId = moduleId;
154 _distance = distance;
162 _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