/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-45/MdcTrkRecon/MdcPlotHits.h

Go to the documentation of this file.
00001 // MdcPlotHits.h
00002 //  handle hit plotting, via MdcDisplay
00003 
00004 // Interface Dependencies ----------------------------------------------
00005 
00006 #ifndef MDCPLOTHITS_HH
00007 #define MDCPLOTHITS_HH
00008 #ifdef MDCDISPLAY
00009 
00010 //  End Interface Dependencies -----------------------------------------
00011 
00012 class TrkHitOnTrk;
00013 class MdcHit;
00014 template <class T> class HepAList;
00015 
00016 // Class definition//
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   //  void plotinforight(const MdcHit *hit) const;
00028   //  void plotinfoleft(const MdcHit *hit) const;
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 

Generated on Tue Nov 29 23:13:33 2016 for BOSS_7.0.2 by  doxygen 1.4.7