LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
TQPad.h
Go to the documentation of this file.
1 #ifndef EVD_TQPAD_H
7 #define EVD_TQPAD_H
9 namespace evdb { class View2D; }
10 class TH1F;
11 
12 namespace evd {
13  class TQPad : public DrawingPad{
14  public:
15  TQPad(const char* nm, const char* ti,
16  double x1, double y1,
17  double x2, double y2,
18  const char *opt,
19  unsigned int plane,
20  unsigned int wire);
21  ~TQPad();
22  void Draw();
23 
24  void SetPlaneWire(unsigned int plane=0, unsigned int wire=0) { fPlane = plane; fWire = wire; }
25 
26  private:
27  void BookHistogram();
28 
29  unsigned int fWire;
30  unsigned int fPlane;
31  int fTQ;
32  TH1F* fRawHisto;
33  TH1F* fRecoHisto;
35  };
36 }
37 
38 #endif
39 
unsigned int fPlane
Which plane in the detector.
Definition: TQPad.h:30
Float_t y1[n_points_granero]
Definition: compare.C:5
Float_t x1[n_points_granero]
Definition: compare.C:5
Manage all things related to colors for the event display.
Float_t y2[n_points_geant4]
Definition: compare.C:26
unsigned int fWire
Definition: TQPad.h:29
evdb::View2D * fView
Superimpose scale on 1D histo.
Definition: TQPad.h:34
Base class for all event display drawing pads.
LArSoft includes.
Base class for event display drawing pads.
Definition: DrawingPad.h:29
TH1F * fRawHisto
1-D Histogram of charge or charge vs time
Definition: TQPad.h:32
int fTQ
0 = plot shows charge only, 1 = plot shows charge vs time for a wire
Definition: TQPad.h:31
hist1 Draw("HIST")
Float_t x2[n_points_geant4]
Definition: compare.C:26
TH1F * fRecoHisto
1-D Histogram of charge or charge vs time
Definition: TQPad.h:33
void SetPlaneWire(unsigned int plane=0, unsigned int wire=0)
Definition: TQPad.h:24