48 art::ServiceHandle<geo::Geometry const> geo;
49 unsigned int planes = geo->Nplanes();
53 this->
Pad()->SetLeftMargin(0.050);
54 this->
Pad()->SetRightMargin(0.050);
56 this->
Pad()->SetTopMargin(0.005);
57 this->
Pad()->SetBottomMargin(0.110);
61 if (planes == 2 &&
fPlane > 0) {
62 this->
Pad()->SetTopMargin(0.110);
63 this->
Pad()->SetBottomMargin(0.010);
65 else if (planes > 2) {
67 this->
Pad()->SetTopMargin(0.005);
68 this->
Pad()->SetBottomMargin(0.010);
71 this->
Pad()->SetTopMargin(0.110);
72 this->
Pad()->SetBottomMargin(0.010);
76 std::string opts(
opt);
80 this->
Pad()->SetTopMargin(0);
81 this->
Pad()->SetBottomMargin(0.2);
83 if (opts ==
"Q") {
fTQ =
kQ; }
86 fView =
new evdb::View2D();
88 art::ServiceHandle<evd::RawDrawingOptions const> rawOptions;
89 art::ServiceHandle<evd::RecoDrawingOptions const> recoOptions;
91 fHitDrawerTool = art::make_tool<evdb_tool::IWFHitDrawer>(recoOptions->fHitDrawerParams);
93 art::make_tool<evdb_tool::IWaveformDrawer>(rawOptions->fRawDigitDrawerParams);
94 fWireDrawerTool = art::make_tool<evdb_tool::IWaveformDrawer>(recoOptions->fWireDrawerParams);
IWFHitDrawerPtr fHitDrawerTool
An instance of the tool to draw hits.
unsigned int fPlane
Which plane in the detector.
TH1F * fFrameHist
A dummy histogram to define the axes.
IWaveformDrawerPtr fWireDrawerTool
An instance of the tool to draw hits.
evdb::View2D * fView
Superimpose scale on 1D histo.
IWaveformDrawerPtr fRawDigitDrawerTool
An instance of the tool to draw hits.
int fTQ
0 = plot shows charge only, 1 = plot shows charge vs time for a wire
DrawingPad(const char *nm, const char *ti, double x1, double y1, double y2, double x2)