Public Member Functions | |
| RecoCheckAna (fhicl::ParameterSet const &p) | |
Public Member Functions inherited from art::EDAnalyzer | |
| EDAnalyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| EDAnalyzer (Table< Config > const &config) | |
| std::string | workerType () const |
Public Member Functions inherited from art::detail::Analyzer | |
| virtual | ~Analyzer () noexcept |
| Analyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| Analyzer (Table< Config > const &config) | |
| void | doBeginJob (SharedResources const &resources) |
| void | doEndJob () |
| void | doRespondToOpenInputFile (FileBlock const &fb) |
| void | doRespondToCloseInputFile (FileBlock const &fb) |
| void | doRespondToOpenOutputFiles (FileBlock const &fb) |
| void | doRespondToCloseOutputFiles (FileBlock const &fb) |
| bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Observer | |
| ~Observer () noexcept | |
| Observer (Observer const &)=delete | |
| Observer (Observer &&)=delete | |
| Observer & | operator= (Observer const &)=delete |
| Observer & | operator= (Observer &&)=delete |
| void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
| void | fillDescriptions (ModuleDescription const &) |
| fhicl::ParameterSetID | selectorConfig () const |
Public Member Functions inherited from art::ModuleBase | |
| virtual | ~ModuleBase () noexcept |
| ModuleBase () | |
| ModuleDescription const & | moduleDescription () const |
| void | setModuleDescription (ModuleDescription const &) |
| std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
| void | sortConsumables (std::string const ¤t_process_name) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | consumesView (InputTag const &tag) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Member Functions | |
| void | analyze (art::Event const &e) override |
| void | beginRun (art::Run const &r) override |
| void | CheckReco (detinfo::DetectorClocksData const &clockData, int const &colID, std::vector< art::Ptr< recob::Hit >> const &allhits, std::vector< art::Ptr< recob::Hit >> const &colHits, std::map< std::pair< int, int >, std::pair< double, double >> &g4RecoBaseIDToPurityEfficiency) |
| void | CheckRecoClusters (art::Event const &evt, std::string const &label, art::Handle< std::vector< recob::Cluster >> const &clscol, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | CheckRecoTracks (art::Event const &evt, std::string const &label, art::Handle< std::vector< recob::Track >> const &tcol, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | CheckRecoShowers (art::Event const &evt, std::string const &label, art::Handle< std::vector< recob::Shower >> const &scol, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | CheckRecoVertices (art::Event const &evt, std::string const &label, art::Handle< std::vector< recob::Vertex >> const &vtxcol, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | CheckRecoEvents (art::Event const &evt, std::string const &label, art::Handle< std::vector< recob::Event >> const &evtcol, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | FillResults (detinfo::DetectorClocksData const &clockData, std::vector< art::Ptr< recob::Hit >> const &allhits) |
| void | FlattenMap (std::map< std::pair< int, int >, std::pair< double, double >> const &g4RecoBaseIDToPurityEfficiency, std::map< int, std::vector< std::pair< int, std::pair< double, double >>>> &g4IDToRecoBasePurityEfficiency, TH1D *purity, TH1D *efficiency, TH1D *purityEfficiency, TH2D *purityEfficiency2D) |
Private Attributes | |
| art::ServiceHandle< cheat::BackTrackerService const > | fBT |
| the back tracker service More... | |
| art::ServiceHandle< cheat::ParticleInventoryService const > | fPI |
| the back tracker service More... | |
| std::string | fHitModuleLabel |
| label for module making the hits More... | |
| std::string | fClusterModuleLabel |
| label for module making the clusters More... | |
| std::string | fShowerModuleLabel |
| label for module making the showers More... | |
| std::string | fTrackModuleLabel |
| label for module making the tracks More... | |
| std::string | fVertexModuleLabel |
| label for module making the vertices More... | |
| std::string | fEventModuleLabel |
| label for module making the events More... | |
| bool | fCheckClusters |
| should we check the reconstruction of clusters? More... | |
| bool | fCheckShowers |
| should we check the reconstruction of showers? More... | |
| bool | fCheckTracks |
| should we check the reconstruction of tracks? More... | |
| bool | fCheckVertices |
| should we check the reconstruction of vertices? More... | |
| bool | fCheckEvents |
| should we check the reconstruction of events? More... | |
| TH1D * | fClusterPurity |
| histogram of cluster purity More... | |
| TH1D * | fClusterEfficiency |
| histogram of cluster efficiency More... | |
| TH1D * | fClusterPurityEfficiency |
| histogram of cluster efficiency times purity More... | |
| TH2D * | fClusterPurityEfficiency2D |
| scatter histogram of cluster purity and efficiency More... | |
| TH1D * | fShowerPurity |
| histogram of shower purity More... | |
| TH1D * | fShowerEfficiency |
| histogram of shower efficiency More... | |
| TH1D * | fShowerPurityEfficiency |
| histogram of shower efficiency times purity More... | |
| TH2D * | fShowerPurityEfficiency2D |
| scatter histogram of cluster purity and efficiency More... | |
| TH1D * | fTrackPurity |
| histogram of track purity More... | |
| TH1D * | fTrackEfficiency |
| histogram of track efficiency More... | |
| TH1D * | fTrackPurityEfficiency |
| histogram of track efficiency times purity More... | |
| TH2D * | fTrackPurityEfficiency2D |
| scatter histogram of cluster purity and efficiency More... | |
| TH1D * | fVertexPurity |
| histogram of vertex purity More... | |
| TH1D * | fVertexEfficiency |
| histogram of vertex efficiency More... | |
| TH1D * | fVertexPurityEfficiency |
| histogram of vertex efficiency times purity More... | |
| TH1D * | fEventPurity |
| histogram of event purity More... | |
| TH1D * | fEventEfficiency |
| histogram of event efficiency More... | |
| TH1D * | fEventPurityEfficiency |
| histogram of event efficiency times purity More... | |
| std::map< std::pair< int, int >, std::pair< double, double > > | fG4ClusterIDToPurityEfficiency |
| std::map< std::pair< int, int >, std::pair< double, double > > | fG4ShowerIDToPurityEfficiency |
| std::map< std::pair< int, int >, std::pair< double, double > > | fG4TrackIDToPurityEfficiency |
| TTree * | fTree |
| TTree to save efficiencies. More... | |
| int | frun |
| run number More... | |
| int | fevent |
| event number More... | |
| int | ftrackid |
| geant track ID More... | |
| int | fpdg |
| particle pdg code More... | |
| double | fpmom |
| particle momentum More... | |
| double | fhiteff |
| hitfinder efficiency for this particle More... | |
| int | fnclu |
| number of clusters for this particle More... | |
| std::vector< double > | fclueff |
| cluster efficiencies More... | |
| std::vector< double > | fclupur |
| cluster purities More... | |
| std::vector< int > | fcluid |
| cluster IDs More... | |
| int | fnshw |
| number of showers for this particle More... | |
| std::vector< double > | fshweff |
| shower efficiencies More... | |
| std::vector< double > | fshwpur |
| shower purities More... | |
| std::vector< int > | fshwid |
| shower IDs More... | |
| int | fntrk |
| number of tracks for this particle More... | |
| std::vector< double > | ftrkeff |
| track efficiencies More... | |
| std::vector< double > | ftrkpur |
| track purities More... | |
| std::vector< int > | ftrkid |
| track IDs More... | |
Additional Inherited Members | |
Public Types inherited from art::EDAnalyzer | |
| using | WorkerType = WorkerT< EDAnalyzer > |
| using | ModuleType = EDAnalyzer |
Protected Member Functions inherited from art::Observer | |
| std::string const & | processName () const |
| bool | wantAllEvents () const noexcept |
| bool | wantEvent (ScheduleID id, Event const &e) const |
| Handle< TriggerResults > | getTriggerResults (Event const &e) const |
| Observer (fhicl::ParameterSet const &config) | |
| Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config) | |
Protected Member Functions inherited from art::ModuleBase | |
| ConsumesCollector & | consumesCollector () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | consumes (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | consumesView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | consumesMany () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | mayConsume (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | mayConsumeView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | mayConsumeMany () |
Definition at line 48 of file RecoCheckAna_module.cc.
|
explicit |
Definition at line 160 of file RecoCheckAna_module.cc.
|
overrideprivatevirtual |
Implements art::EDAnalyzer.
Definition at line 177 of file RecoCheckAna_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 231 of file RecoCheckAna_module.cc.
|
private |
Definition at line 299 of file RecoCheckAna_module.cc.
|
private |
Definition at line 341 of file RecoCheckAna_module.cc.
|
private |
Definition at line 471 of file RecoCheckAna_module.cc.
|
private |
Definition at line 385 of file RecoCheckAna_module.cc.
|
private |
Definition at line 363 of file RecoCheckAna_module.cc.
|
private |
Definition at line 409 of file RecoCheckAna_module.cc.
|
private |
Definition at line 574 of file RecoCheckAna_module.cc.
|
private |
Definition at line 514 of file RecoCheckAna_module.cc.
|
private |
the back tracker service
Definition at line 96 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of clusters?
Definition at line 106 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of events?
Definition at line 110 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of showers?
Definition at line 107 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of tracks?
Definition at line 108 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of vertices?
Definition at line 109 of file RecoCheckAna_module.cc.
|
private |
cluster efficiencies
Definition at line 146 of file RecoCheckAna_module.cc.
|
private |
cluster IDs
Definition at line 148 of file RecoCheckAna_module.cc.
|
private |
cluster purities
Definition at line 147 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster efficiency
Definition at line 113 of file RecoCheckAna_module.cc.
|
private |
label for module making the clusters
Definition at line 100 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster purity
Definition at line 112 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster efficiency times purity
Definition at line 114 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 115 of file RecoCheckAna_module.cc.
|
private |
event number
Definition at line 140 of file RecoCheckAna_module.cc.
|
private |
histogram of event efficiency
Definition at line 128 of file RecoCheckAna_module.cc.
|
private |
label for module making the events
Definition at line 104 of file RecoCheckAna_module.cc.
|
private |
histogram of event purity
Definition at line 127 of file RecoCheckAna_module.cc.
|
private |
histogram of event efficiency times purity
Definition at line 129 of file RecoCheckAna_module.cc.
|
private |
Definition at line 134 of file RecoCheckAna_module.cc.
|
private |
Definition at line 135 of file RecoCheckAna_module.cc.
|
private |
Definition at line 136 of file RecoCheckAna_module.cc.
|
private |
hitfinder efficiency for this particle
Definition at line 144 of file RecoCheckAna_module.cc.
|
private |
label for module making the hits
Definition at line 99 of file RecoCheckAna_module.cc.
|
private |
number of clusters for this particle
Definition at line 145 of file RecoCheckAna_module.cc.
|
private |
number of showers for this particle
Definition at line 149 of file RecoCheckAna_module.cc.
|
private |
number of tracks for this particle
Definition at line 153 of file RecoCheckAna_module.cc.
|
private |
particle pdg code
Definition at line 142 of file RecoCheckAna_module.cc.
|
private |
the back tracker service
Definition at line 97 of file RecoCheckAna_module.cc.
|
private |
particle momentum
Definition at line 143 of file RecoCheckAna_module.cc.
|
private |
run number
Definition at line 139 of file RecoCheckAna_module.cc.
|
private |
histogram of shower efficiency
Definition at line 117 of file RecoCheckAna_module.cc.
|
private |
label for module making the showers
Definition at line 101 of file RecoCheckAna_module.cc.
|
private |
histogram of shower purity
Definition at line 116 of file RecoCheckAna_module.cc.
|
private |
histogram of shower efficiency times purity
Definition at line 118 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 119 of file RecoCheckAna_module.cc.
|
private |
shower efficiencies
Definition at line 150 of file RecoCheckAna_module.cc.
|
private |
shower IDs
Definition at line 152 of file RecoCheckAna_module.cc.
|
private |
shower purities
Definition at line 151 of file RecoCheckAna_module.cc.
|
private |
histogram of track efficiency
Definition at line 121 of file RecoCheckAna_module.cc.
|
private |
geant track ID
Definition at line 141 of file RecoCheckAna_module.cc.
|
private |
label for module making the tracks
Definition at line 102 of file RecoCheckAna_module.cc.
|
private |
histogram of track purity
Definition at line 120 of file RecoCheckAna_module.cc.
|
private |
histogram of track efficiency times purity
Definition at line 122 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 123 of file RecoCheckAna_module.cc.
|
private |
TTree to save efficiencies.
Definition at line 138 of file RecoCheckAna_module.cc.
|
private |
track efficiencies
Definition at line 154 of file RecoCheckAna_module.cc.
|
private |
track IDs
Definition at line 156 of file RecoCheckAna_module.cc.
|
private |
track purities
Definition at line 155 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex efficiency
Definition at line 125 of file RecoCheckAna_module.cc.
|
private |
label for module making the vertices
Definition at line 103 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex purity
Definition at line 124 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex efficiency times purity
Definition at line 126 of file RecoCheckAna_module.cc.
1.8.11