22 #include "TpcMapUtilities.h"
25 bool HitMapQAKey::operator==(
const HitMapQAKey& key2)
const
27 if (this->sector==key2.sector && this->padrow==key2.padrow)
36 if (key1.sector > key2.sector) {val =
false;}
37 if (key1.sector < key2.sector) {val =
true;}
38 if (key1.sector == key2.sector) {
39 if (key1.padrow > key2.padrow) {val =
false;}
40 if (key1.padrow < key2.padrow) {val =
true;}
41 if (key1.padrow == key2.padrow) {val =
false;}
47 PadrowLocation::PadrowLocation() {};
56 PadrowLocation::~PadrowLocation() {};
58 const StThreeVectorD& PadrowLocation::outsidePoint()
const {
return m_TopPoint;}
59 const StThreeVectorD& PadrowLocation::centerPoint()
const {
return m_MidPoint;}
60 const StThreeVectorD& PadrowLocation::insidePoint()
const {
return m_BotPoint;}
62 void PadrowLocation::print()
const
64 cout<<m_TopPoint<<
"\t"<<m_MidPoint<<
"\t"<<m_BotPoint<<endl;