225 art::ServiceHandle<art::TFileService const>
tfs;
227 fGenerated[0] = tfs->make<TH1F>(
"fGenerated_necc",
"", 100, 0.0, 20.0);
228 fGenerated[1] =
tfs->make<TH1F>(
"fGenerated_nebcc",
"", 100, 0.0, 20.0);
229 fGenerated[2] =
tfs->make<TH1F>(
"fGenerated_nmcc",
"", 100, 0.0, 20.0);
230 fGenerated[3] =
tfs->make<TH1F>(
"fGenerated_nmbcc",
"", 100, 0.0, 20.0);
231 fGenerated[4] =
tfs->make<TH1F>(
"fGenerated_nnc",
"", 100, 0.0, 20.0);
232 fGenerated[5] =
tfs->make<TH1F>(
"fGenerated_nbnc",
"", 100, 0.0, 20.0);
234 fDCosX =
tfs->make<TH1F>(
"fDCosX",
";dx/ds", 200, -1., 1.);
235 fDCosY =
tfs->make<TH1F>(
"fDCosY",
";dy/ds", 200, -1., 1.);
236 fDCosZ =
tfs->make<TH1F>(
"fDCosZ",
";dz/ds", 200, -1., 1.);
238 fMuMomentum =
tfs->make<TH1F>(
"fMuMomentum",
";p_{#mu} (GeV/c)", 500, 0., 50.);
239 fMuDCosX =
tfs->make<TH1F>(
"fMuDCosX",
";dx/ds;", 200, -1., 1.);
240 fMuDCosY =
tfs->make<TH1F>(
"fMuDCosY",
";dy/ds;", 200, -1., 1.);
241 fMuDCosZ =
tfs->make<TH1F>(
"fMuDCosZ",
";dz/ds;", 200, -1., 1.);
243 fEMomentum =
tfs->make<TH1F>(
"fEMomentum",
";p_{e} (GeV/c)", 500, 0., 50.);
244 fEDCosX =
tfs->make<TH1F>(
"fEDCosX",
";dx/ds;", 200, -1., 1.);
245 fEDCosY =
tfs->make<TH1F>(
"fEDCosY",
";dy/ds;", 200, -1., 1.);
246 fEDCosZ =
tfs->make<TH1F>(
"fEDCosZ",
";dz/ds;", 200, -1., 1.);
248 fCCMode =
tfs->make<TH1F>(
"fCCMode",
";CC Interaction Mode;", 4, 0., 4.);
249 fCCMode->GetXaxis()->SetBinLabel(1,
"QE");
250 fCCMode->GetXaxis()->SetBinLabel(2,
"Res");
251 fCCMode->GetXaxis()->SetBinLabel(3,
"DIS");
252 fCCMode->GetXaxis()->SetBinLabel(4,
"Coh");
253 fCCMode->GetXaxis()->CenterLabels();
255 fNCMode =
tfs->make<TH1F>(
"fNCMode",
";NC Interaction Mode;", 4, 0., 4.);
256 fNCMode->GetXaxis()->SetBinLabel(1,
"QE");
257 fNCMode->GetXaxis()->SetBinLabel(2,
"Res");
258 fNCMode->GetXaxis()->SetBinLabel(3,
"DIS");
259 fNCMode->GetXaxis()->SetBinLabel(4,
"Coh");
260 fNCMode->GetXaxis()->CenterLabels();
262 fDeltaE =
tfs->make<TH1F>(
"fDeltaE",
";#Delta E_{#nu} (GeV);", 200, -1., 1.);
263 fECons =
tfs->make<TH1F>(
"fECons",
";#Delta E(#nu,lepton);", 500, -5., 5.);
267 art::ServiceHandle<geo::Geometry const> geo;
268 double x = 2.1*geo->DetHalfWidth();
269 double y = 2.1*geo->DetHalfHeight();
270 double z = 2.*geo->DetLength();
271 int xdiv = TMath::Nint(2*x/5.);
272 int ydiv = TMath::Nint(2*y/5.);
273 int zdiv = TMath::Nint(2*z/5.);
275 fVertexX =
tfs->make<TH1F>(
"fVertexX",
";x (cm)", xdiv, -0.1*
x,
x);
276 fVertexY =
tfs->make<TH1F>(
"fVertexY",
";y (cm)", ydiv, -
y,
y);
277 fVertexZ =
tfs->make<TH1F>(
"fVertexZ",
";z (cm)", zdiv, -0.1*
z,
z);
279 fVertexXY =
tfs->make<TH2F>(
"fVertexXY",
";x (cm);y (cm)", xdiv, -0.1*
x,
x, ydiv, -
y,
y);
280 fVertexXZ =
tfs->make<TH2F>(
"fVertexXZ",
";z (cm);x (cm)", zdiv, -0.2*
z,
z, xdiv, -0.1*
x,
x);
281 fVertexYZ =
tfs->make<TH2F>(
"fVertexYZ",
";z (cm);y (cm)", zdiv, -0.2*
z,
z, ydiv, -
y,
y);
290 fVertexY =
tfs->make<TH1F>(
"fVertexY",
";y (cm)", ydiv, fVtxPosHistRange[2], fVtxPosHistRange[3]);
291 fVertexZ =
tfs->make<TH1F>(
"fVertexZ",
";z (cm)", zdiv, fVtxPosHistRange[4], fVtxPosHistRange[5]);
293 fVertexXY =
tfs->make<TH2F>(
"fVertexXY",
";x (cm);y (cm)", xdiv, fVtxPosHistRange[0], fVtxPosHistRange[1], ydiv, fVtxPosHistRange[2], fVtxPosHistRange[3]);
294 fVertexXZ =
tfs->make<TH2F>(
"fVertexXZ",
";z (cm);x (cm)", zdiv, fVtxPosHistRange[4], fVtxPosHistRange[5], xdiv, fVtxPosHistRange[0], fVtxPosHistRange[1]);
295 fVertexYZ =
tfs->make<TH2F>(
"fVertexYZ",
";z (cm);y (cm)", zdiv, fVtxPosHistRange[4], fVtxPosHistRange[5], ydiv, fVtxPosHistRange[2], fVtxPosHistRange[3]);
TH1F * fVertexX
vertex location of generated events in x
TH1F * fMuDCosZ
direction cosine of outgoing mu in z
TH2F * fVertexXZ
vertex location in xz
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
TH1F * fDeltaE
difference in neutrino energy from MCTruth::Enu() vs TParticle
TH2F * fVertexXY
vertex location in xy
TH1F * fMuDCosY
direction cosine of outgoing mu in y
TH1F * fNCMode
CC interaction mode.
TH1F * fDCosZ
direction cosine in z
TH1F * fEDCosY
direction cosine of outgoing e in y
process_name opflash particleana ie ie y
TH1F * fCCMode
CC interaction mode.
double fPrevTotGoodPOT
Total good POT from subruns previous to current subrun.
evgb::GENIEHelper * fGENIEHelp
GENIEHelper object.
TH1F * fEDCosX
direction cosine of outgoing e in x
bool fDefinedVtxHistRange
TH1F * fMuDCosX
direction cosine of outgoing mu in x
TH1F * fGenerated[6]
Spectra as generated.
double fPrevTotPOT
The type of beam.
TH1F * fDCosY
direction cosine in y
TH1F * fEMomentum
momentum of outgoing electrons
TH2F * fVertexYZ
vertex location in yz
TH1F * fECons
histogram to determine if energy is conserved in the event
TH1F * fEDCosZ
direction cosine of outgoing e in z
TH1F * fDCosX
direction cosine in x
art::ServiceHandle< art::TFileService > tfs
TH1F * fMuMomentum
momentum of outgoing muons
TH1F * fVertexY
vertex location of generated events in y
std::vector< double > fVtxPosHistRange
use defined hist range; it is useful to have for asymmetric ranges like in DP FD. ...
TH1F * fVertexZ
vertex location of generated events in z