00001
00002
00003
00004
00005
00007
00008
00009
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00024
00025 #ifndef TpcMapQAUtilities_h
00026 #define TpcMapQAUtilities_h
00027
00028 #include "StThreeVectorD.hh"
00029
00030
00031 struct HitMapQAKey {
00032 bool operator==(const HitMapQAKey&) const;
00033 int sector;
00034 int padrow;
00035 };
00036
00037
00038 struct MapQAKeyLessThan{
00039 bool operator() (const HitMapQAKey&, const HitMapQAKey&) const;
00040 };
00041
00042
00043 class PadrowLocation {
00044 public:
00045 PadrowLocation();
00046 PadrowLocation(const StThreeVectorD&, const StThreeVectorD&, const StThreeVectorD&);
00047 virtual ~PadrowLocation();
00048
00049
00050 const StThreeVectorD& outsidePoint() const;
00051 const StThreeVectorD& centerPoint() const;
00052 const StThreeVectorD& insidePoint() const;
00053 void print() const;
00054
00055 private:
00056 StThreeVectorD m_TopPoint;
00057 StThreeVectorD m_MidPoint;
00058 StThreeVectorD m_BotPoint;
00059 };
00060
00061 #endif