LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CalorPad.h
Go to the documentation of this file.
1 #ifndef EVD_CALORPAD_H
7 #define EVD_CALORPAD_H
8 
10 
11 class TGraph;
12 
13 
14 namespace evdb { class View2D; }
15 
16 namespace evd {
17 
19 
20  class CalorPad : public DrawingPad {
21  public:
22  // Constructor, destructor.
23  CalorPad(const char* name, const char* title,
24  double x1, double y1,
25  double x2, double y2,
26  int curvetype);
27  ~CalorPad();
28 
29  // Methods.
30  void Draw(const char* opt=0);
31  void DrawRefCurves();
32 
33  private:
34 
35  std::string fROOTfile;
36  TGraph *dedx_range_pro;
37  TGraph *dedx_range_ka;
38  TGraph *dedx_range_pi;
39  TGraph *dedx_range_mu;
40 
41  TGraph *ke_range_pro;
42  TGraph *ke_range_ka;
43  TGraph *ke_range_pi;
44  TGraph *ke_range_mu;
45  int fcurvetype; //dEdx vs. Res. range, or Kinetic Energy vs. range
46 
48 
49  };
50 }
51 
52 #endif
53 
int fcurvetype
Definition: CalorPad.h:45
Float_t y1[n_points_granero]
Definition: compare.C:5
TGraph * ke_range_pi
pion template
Definition: CalorPad.h:43
Float_t x1[n_points_granero]
Definition: compare.C:5
evdb::View2D * fView
Collection of graphics objects to render; text labels.
Definition: CalorPad.h:47
TGraph * dedx_range_pi
pion template
Definition: CalorPad.h:38
Manage all things related to colors for the event display.
Float_t y2[n_points_geant4]
Definition: compare.C:26
std::string fROOTfile
Definition: CalorPad.h:35
Base class for all event display drawing pads.
LArSoft includes.
A drawing pad showing calorimetric particle ID information.
Definition: CalorPad.h:20
Base class for event display drawing pads.
Definition: DrawingPad.h:29
TGraph * ke_range_ka
kaon template
Definition: CalorPad.h:42
TGraph * ke_range_pro
proton template
Definition: CalorPad.h:41
hist1 Draw("HIST")
TGraph * dedx_range_ka
kaon template
Definition: CalorPad.h:37
Float_t x2[n_points_geant4]
Definition: compare.C:26
TGraph * ke_range_mu
muon template
Definition: CalorPad.h:44
TGraph * dedx_range_mu
muon template
Definition: CalorPad.h:39
TGraph * dedx_range_pro
proton template
Definition: CalorPad.h:36