HwDetLabel.h
Go to the documentation of this file.
1 #ifndef OM_HWDETLABEL_H
2 #define OM_HWDETLABEL_H
3 #include <list>
4 class TLine;
5 class TText;
6 class TH1;
7 
8 namespace om {
9  ///
10  /// Draw labels on hardware detector view histograms
11  ///
12  class HwDetLabel {
13  public:
14  HwDetLabel(bool show_feb_boundaries=true);
15  ~HwDetLabel();
16  void Config(const TH1* h);
17  void Draw();
18  private:
19  void Clear();
20  void MakeHorizontalLines();
21  void MakeVerticalLines();
22  void MakeDBLabels();
23  void MakeDCMLabels();
24  private:
25  bool fShowFEBBoundaries; ///< Should we mark off the FEB boundaries?
26  int fNdiblock;
27  int fNdcm;
28  std::list<TLine*> fLine; ///< Collection of line lables
29  std::list<TText*> fText; ///< Collection of text labels
30  };
31 }
32 
33 #endif
34 ////////////////////////////////////////////////////////////////////////
HwDetLabel(bool show_feb_boundaries=true)
Definition: HwDetLabel.cxx:13
void MakeHorizontalLines()
Definition: HwDetLabel.cxx:74
std::list< TLine * > fLine
Collection of line lables.
Definition: HwDetLabel.h:28
void MakeDBLabels()
Definition: HwDetLabel.cxx:127
bool fShowFEBBoundaries
Should we mark off the FEB boundaries?
Definition: HwDetLabel.h:25
std::list< TText * > fText
Collection of text labels.
Definition: HwDetLabel.h:29
void MakeVerticalLines()
Definition: HwDetLabel.cxx:101
void MakeDCMLabels()
Definition: HwDetLabel.cxx:146
void Config(const TH1 *h)
Definition: HwDetLabel.cxx:21
Online Monitoring package header.