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 gar {
15 namespace evd {
16 
17  class CalorPad;
18 
19  /// View showing calorimetric particle ID information
20 
21  class CalorView : public evdb::Canvas {
22 
23  public:
24 
25  RQ_OBJECT("gar::evd::CalorView")
26 
27  public:
28  // Constructor, destructor.
29  CalorView(TGMainFrame* mf);
30  virtual ~CalorView();
31 
32  // Required methods.
33  const char* Description() const { return "Calorimetric PID Display"; }
34  const char* PrintTag() const { return "larcalor"; }
35  void Draw(const char* opt="");
36  void CloseWindow();
37 
38  private:
39 
40  CalorPad* fDeDxPad; ///< Graphics pad for dEdx vs. Res. range
41  CalorPad* fKEPad; ///< Graphics pad for KE vs. Total range
42 
43  };
44 }
45 }
46 #endif
47 ////////////////////////////////////////////////////////////////////////
opt
Definition: train.py:196
A drawing pad showing calorimetric particle ID information.
Definition: CalorPad.h:21
CalorPad * fDeDxPad
Graphics pad for dEdx vs. Res. range.
Definition: CalorView.h:40
CalorPad * fKEPad
Graphics pad for KE vs. Total range.
Definition: CalorView.h:41
const char * PrintTag() const
Definition: CalorView.h:34
virtual ~CalorView()
Definition: CalorView.cxx:44
LArSoft includes.
Definition: InfoTransfer.h:33
const char * Description() const
Definition: CalorView.h:33
General GArSoft Utilities.
View showing calorimetric particle ID information.
Definition: CalorView.h:21
CalorView(TGMainFrame *mf)
Definition: CalorView.cxx:22
void Draw(const char *opt="")
Definition: CalorView.cxx:58