00001
00002
00003
00004
00005
00006 #ifndef MDCPLOTHITS_HH
00007 #define MDCPLOTHITS_HH
00008 #ifdef MDCDISPLAY
00009
00010
00011
00012 class TrkHitOnTrk;
00013 class MdcHit;
00014 template <class T> class HepAList;
00015
00016
00017 class MdcPlotHits {
00018
00019 public:
00020 MdcPlotHits();
00021 ~MdcPlotHits() { };
00022
00023 void plotHits(const HepAList<TrkHitOnTrk> &hitlist, double bunchTime,
00024 int color = 10) const;
00025 void plotAHit(const MdcHit *hit, double bunchTime,
00026 int mode = -1, int color = -1, int timeIndex = 0) const;
00027
00028
00029 void plotinfo(const MdcHit *hit, double scale, double tbunch) const;
00030
00031 static void setColors(int axcol, int poscol, int negcol) {
00032 axialColor = axcol;
00033 posStereoColor = poscol;
00034 negStereoColor = negcol;
00035 }
00036
00037 private:
00038 static int axialColor;
00039 static int posStereoColor;
00040 static int negStereoColor;
00041 };
00042
00043 #endif
00044 #endif
00045
00046
00047
00048
00049
00050
00051