Public Member Functions | Public Attributes | List of all members
trkf::SeedAna::MCHists Struct Reference

Public Member Functions

 MCHists (const std::string &subdir)
 

Public Attributes

TH2F * fHduvcosth {nullptr}
 
TH1F * fHcosth {nullptr}
 
TH1F * fHmcu {nullptr}
 
TH1F * fHmcv {nullptr}
 
TH1F * fHmcw {nullptr}
 
TH1F * fHmcdudw {nullptr}
 
TH1F * fHmcdvdw {nullptr}
 
TH1F * fHmcstartx {nullptr}
 
TH1F * fHmcstarty {nullptr}
 
TH1F * fHmcstartz {nullptr}
 
TH1F * fHmcendx {nullptr}
 
TH1F * fHmcendy {nullptr}
 
TH1F * fHmcendz {nullptr}
 
TH1F * fHmctheta {nullptr}
 
TH1F * fHmcphi {nullptr}
 
TH1F * fHmctheta_xz {nullptr}
 
TH1F * fHmctheta_yz {nullptr}
 
TH1F * fHmcmom {nullptr}
 
TH1F * fHmclen {nullptr}
 
TH1F * fHmstartx {nullptr}
 
TH1F * fHmstarty {nullptr}
 
TH1F * fHmstartz {nullptr}
 
TH1F * fHmendx {nullptr}
 
TH1F * fHmendy {nullptr}
 
TH1F * fHmendz {nullptr}
 
TH1F * fHmtheta {nullptr}
 
TH1F * fHmphi {nullptr}
 
TH1F * fHmtheta_xz {nullptr}
 
TH1F * fHmtheta_yz {nullptr}
 
TH1F * fHmmom {nullptr}
 
TH1F * fHmlen {nullptr}
 
TH1F * fHgstartx {nullptr}
 
TH1F * fHgstarty {nullptr}
 
TH1F * fHgstartz {nullptr}
 
TH1F * fHgendx {nullptr}
 
TH1F * fHgendy {nullptr}
 
TH1F * fHgendz {nullptr}
 
TH1F * fHgtheta {nullptr}
 
TH1F * fHgphi {nullptr}
 
TH1F * fHgtheta_xz {nullptr}
 
TH1F * fHgtheta_yz {nullptr}
 
TH1F * fHgmom {nullptr}
 
TH1F * fHglen {nullptr}
 
TH1F * fHmulstartx {nullptr}
 
TH1F * fHmulstarty {nullptr}
 
TH1F * fHmulstartz {nullptr}
 
TH1F * fHmulendx {nullptr}
 
TH1F * fHmulendy {nullptr}
 
TH1F * fHmulendz {nullptr}
 
TH1F * fHmultheta {nullptr}
 
TH1F * fHmulphi {nullptr}
 
TH1F * fHmultheta_xz {nullptr}
 
TH1F * fHmultheta_yz {nullptr}
 
TH1F * fHmulmom {nullptr}
 
TH1F * fHmullen {nullptr}
 
TH1F * fHestartx {nullptr}
 
TH1F * fHestarty {nullptr}
 
TH1F * fHestartz {nullptr}
 
TH1F * fHeendx {nullptr}
 
TH1F * fHeendy {nullptr}
 
TH1F * fHeendz {nullptr}
 
TH1F * fHetheta {nullptr}
 
TH1F * fHephi {nullptr}
 
TH1F * fHetheta_xz {nullptr}
 
TH1F * fHetheta_yz {nullptr}
 
TH1F * fHemom {nullptr}
 
TH1F * fHelen {nullptr}
 

Detailed Description

Definition at line 253 of file SeedAna_module.cc.

Constructor & Destructor Documentation

trkf::SeedAna::MCHists::MCHists ( const std::string subdir)

Definition at line 404 of file SeedAna_module.cc.

