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