Public Member Functions | |
RecoCheckAna (fhicl::ParameterSet const &p) | |
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... | |
Definition at line 50 of file RecoCheckAna_module.cc.
|
explicit |
Definition at line 162 of file RecoCheckAna_module.cc.
|
overrideprivate |
Definition at line 179 of file RecoCheckAna_module.cc.
|
overrideprivate |
Definition at line 233 of file RecoCheckAna_module.cc.
|
private |
Definition at line 301 of file RecoCheckAna_module.cc.
|
private |
Definition at line 343 of file RecoCheckAna_module.cc.
|
private |
Definition at line 473 of file RecoCheckAna_module.cc.
|
private |
Definition at line 387 of file RecoCheckAna_module.cc.
|
private |
Definition at line 365 of file RecoCheckAna_module.cc.
|
private |
Definition at line 411 of file RecoCheckAna_module.cc.
|
private |
Definition at line 576 of file RecoCheckAna_module.cc.
|
private |
Definition at line 516 of file RecoCheckAna_module.cc.
|
private |
the back tracker service
Definition at line 98 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of clusters?
Definition at line 108 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of events?
Definition at line 112 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of showers?
Definition at line 109 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of tracks?
Definition at line 110 of file RecoCheckAna_module.cc.
|
private |
should we check the reconstruction of vertices?
Definition at line 111 of file RecoCheckAna_module.cc.
|
private |
cluster efficiencies
Definition at line 148 of file RecoCheckAna_module.cc.
|
private |
cluster IDs
Definition at line 150 of file RecoCheckAna_module.cc.
|
private |
cluster purities
Definition at line 149 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster efficiency
Definition at line 115 of file RecoCheckAna_module.cc.
|
private |
label for module making the clusters
Definition at line 102 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster purity
Definition at line 114 of file RecoCheckAna_module.cc.
|
private |
histogram of cluster efficiency times purity
Definition at line 116 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 117 of file RecoCheckAna_module.cc.
|
private |
event number
Definition at line 142 of file RecoCheckAna_module.cc.
|
private |
histogram of event efficiency
Definition at line 130 of file RecoCheckAna_module.cc.
|
private |
label for module making the events
Definition at line 106 of file RecoCheckAna_module.cc.
|
private |
histogram of event purity
Definition at line 129 of file RecoCheckAna_module.cc.
|
private |
histogram of event efficiency times purity
Definition at line 131 of file RecoCheckAna_module.cc.
|
private |
Definition at line 136 of file RecoCheckAna_module.cc.
|
private |
Definition at line 137 of file RecoCheckAna_module.cc.
|
private |
Definition at line 138 of file RecoCheckAna_module.cc.
|
private |
hitfinder efficiency for this particle
Definition at line 146 of file RecoCheckAna_module.cc.
|
private |
label for module making the hits
Definition at line 101 of file RecoCheckAna_module.cc.
|
private |
number of clusters for this particle
Definition at line 147 of file RecoCheckAna_module.cc.
|
private |
number of showers for this particle
Definition at line 151 of file RecoCheckAna_module.cc.
|
private |
number of tracks for this particle
Definition at line 155 of file RecoCheckAna_module.cc.
|
private |
particle pdg code
Definition at line 144 of file RecoCheckAna_module.cc.
|
private |
the back tracker service
Definition at line 99 of file RecoCheckAna_module.cc.
|
private |
particle momentum
Definition at line 145 of file RecoCheckAna_module.cc.
|
private |
run number
Definition at line 141 of file RecoCheckAna_module.cc.
|
private |
histogram of shower efficiency
Definition at line 119 of file RecoCheckAna_module.cc.
|
private |
label for module making the showers
Definition at line 103 of file RecoCheckAna_module.cc.
|
private |
histogram of shower purity
Definition at line 118 of file RecoCheckAna_module.cc.
|
private |
histogram of shower efficiency times purity
Definition at line 120 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 121 of file RecoCheckAna_module.cc.
|
private |
shower efficiencies
Definition at line 152 of file RecoCheckAna_module.cc.
|
private |
shower IDs
Definition at line 154 of file RecoCheckAna_module.cc.
|
private |
shower purities
Definition at line 153 of file RecoCheckAna_module.cc.
|
private |
histogram of track efficiency
Definition at line 123 of file RecoCheckAna_module.cc.
|
private |
geant track ID
Definition at line 143 of file RecoCheckAna_module.cc.
|
private |
label for module making the tracks
Definition at line 104 of file RecoCheckAna_module.cc.
|
private |
histogram of track purity
Definition at line 122 of file RecoCheckAna_module.cc.
|
private |
histogram of track efficiency times purity
Definition at line 124 of file RecoCheckAna_module.cc.
|
private |
scatter histogram of cluster purity and efficiency
Definition at line 125 of file RecoCheckAna_module.cc.
|
private |
TTree to save efficiencies.
Definition at line 140 of file RecoCheckAna_module.cc.
|
private |
track efficiencies
Definition at line 156 of file RecoCheckAna_module.cc.
|
private |
track IDs
Definition at line 158 of file RecoCheckAna_module.cc.
|
private |
track purities
Definition at line 157 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex efficiency
Definition at line 127 of file RecoCheckAna_module.cc.
|
private |
label for module making the vertices
Definition at line 105 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex purity
Definition at line 126 of file RecoCheckAna_module.cc.
|
private |
histogram of vertex efficiency times purity
Definition at line 128 of file RecoCheckAna_module.cc.