408  {
409  // Get services.
410 
413 
414  // Make histogram directory.
415 
416  art::TFileDirectory topdir = tfs->mkdir("seedana", "SeedAna histograms");
417  art::TFileDirectory dir = topdir.mkdir(subdir);
418 
419  // Book histograms.
420 
421  fHduvcosth =
422  dir.make<TH2F>("duvcosth", "Delta(uv) vs. Colinearity", 100, 0.95, 1., 100, 0., 1.);
423  fHcosth = dir.make<TH1F>("colin", "Colinearity", 100, 0.95, 1.);
424  fHmcu = dir.make<TH1F>("mcu", "MC Truth U", 100, -5., 5.);
425  fHmcv = dir.make<TH1F>("mcv", "MC Truth V", 100, -5., 5.);
426  fHmcw = dir.make<TH1F>("mcw", "MC Truth W", 100, -20., 20.);
427  fHmcdudw = dir.make<TH1F>("mcdudw", "MC Truth U Slope", 100, -0.2, 0.2);
428  fHmcdvdw = dir.make<TH1F>("mcdvdw", "MV Truth V Slope", 100, -0.2, 0.2);
429 
430  fHmcstartx = dir.make<TH1F>(
431  "mcxstart", "MC X Start Position", 10, -2. * geom->DetHalfWidth(), 4. * geom->DetHalfWidth());
432  fHmcstarty = dir.make<TH1F>(
433  "mcystart", "MC Y Start Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
434  fHmcstartz = dir.make<TH1F>("mczstart", "MC Z Start Position", 10, 0., geom->DetLength());
435  fHmcendx = dir.make<TH1F>(
436  "mcxend", "MC X End Position", 10, -2. * geom->DetHalfWidth(), 4. * geom->DetHalfWidth());
437  fHmcendy = dir.make<TH1F>(
438  "mcyend", "MC Y End Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
439  fHmcendz = dir.make<TH1F>("mczend", "MC Z End Position", 10, 0., geom->DetLength());
440  fHmctheta = dir.make<TH1F>("mctheta", "MC Theta", 20, 0., 3.142);
441  fHmcphi = dir.make<TH1F>("mcphi", "MC Phi", 10, -3.142, 3.142);
442  fHmctheta_xz = dir.make<TH1F>("mctheta_xz", "MC Theta_xz", 40, -3.142, 3.142);
443  fHmctheta_yz = dir.make<TH1F>("mctheta_yz", "MC Theta_yz", 40, -3.142, 3.142);
444  fHmcmom = dir.make<TH1F>("mcmom", "MC Momentum", 10, 0., 10.);
445  fHmclen = dir.make<TH1F>("mclen", "MC Particle Length", 10, 0., 1.1 * geom->DetLength());
446 
447  fHmstartx = dir.make<TH1F>("mxstart",
448  "Matched X Start Position",
449  10,
450  -2. * geom->DetHalfWidth(),
451  4. * geom->DetHalfWidth());
452  fHmstarty = dir.make<TH1F>(
453  "mystart", "Matched Y Start Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
454  fHmstartz = dir.make<TH1F>("mzstart", "Matched Z Start Position", 10, 0., geom->DetLength());
455  fHmendx = dir.make<TH1F>(
456  "mxend", "Matched X End Position", 10, -2. * geom->DetHalfWidth(), 4. * geom->DetHalfWidth());
457  fHmendy = dir.make<TH1F>(
458  "myend", "Matched Y End Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
459  fHmendz = dir.make<TH1F>("mzend", "Matched Z End Position", 10, 0., geom->DetLength());
460  fHmtheta = dir.make<TH1F>("mtheta", "Matched Theta", 20, 0., 3.142);
461  fHmphi = dir.make<TH1F>("mphi", "Matched Phi", 10, -3.142, 3.142);
462  fHmtheta_xz = dir.make<TH1F>("mtheta_xz", "Matched Theta_xz", 40, -3.142, 3.142);
463  fHmtheta_yz = dir.make<TH1F>("mtheta_yz", "Matched Theta_yz", 40, -3.142, 3.142);
464  fHmmom = dir.make<TH1F>("mmom", "Matched Momentum", 10, 0., 10.);
465  fHmlen = dir.make<TH1F>("mlen", "Matched Particle Length", 10, 0., 1.1 * geom->DetLength());
466 
467  fHgstartx = dir.make<TH1F>("gxstart",
468  "Good X Start Position",
469  10,
470  -2. * geom->DetHalfWidth(),
471  4. * geom->DetHalfWidth());
472  fHgstarty = dir.make<TH1F>(
473  "gystart", "Good Y Start Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
474  fHgstartz = dir.make<TH1F>("gzstart", "Good Z Start Position", 10, 0., geom->DetLength());
475  fHgendx = dir.make<TH1F>(
476  "gxend", "Good X End Position", 10, -2. * geom->DetHalfWidth(), 4. * geom->DetHalfWidth());
477  fHgendy = dir.make<TH1F>(
478  "gyend", "Good Y End Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
479  fHgendz = dir.make<TH1F>("gzend", "Good Z End Position", 10, 0., geom->DetLength());
480  fHgtheta = dir.make<TH1F>("gtheta", "Good Theta", 20, 0., 3.142);
481  fHgphi = dir.make<TH1F>("gphi", "Good Phi", 10, -3.142, 3.142);
482  fHgtheta_xz = dir.make<TH1F>("gtheta_xz", "Good Theta_xz", 40, -3.142, 3.142);
483  fHgtheta_yz = dir.make<TH1F>("gtheta_yz", "Good Theta_yz", 40, -3.142, 3.142);
484  fHgmom = dir.make<TH1F>("gmom", "Good Momentum", 10, 0., 10.);
485  fHglen = dir.make<TH1F>("glen", "Good Particle Length", 10, 0., 1.1 * geom->DetLength());
486 
487  fHmulstartx = dir.make<TH1F>("mulxstart",
488  "Multiplicity vs. X Start Position",
489  10,
490  -2. * geom->DetHalfWidth(),
491  4. * geom->DetHalfWidth());
492  fHmulstarty = dir.make<TH1F>("mulystart",
493  "Multiplicity vs. Y Start Position",
494  10,
495  -geom->DetHalfHeight(),
496  geom->DetHalfHeight());
497  fHmulstartz =
498  dir.make<TH1F>("mulzstart", "Multiplicity vs. Z Start Position", 10, 0., geom->DetLength());
499  fHmulendx = dir.make<TH1F>("mulxend",
500  "Multiplicity vs. X End Position",
501  10,
502  -2. * geom->DetHalfWidth(),
503  4. * geom->DetHalfWidth());
504  fHmulendy = dir.make<TH1F>("mulyend",
505  "Multiplicity vs. Y End Position",
506  10,
507  -geom->DetHalfHeight(),
508  geom->DetHalfHeight());
509  fHmulendz =
510  dir.make<TH1F>("mulzend", "Multiplicity vs. Z End Position", 10, 0., geom->DetLength());
511  fHmultheta = dir.make<TH1F>("multheta", "Multiplicity vs. Theta", 20, 0., 3.142);
512  fHmulphi = dir.make<TH1F>("mulphi", "Multiplicity vs. Phi", 10, -3.142, 3.142);
513  fHmultheta_xz = dir.make<TH1F>("multheta_xz", "Multiplicity vs. Theta_xz", 40, -3.142, 3.142);
514  fHmultheta_yz = dir.make<TH1F>("multheta_yz", "Multiplicity vs. Theta_yz", 40, -3.142, 3.142);
515  fHmulmom = dir.make<TH1F>("mulmom", "Multiplicity vs. Momentum", 10, 0., 10.);
516  fHmullen =
517  dir.make<TH1F>("mullen", "Multiplicity vs. Particle Length", 10, 0., 1.1 * geom->DetLength());
518 
519  fHestartx = dir.make<TH1F>("exstart",
520  "Efficiency vs. X Start Position",
521  10,
522  -2. * geom->DetHalfWidth(),
523  4. * geom->DetHalfWidth());
524  fHestarty = dir.make<TH1F>("eystart",
525  "Efficiency vs. Y Start Position",
526  10,
527  -geom->DetHalfHeight(),
528  geom->DetHalfHeight());
529  fHestartz =
530  dir.make<TH1F>("ezstart", "Efficiency vs. Z Start Position", 10, 0., geom->DetLength());
531  fHeendx = dir.make<TH1F>("exend",
532  "Efficiency vs. X End Position",
533  10,
534  -2. * geom->DetHalfWidth(),
535  4. * geom->DetHalfWidth());
536  fHeendy = dir.make<TH1F>(
537  "eyend", "Efficiency vs. Y End Position", 10, -geom->DetHalfHeight(), geom->DetHalfHeight());
538  fHeendz = dir.make<TH1F>("ezend", "Efficiency vs. Z End Position", 10, 0., geom->DetLength());
539  fHetheta = dir.make<TH1F>("etheta", "Efficiency vs. Theta", 20, 0., 3.142);
540  fHephi = dir.make<TH1F>("ephi", "Efficiency vs. Phi", 10, -3.142, 3.142);
541  fHetheta_xz = dir.make<TH1F>("etheta_xz", "Efficiency vs. Theta_xz", 40, -3.142, 3.142);
542  fHetheta_yz = dir.make<TH1F>("etheta_yz", "Efficiency vs. Theta_yz", 40, -3.142, 3.142);
543  fHemom = dir.make<TH1F>("emom", "Efficiency vs. Momentum", 10, 0., 10.);
544  fHelen =
545  dir.make<TH1F>("elen", "Efficiency vs. Particle Length", 10, 0., 1.1 * geom->DetLength());
546  }
string dir

Member Data Documentation

TH1F* trkf::SeedAna::MCHists::fHcosth {nullptr}

Definition at line 259 of file SeedAna_module.cc.

TH2F* trkf::SeedAna::MCHists::fHduvcosth {nullptr}

Definition at line 258 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHeendx {nullptr}

Definition at line 331 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHeendy {nullptr}

Definition at line 332 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHeendz {nullptr}

Definition at line 333 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHelen {nullptr}

Definition at line 339 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHemom {nullptr}

Definition at line 338 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHephi {nullptr}

Definition at line 335 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHestartx {nullptr}

Definition at line 328 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHestarty {nullptr}

Definition at line 329 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHestartz {nullptr}

Definition at line 330 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHetheta {nullptr}

Definition at line 334 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHetheta_xz {nullptr}

Definition at line 336 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHetheta_yz {nullptr}

Definition at line 337 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgendx {nullptr}

Definition at line 301 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgendy {nullptr}

Definition at line 302 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgendz {nullptr}

Definition at line 303 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHglen {nullptr}

Definition at line 309 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgmom {nullptr}

Definition at line 308 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgphi {nullptr}

Definition at line 305 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgstartx {nullptr}

Definition at line 298 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgstarty {nullptr}

Definition at line 299 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgstartz {nullptr}

Definition at line 300 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgtheta {nullptr}

Definition at line 304 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgtheta_xz {nullptr}

Definition at line 306 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHgtheta_yz {nullptr}

Definition at line 307 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcdudw {nullptr}

Definition at line 263 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcdvdw {nullptr}

Definition at line 264 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcendx {nullptr}

Definition at line 271 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcendy {nullptr}

Definition at line 272 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcendz {nullptr}

Definition at line 273 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmclen {nullptr}

Definition at line 279 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcmom {nullptr}

Definition at line 278 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcphi {nullptr}

Definition at line 275 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcstartx {nullptr}

Definition at line 268 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcstarty {nullptr}

Definition at line 269 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcstartz {nullptr}

Definition at line 270 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmctheta {nullptr}

Definition at line 274 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmctheta_xz {nullptr}

Definition at line 276 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmctheta_yz {nullptr}

Definition at line 277 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcu {nullptr}

Definition at line 260 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcv {nullptr}

Definition at line 261 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmcw {nullptr}

Definition at line 262 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmendx {nullptr}

Definition at line 286 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmendy {nullptr}

Definition at line 287 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmendz {nullptr}

Definition at line 288 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmlen {nullptr}

Definition at line 294 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmmom {nullptr}

Definition at line 293 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmphi {nullptr}

Definition at line 290 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmstartx {nullptr}

Definition at line 283 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmstarty {nullptr}

Definition at line 284 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmstartz {nullptr}

Definition at line 285 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmtheta {nullptr}

Definition at line 289 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmtheta_xz {nullptr}

Definition at line 291 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmtheta_yz {nullptr}

Definition at line 292 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulendx {nullptr}

Definition at line 316 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulendy {nullptr}

Definition at line 317 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulendz {nullptr}

Definition at line 318 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmullen {nullptr}

Definition at line 324 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulmom {nullptr}

Definition at line 323 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulphi {nullptr}

Definition at line 320 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulstartx {nullptr}

Definition at line 313 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulstarty {nullptr}

Definition at line 314 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmulstartz {nullptr}

Definition at line 315 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmultheta {nullptr}

Definition at line 319 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmultheta_xz {nullptr}

Definition at line 321 of file SeedAna_module.cc.

TH1F* trkf::SeedAna::MCHists::fHmultheta_yz {nullptr}

Definition at line 322 of file SeedAna_module.cc.


The documentation for this struct was generated from the following file: