BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcPlotHits.h
Go to the documentation of this file.
1// MdcPlotHits.h
2// handle hit plotting, via MdcDisplay
3
4// Interface Dependencies ----------------------------------------------
5
6#ifndef MDCPLOTHITS_HH
7#define MDCPLOTHITS_HH
8#ifdef MDCDISPLAY
9
10// End Interface Dependencies -----------------------------------------
11
12class TrkHitOnTrk;
13class MdcHit;
14template <class T> class HepAList;
15
16// Class definition//
17class MdcPlotHits {
18
19public:
20 MdcPlotHits();
21 ~MdcPlotHits() { };
22
23 void plotHits(const HepAList<TrkHitOnTrk> &hitlist, double bunchTime,
24 int color = 10) const;
25 void plotAHit(const MdcHit *hit, double bunchTime,
26 int mode = -1, int color = -1, int timeIndex = 0) const;
27 // void plotinforight(const MdcHit *hit) const;
28 // void plotinfoleft(const MdcHit *hit) const;
29 void plotinfo(const MdcHit *hit, double scale, double tbunch) const;
30
31 static void setColors(int axcol, int poscol, int negcol) {
32 axialColor = axcol;
33 posStereoColor = poscol;
34 negStereoColor = negcol;
35 }
36
37private:
38 static int axialColor;
39 static int posStereoColor;
40 static int negStereoColor;
41};
42
43#endif
44#endif
45
46
47
48
49
50
51
Definition: MdcHit.h:44