LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
trkf::SeedAna::RecoHists Struct Reference

Public Member Functions

 RecoHists (const std::string &subdir)
 

Public Attributes

TH1F * fHx {nullptr}
 
TH1F * fHy {nullptr}
 
TH1F * fHz {nullptr}
 
TH1F * fHdist {nullptr}
 
TH1F * fHtheta {nullptr}
 
TH1F * fHphi {nullptr}
 
TH1F * fHtheta_xz {nullptr}
 
TH1F * fHtheta_yz {nullptr}
 

Detailed Description

Definition at line 230 of file SeedAna_module.cc.

Constructor & Destructor Documentation

trkf::SeedAna::RecoHists::RecoHists ( const std::string &  subdir)

Definition at line 367 of file SeedAna_module.cc.

References dir, fHdist, fHphi, fHtheta, fHtheta_xz, fHtheta_yz, fHx, fHy, and fHz.

368  {
369  // Get services.
370 
372  auto const& tpc = art::ServiceHandle<geo::Geometry const>()->TPC({0, 0});
373 
374  // Make histogram directory.
375 
376  art::TFileDirectory topdir = tfs->mkdir("seedana", "SeedAna histograms");
377  art::TFileDirectory dir = topdir.mkdir(subdir);
378 
379  // Book histograms.
380 
381  fHx = dir.make<TH1F>("x", "X Position", 100, -2. * tpc.HalfWidth(), 4. * tpc.HalfWidth());
382  fHy = dir.make<TH1F>("y", "Y Position", 100, -tpc.HalfHeight(), tpc.HalfHeight());
383  fHz = dir.make<TH1F>("z", "Z Position", 100, 0., tpc.Length());
384  fHdist = dir.make<TH1F>("dist", "Position Distance to Boundary", 100, -10., tpc.HalfWidth());
385  fHtheta = dir.make<TH1F>("theta", "Theta", 100, 0., 3.142);
386  fHphi = dir.make<TH1F>("phi", "Phi", 100, -3.142, 3.142);
387  fHtheta_xz = dir.make<TH1F>("theta_xz", "Theta_xz", 100, -3.142, 3.142);
388  fHtheta_yz = dir.make<TH1F>("theta_yz", "Theta_yz", 100, -3.142, 3.142);
389  }
TDirectory * dir
Definition: macro.C:5

Member Data Documentation

TH1F* trkf::SeedAna::RecoHists::fHdist {nullptr}

Definition at line 238 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHphi {nullptr}

Definition at line 240 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHtheta {nullptr}

Definition at line 239 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHtheta_xz {nullptr}

Definition at line 241 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHtheta_yz {nullptr}

Definition at line 242 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHx {nullptr}

Definition at line 235 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHy {nullptr}

Definition at line 236 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().

TH1F* trkf::SeedAna::RecoHists::fHz {nullptr}

Definition at line 237 of file SeedAna_module.cc.

Referenced by trkf::SeedAna::analyze(), and RecoHists().


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