CalorView.h
Go to the documentation of this file.
1 ///
2 /// \file CalorView.h
3 /// \brief A view showing calorimetric particle ID information.
4 /// \author msoderbe@syr.edu
5 ///
6 
7 #ifndef EVD_CALORVIEW_H
8 #define EVD_CALORVIEW_H
9 
10 #include "RQ_OBJECT.h"
11 
12 #include "nuevdb/EventDisplayBase/Canvas.h"
13 
14 namespace evd {
15 
16  class CalorPad;
17 
18  /// View showing calorimetric particle ID information
19 
20  class CalorView : public evdb::Canvas {
21 
22  public:
23 
24  RQ_OBJECT("evd::CalorView")
25 
26  public:
27  // Constructor, destructor.
28  CalorView(TGMainFrame* mf);
29  virtual ~CalorView();
30 
31  // Required methods.
32  const char* Description() const { return "Calorimetric PID Display"; }
33  const char* PrintTag() const { return "larcalor"; }
34  void Draw(const char* opt="");
35  void CloseWindow();
36 
37  private:
38 
39  CalorPad* fDeDxPad; ///< Graphics pad for dEdx vs. Res. range
40  CalorPad* fKEPad; ///< Graphics pad for KE vs. Total range
41 
42  };
43 }
44 
45 #endif
46 ////////////////////////////////////////////////////////////////////////
const char * Description() const
Definition: CalorView.h:32
opt
Definition: train.py:196
CalorPad * fDeDxPad
Graphics pad for dEdx vs. Res. range.
Definition: CalorView.h:39
CalorPad * fKEPad
Graphics pad for KE vs. Total range.
Definition: CalorView.h:40
void Draw(const char *opt="")
Definition: CalorView.cxx:52
LArSoft includes.
Definition: InfoTransfer.h:33
void CloseWindow()
Definition: CalorView.cxx:45
A drawing pad showing calorimetric particle ID information.
Definition: CalorPad.h:21
virtual ~CalorView()
Definition: CalorView.cxx:38
View showing calorimetric particle ID information.
Definition: CalorView.h:20
CalorView(TGMainFrame *mf)
Definition: CalorView.cxx:16
const char * PrintTag() const
Definition: CalorView.h:33