Interface for initializing the histograms to be filled.
Begin job method.
173 art::TFileDirectory
dir =
tfs->mkdir(dirName.c_str());
181 fDriftTimes[0] = dir.make<TH1D>(
"DriftTime0",
";time(ticks)", 2048, 0., 4096.);
182 fDriftTimes[1] = dir.make<TH1D>(
"DriftTime1",
";time(ticks)", 2048, 0., 4096.);
183 fDriftTimes[2] = dir.make<TH1D>(
"DriftTime2",
";time(ticks)", 2048, 0., 4096.);
185 fHitsByTime[0] = dir.make<TH1D>(
"HitsByTime0",
";Tick", 1024, 0., 4096.);
186 fHitsByTime[1] = dir.make<TH1D>(
"HitsByTime1",
";Tick", 1024, 0., 4096.);
187 fHitsByTime[2] = dir.make<TH1D>(
"HitsByTime2",
";Tick", 1024, 0., 4096.);
189 fPulseHeight[0] = dir.make<TH1D>(
"PulseHeight0",
"PH (ADC)", 300, 0., 150.);
190 fPulseHeight[1] = dir.make<TH1D>(
"PulseHeight1",
"PH (ADC)", 300, 0., 150.);
191 fPulseHeight[2] = dir.make<TH1D>(
"PulseHeight2",
"PH (ADC)", 300, 0., 150.);
204 fChi2DOF[0] =
dir.make<TH1D>(
"Chi2DOF0",
"Chi2DOF", 502, -1., 250.);
205 fChi2DOF[1] =
dir.make<TH1D>(
"Chi2DOF1",
"Chi2DOF", 502, -1., 250.);
206 fChi2DOF[2] =
dir.make<TH1D>(
"Chi2DOF2",
"Chi2DOF", 502, -1., 250.);
207 fNumDegFree[0] =
dir.make<TH1D>(
"NumDegFree0",
"NDF", 200, 0., 200.);
208 fNumDegFree[1] =
dir.make<TH1D>(
"NumDegFree1",
"NDF", 200, 0., 200.);
209 fNumDegFree[2] =
dir.make<TH1D>(
"NumDegFree2",
"NDF", 200, 0., 200.);
213 fHitMult[0] =
dir.make<TH1D>(
"HitMult0",
"# hits", 15, 0., 15.);
214 fHitMult[1] =
dir.make<TH1D>(
"HitMult1",
"# hits", 15, 0., 15.);
215 fHitMult[2] =
dir.make<TH1D>(
"HitMult2",
"# hits", 15, 0., 15.);
216 fHitCharge[0] =
dir.make<TH1D>(
"HitCharge0",
"Charge", 1000, 0., 2000.);
217 fHitCharge[1] =
dir.make<TH1D>(
"HitCharge1",
"Charge", 1000, 0., 2000.);
218 fHitCharge[2] =
dir.make<TH1D>(
"HitCharge2",
"Charge", 1000, 0., 2000.);
228 fFitWidth[0] =
dir.make<TH1D>(
"FitWidth0",
"Width", 100, 0., 20.);
229 fFitWidth[1] =
dir.make<TH1D>(
"FitWidth1",
"Width", 100, 0., 20.);
230 fFitWidth[2] =
dir.make<TH1D>(
"FitWidth2",
"Width", 100, 0., 20.);
240 fHitSumADC[0] =
dir.make<TH1D>(
"SumADC0",
"Sum ADC", 1000, 0., 2000.);
241 fHitSumADC[1] =
dir.make<TH1D>(
"SumADC1",
"Sum ADC", 1000, 0., 2000.);
242 fHitSumADC[2] =
dir.make<TH1D>(
"SumADC2",
"Sum ADC", 1000, 0., 2000.);
244 fNDFVsChi2[0] =
dir.make<TH2D>(
"NDFVsChi20",
";NDF;Chi2", 50, 0., 50., 101, -1., 100.);
245 fNDFVsChi2[1] =
dir.make<TH2D>(
"NDFVsChi21",
";NDF;Chi2", 50, 0., 50., 101, -1., 100.);
246 fNDFVsChi2[2] =
dir.make<TH2D>(
"NDFVsChi22",
";NDF;Chi2", 50, 0., 50., 101, -1., 100.);
248 fPulseHVsWidth[0] =
dir.make<TH2D>(
"PHVsWidth0",
";PH;Width", 100, 0., 100., 100, 0., 20.);
249 fPulseHVsWidth[1] =
dir.make<TH2D>(
"PHVsWidth1",
";PH;Width", 100, 0., 100., 100, 0., 20.);
250 fPulseHVsWidth[2] =
dir.make<TH2D>(
"PHVsWidth2",
";PH;Width", 100, 0., 100., 100, 0., 20.);
252 fPulseHVsCharge[0] =
dir.make<TH2D>(
"PHVsChrg0",
";PH;Q", 100, 0., 100., 100, 0., 2000.);
253 fPulseHVsCharge[1] =
dir.make<TH2D>(
"PHVsChrg1",
";PH;Q", 100, 0., 100., 100, 0., 2000.);
254 fPulseHVsCharge[2] =
dir.make<TH2D>(
"PHVsChrg2",
";PH;Q", 100, 0., 100., 100, 0., 2000.);
256 fPulseHVsHitNo[0] =
dir.make<TProfile>(
"PHVsNo0",
";Hit #;PH", 1000, 0., 1000., 0., 100.);
257 fPulseHVsHitNo[1] =
dir.make<TProfile>(
"PHVsNo1",
";Hit #;PH", 1000, 0., 1000., 0., 100.);
258 fPulseHVsHitNo[2] =
dir.make<TProfile>(
"PHVsNo2",
";Hit #;PH", 1000, 0., 1000., 0., 100.);
260 fChargeVsHitNo[0] =
dir.make<TProfile>(
"QVsNo0",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
261 fChargeVsHitNo[1] =
dir.make<TProfile>(
"QVsNo1",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
262 fChargeVsHitNo[2] =
dir.make<TProfile>(
"QVsNo2",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
264 fChargeVsHitNoS[0] =
dir.make<TProfile>(
"QVsNoS0",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
265 fChargeVsHitNoS[1] =
dir.make<TProfile>(
"QVsNoS1",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
266 fChargeVsHitNoS[2] =
dir.make<TProfile>(
"QVsNoS2",
";Hit No;Q", 1000, 0., 1000., 0., 2000.);
272 fSPHvsIdx[0] =
dir.make<TH2D>(
"SPHVsIdx0",
";PH;Idx", 30, 0., 30., 100, 0., 100.);
273 fSPHvsIdx[1] =
dir.make<TH2D>(
"SPHVsIdx1",
";PH;Idx", 30, 0., 30., 100, 0., 100.);
274 fSPHvsIdx[2] =
dir.make<TH2D>(
"SPHVsIdx2",
";PH;Idx", 30, 0., 30., 100, 0., 100.);
276 fSWidVsIdx[0] =
dir.make<TH2D>(
"SWidsIdx0",
";Width;Idx", 30, 0., 30., 100, 0., 10.);
277 fSWidVsIdx[1] =
dir.make<TH2D>(
"SWidsIdx1",
";Width;Idx", 30, 0., 30., 100, 0., 10.);
278 fSWidVsIdx[2] =
dir.make<TH2D>(
"SWidsIdx2",
";Width;Idx", 30, 0., 30., 100, 0., 10.);
280 f1PPHvsWid[0] =
dir.make<TH2D>(
"1PPHVsWid0",
";PH;Width", 100, 0., 100., 100, 0., 10.);
281 f1PPHvsWid[1] =
dir.make<TH2D>(
"1PPHVsWid1",
";PH;Width", 100, 0., 100., 100, 0., 10.);
282 f1PPHvsWid[2] =
dir.make<TH2D>(
"1PPHVsWid2",
";PH;Width", 100, 0., 100., 100, 0., 10.);
284 fSPPHvsWid[0] =
dir.make<TH2D>(
"SPPHVsWid0",
";PH;Width", 100, 0., 100., 100, 0., 10.);
285 fSPPHvsWid[1] =
dir.make<TH2D>(
"SPPHVsWid1",
";PH;Width", 100, 0., 100., 100, 0., 10.);
286 fSPPHvsWid[2] =
dir.make<TH2D>(
"SPPHVsWid2",
";PH;Width", 100, 0., 100., 100, 0., 10.);
288 fSOPHvsWid[0] =
dir.make<TH2D>(
"SOPHVsWid0",
";PH;Width", 100, 0., 100., 100, 0., 10.);
289 fSOPHvsWid[1] =
dir.make<TH2D>(
"SOPHVsWid1",
";PH;Width", 100, 0., 100., 100, 0., 10.);
290 fSOPHvsWid[2] =
dir.make<TH2D>(
"SOPHVsWid2",
";PH;Width", 100, 0., 100., 100, 0., 10.);
292 fPHRatVsIdx[0] =
dir.make<TH2D>(
"PHRatVsIdx0",
";PHRat;Idx", 30, 0., 30., 51, 0., 1.02);
293 fPHRatVsIdx[1] =
dir.make<TH2D>(
"PHRatVsIdx1",
";PHRat;Idx", 30, 0., 30., 51, 0., 1.02);
294 fPHRatVsIdx[2] =
dir.make<TH2D>(
"PHRatVsIdx2",
";PHRat;Idx", 30, 0., 30., 51, 0., 1.02);
TProfile * fPulseHVsHitNo[3]
TProfile * fChargeVsHitNo[3]
TH1D * fPulseHeightSingle[3]
TH1D * fPulseHeightLong[3]
TH1D * fFitWidthSingle[3]
TProfile * fChargeVsHitNoS[3]
TH1D * fHitChargeSingle[3]
unsigned int Nwires(unsigned int p, unsigned int tpc=0, unsigned int cstat=0) const
Returns the total number of wires in the specified plane.
std::vector< TH1D * > fHitsByWire
TH1D * fPulseHeightMulti[3]
unsigned int Nplanes(unsigned int tpc=0, unsigned int cstat=0) const
Returns the total number of wire planes in the specified TPC.
const geo::GeometryCore * fGeometry
pointer to Geometry service
TH1D * fPulseHeightMultiMax[3]
TH1D * fHitChargeMulti[3]
TH2D * fBadWPulseHVsWidth
TH2D * fPulseHVsCharge[3]
art::ServiceHandle< art::TFileService > tfs