30 #include "art_root_io/TFileService.h" 31 #include "art_root_io/TFileDirectory.h" 32 #include "canvas/Persistency/Common/FindManyP.h" 39 class PlotTrackDetails;
100 fNTracksHist = tfs->make<TH1F>(
"NTracks",
";Number of tracks",50,0,200);
101 fNCosmicTagHist = tfs->make<TH1F>(
"NCosmicTag",
";Number of tracks tagged as cosmic",50,0,200);
102 fNT0Hist = tfs->make<TH1F>(
"NT0s",
";Number of tracks with reconstructed T0",50,0,40);
104 fT0Hist = tfs->make<TH1F>(
"TrackT0",
";T0 (us)",100,-4000,4000);
105 fT0HistHiRes = tfs->make<TH1F>(
"TrackT0HiRes",
";T0 (us)",1000,-4000,4000);
106 fCosmicT0Hist = tfs->make<TH1F>(
"CosmicTrackT0",
";T0 (us)",100,-4000,4000);
107 fCosmicT0HistHiRes = tfs->make<TH1F>(
"CosmicTrackT0HiRes",
";T0 (us)",1000,-4000,4000);
141 unsigned int nT0s = 0;
142 unsigned int nTags = 0;
144 for (
size_t track_index = 0; track_index != trackHandle->size(); ++track_index )
146 const auto thisTrack = (*trackHandle)[track_index];
149 auto const& t0s = findTrackT0.at(track_index);
156 auto const&
tag = findCosmicTag.at(track_index);
161 if(t0s.size() &&
tag.size()){
TH1F * fCosmicT0HistHiRes
PlotTrackDetails & operator=(PlotTrackDetails const &)=delete
PlotTrackDetails(fhicl::ParameterSet const &p)
void analyze(art::Event const &e) override
EDAnalyzer(fhicl::ParameterSet const &pset)
art framework interface to geometry description
void reconfigure(fhicl::ParameterSet const &p)
#define DEFINE_ART_MODULE(klass)
T get(std::string const &key) const
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
std::string fTrackProducerLabel
Definition of data types for geometry description.
Declaration of signal hit object.
Provides recob::Track data product.