HardwarePad.h
Go to the documentation of this file.
1 ///
2 /// \file HardwarePad.h
3 /// \brief Drawing pad showing hits by hardware address
4 /// \author messier@indiana.edu
5 /// \version $Id: HardwarePad.h,v 1.1 2011-03-11 23:13:27 messier Exp $
6 ///
7 #ifndef EVD_HARDWAREPAD_H
8 #define EVD_HARDWAREPAD_H
10 class TH2F;
11 namespace evdb { class View2D; }
12 
13 namespace evd {
14  class RawDataDrawer;
15  class RecoBaseDrawer;
16 
17  /// A drawing pad for an XZ or ZY
18  class HardwarePad : public DrawingPad {
19  public:
20  HardwarePad(const char* nm, const char* ti,
21  double x1, double y1,
22  double x2, double y2,
23  const char* opt);
24  ~HardwarePad();
25  void Draw(const char* opt=0);
26  void Config(int detid);
27  private:
28  int fDetId; ///< Which detector are we configured for?
29  TH2F* fHisto; ///< Histogram to draw object on
30  evdb::View2D* fView; ///< Collection of graphics objects to render
31  };
32 }
33 #endif
34 ////////////////////////////////////////////////////////////////////////
tree Draw("slc.nhit")
Float_t y1[n_points_granero]
Definition: compare.C:5
Float_t x1[n_points_granero]
Definition: compare.C:5
static constexpr Double_t nm
Definition: Munits.h:133
Manage all things related to colors for the event display.
Definition: Display3DPad.h:11
Base class for all event display drawing pads.
nova event display
A drawing pad for an XZ or ZY.
Definition: HardwarePad.h:18
Base class for event display drawing pads.
Definition: DrawingPad.h:20
evdb::View2D * fView
Collection of graphics objects to render.
Definition: HardwarePad.h:30
TH2F * fHisto
Histogram to draw object on.
Definition: HardwarePad.h:29
int fDetId
Which detector are we configured for?
Definition: HardwarePad.h:28