CalorPad.h
Go to the documentation of this file.
1 ///
2 /// \file CalorPad.h
3 /// \brief Drawing pad showing calorimetric particle ID information
4 /// \author msoderbe@syr.edu
5 ///
6 #ifndef EVD_CALORPAD_H
7 #define EVD_CALORPAD_H
8 
10 
11 #include <string>
12 
13 class TGraph;
14 
15 namespace evdb { class View2D; }
16 
17 namespace evd {
18 
19  /// A drawing pad showing calorimetric particle ID information
20 
21  class CalorPad : public DrawingPad {
22  public:
23  // Constructor, destructor.
24  CalorPad(const char* name, const char* title,
25  double x1, double y1,
26  double x2, double y2,
27  int curvetype);
28  ~CalorPad();
29 
30  // Methods.
31  void Draw(const char* opt=0);
32  void DrawRefCurves();
33 
34  private:
35 
37  TGraph *dedx_range_pro; ///< proton template
38  TGraph *dedx_range_ka; ///< kaon template
39  TGraph *dedx_range_pi; ///< pion template
40  TGraph *dedx_range_mu; ///< muon template
41 
42  TGraph *ke_range_pro; ///< proton template
43  TGraph *ke_range_ka; ///< kaon template
44  TGraph *ke_range_pi; ///< pion template
45  TGraph *ke_range_mu; ///< muon template
46  int fcurvetype; //dEdx vs. Res. range, or Kinetic Energy vs. range
47 
48  evdb::View2D* fView; ///< Collection of graphics objects to render; text labels
49 
50  };
51 }
52 
53 #endif
54 ////////////////////////////////////////////////////////////////////////
static QCString name
Definition: declinfo.cpp:673
int fcurvetype
Definition: CalorPad.h:46
TGraph * ke_range_pi
pion template
Definition: CalorPad.h:44
std::string string
Definition: nybbler.cc:12
opt
Definition: train.py:196
evdb::View2D * fView
Collection of graphics objects to render; text labels.
Definition: CalorPad.h:48
TGraph * dedx_range_pi
pion template
Definition: CalorPad.h:39
std::string fROOTfile
Definition: CalorPad.h:36
LArSoft includes.
Definition: InfoTransfer.h:33
A drawing pad showing calorimetric particle ID information.
Definition: CalorPad.h:21
Base class for event display drawing pads.
Definition: DrawingPad.h:29
void Draw(const char *plot, const char *title)
Definition: gXSecComp.cxx:580
TGraph * ke_range_ka
kaon template
Definition: CalorPad.h:43
TGraph * ke_range_pro
proton template
Definition: CalorPad.h:42
TGraph * dedx_range_ka
kaon template
Definition: CalorPad.h:38
TGraph * ke_range_mu
muon template
Definition: CalorPad.h:45
TGraph * dedx_range_mu
muon template
Definition: CalorPad.h:40
TGraph * dedx_range_pro
proton template
Definition: CalorPad.h:37