HardwareView.h
Go to the documentation of this file.
1 ///
2 /// \file HardwareView.h
3 /// \brief A view showing hits by hardware address
4 /// \author messier@indiana.edu
5 /// \version $Id: HardwareView.h,v 1.1 2011-03-11 23:13:27 messier Exp $
6 ///
7 #ifndef EVD_HARDWAREVIEW_H
8 #define EVD_HARDWAREVIEW_H
10 #include "RQ_OBJECT.h"
11 
12 namespace evd {
13  class TQPad;
14  class HeaderPad;
15  class HardwarePad;
16 
17  /// View of event
18  class HardwareView : public evdb::Canvas {
19  public:
20  RQ_OBJECT("evd::HardwareView")
21  public:
22  HardwareView(TGMainFrame* mf);
23  ~HardwareView();
24 
25  const char* Description() const { return "Hardware View"; }
26  const char* PrintTag() const { return "hardware"; }
27  void Draw(const char* opt="");
28 
29  private:
30  HeaderPad* fHeaderPad; ///< Show header information
31  TQPad* fRawQ; ///< Histogram of raw charges
32  TQPad* fRawT; ///< Histogram of raw times
33  //TQPad* fCalQ; ///< Histogram of calibrated charges
34  //TQPad* fCalT; ///< Histogram of calibrated times
35  HardwarePad* fHardwarePad; ///< Hits by hardware address
36  };
37 }
38 #endif
39 ////////////////////////////////////////////////////////////////////////
HardwareView(TGMainFrame *mf)
View of event.
Definition: HardwareView.h:18
HeaderPad * fHeaderPad
Show header information.
Definition: HardwareView.h:30
TQPad * fRawT
Histogram of raw times.
Definition: HardwareView.h:32
Base class for define a detector display.
HardwarePad * fHardwarePad
Hits by hardware address.
Definition: HardwareView.h:35
nova event display
A drawing pad for an XZ or ZY.
Definition: HardwarePad.h:18
const char * Description() const
Definition: HardwareView.h:25
void Draw(const char *opt="")
TQPad * fRawQ
Histogram of raw charges.
Definition: HardwareView.h:31
const char * PrintTag() const
Definition: HardwareView.h:26