Public Member Functions | |
StructuredTree (fhicl::ParameterSet const &p) | |
StructuredTree (StructuredTree const &)=delete | |
StructuredTree (StructuredTree &&)=delete | |
StructuredTree & | operator= (StructuredTree const &)=delete |
StructuredTree & | operator= (StructuredTree &&)=delete |
virtual void | beginJob () override |
virtual void | endRun (art::Run const &run) override |
virtual void | endJob () override |
void | analyze (Event const &e) override |
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 | ClearVectors () |
clear all vectors and reset counters More... | |
void | FillGenTree (Event const &e) |
extracts generator(truth) level sim products More... | |
void | FillG4Tree (Event const &e) |
extracts G4(truth) level sim products More... | |
void | FillDetTree (Event const &e) |
extracts readout sim products More... | |
void | FillRecoInfo (Event const &e) |
extracts base level reco products More... | |
void | FillHighLevelRecoInfo (Event const &e) |
extracts high level reco products More... | |
std::string | PointToRegion (const TVector3 &point) |
void | processIonizationInfo (rec::TrackIoniz &ion, float ionizeTruncate, float &forwardIonVal, float &backwardIonVal) |
float | processOneDirection (vector< pair< float, float >> SigData, float ionizeTruncate) |
vector< pair< int, float > > | processPIDInfo (float p) |
Static Private Member Functions | |
static bool | lessThan_byE (std::pair< float, float > a, std::pair< float, float > b) |
Private Attributes | |
float | xTPC |
float | rTPC |
string | fPOTtag |
string | fGeantLabel |
module label for geant4 simulated hits More... | |
string | fGeantInstanceCalo |
Instance name ECAL for sdp::CaloDeposit. More... | |
string | fGeantInstanceMuID |
Instance name MuID for sdp::CaloDeposit. More... | |
string | fHitLabel |
module label for reco TPC hits rec::Hit More... | |
string | fTPCClusterLabel |
module label for TPC Clusters rec::TPCCluster More... | |
string | fTrackLabel |
module label for TPC Tracks rec:Track More... | |
string | fVertexLabel |
module label for vertexes rec:Vertex More... | |
string | fVeeLabel |
module label for conversion/decay vertexes rec:Vee More... | |
string | fTPCDigitLabel |
module label for digitized TPC hits raw::RawDigit More... | |
string | fCalDigitLabel |
module label for digitized calo/muID hits raw::CaloRawDigit More... | |
string | fCalDigitInstance |
Instance name ECAL for raw::CaloRawDigit. More... | |
string | fMuDigitInstance |
Instance name MuID for raw::CaloRawDigit. More... | |
string | fCaloHitLabel |
module label for reco calo hits rec::CaloHit More... | |
string | fCaloHitInstanceCalo |
Instance name ECAL for rec::CaloHit. More... | |
string | fMuIDHitLabel |
string | fCaloHitInstanceMuID |
Instance name MuID for rec::CaloHit. More... | |
string | fClusterLabel |
module label for calo clusters rec::Cluster More... | |
string | fPFLabel |
module label for reco particles rec::PFParticle More... | |
string | fECALAssnLabel |
module label for track-clusters associations More... | |
string | fAnaMode |
analysis configs: (gen)eral, (reco) R&D or (readout) sim R&D, default="gen" More... | |
bool | fWriteDisplay |
include sim/reco traj points for event display, default=false More... | |
float | fIonizTruncate |
Default=1.00;. More... | |
TTree * | fHeaderTree |
TTree * | fGenTree |
TTree * | fG4Tree |
TTree * | fDetTree |
TTree * | fRecoTree |
TTree * | fDisplayTree |
const geo::GeometryCore * | fGeo |
pointer to the geometry service More... | |
cheat::BackTrackerCore * | fBt |
Int_t | fEvent |
number of the event being processed More... | |
Int_t | fRun |
number of the run being processed More... | |
Int_t | fSubRun |
number of the sub-run being processed More... | |
Int_t | fPOT |
Int_t | fNSpills |
TLorentzVector | fTpcCenter |
std::string | fGeometry |
string | fTreeType |
"structured" (in our case yes) or "flat" (no) More... | |
vector< Int_t > | fGIndex |
index of GTruth object associated with MCTruth in this row (-1 if not associated, e.g. CRY event) More... | |
vector< garana::GTruth > | fGTruth |
GENIE interction-level info. More... | |
vector< vector< garana::FSParticle > > | fFSParticles |
FS particles/4-vecs. More... | |
vector< garana::G4Particle > | fG4Particles |
'condensed' MCParticles from G4 More... | |
vector< UInt_t > | fG4TruthIndex |
index of GTruth objects matched to this particle More... | |
vector< UInt_t > | fG4FSIndex |
index of FSParticle objects matched to this particle More... | |
vector< vector< sdp::EnergyDeposit > > | fSimTPCHits |
several "hits" per MCParticle More... | |
vector< vector< sdp::CaloDeposit > > | fSimCalHits |
vector< vector< sdp::CaloDeposit > > | fSimMuHits |
vector< raw::RawDigit > | fTPCDigits |
vector< raw::CaloRawDigit > | fCaloDigits |
vector< raw::CaloRawDigit > | fMuDigits |
vector< rec::Hit > | fTPCHits |
vector< rec::CaloHit > | fCalHits |
vector< rec::CaloHit > | fMuHits |
vector< rec::TPCCluster > | fTPCClusters |
reco TPC clusters More... | |
vector< garana::CaloCluster > | fCalClusters |
reco ECal clusters More... | |
vector< garana::CaloCluster > | fMuClusters |
reco MuID clusters More... | |
vector< garana::Track > | fTracks |
reco TPC tracks More... | |
vector< vector< UInt_t > > | fTrackG4PIndices |
index of fG4Particles associated with fTracks More... | |
vector< garana::Vertex > | fVertices |
reco TPC vertices More... | |
vector< vector< UInt_t > > | fVertTrackIndices |
index of fTracks associated with fVertices More... | |
vector< vector< Int_t > > | fVertTrackEnds |
which fTrack end belongs to this vertex More... | |
vector< garana::Vee > | fVees |
reco Vees (reco 4-mom, 4-pos from decay vertex) More... | |
vector< vector< UInt_t > > | fVeeTrackIndices |
index of fTracks associated with fVees More... | |
vector< vector< Int_t > > | fVeeTrackEnds |
track end associated with fVees More... | |
vector< vector< UInt_t > > | fCalTrackIndices |
index of fTracks associated with fCalClusters More... | |
vector< vector< Int_t > > | fCalTrackEnds |
Track end associated with the cluster. More... | |
vector< vector< UInt_t > > | fCalG4PIndices |
index of fG4Particles associated with fCalClusters More... | |
vector< rec::TrackTrajectory > | fRecoDisplay |
reconstructed track trajectory points More... | |
CLHEP::HepRandomEngine & | fEngine |
random engine More... | |
std::unordered_map< int, TH2F * > | m_pidinterp |
vector< const simb::MCTruth * > | fMCTruths |
vector< const simb::MCParticle * > | fMCParticles |
std::map< std::string, int > | fRegionNameToID |
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 93 of file StructuredTree_module.cc.
|
explicit |
Definition at line 274 of file StructuredTree_module.cc.
|
delete |
|
delete |
|
overridevirtual |
Implements art::EDAnalyzer.
Definition at line 539 of file StructuredTree_module.cc.
|
overridevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 375 of file StructuredTree_module.cc.
|
private |
clear all vectors and reset counters
Definition at line 596 of file StructuredTree_module.cc.
|
overridevirtual |
|
overridevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 511 of file StructuredTree_module.cc.
|
private |
extracts readout sim products
Definition at line 1043 of file StructuredTree_module.cc.
|
private |
extracts G4(truth) level sim products
Definition at line 780 of file StructuredTree_module.cc.
|
private |
extracts generator(truth) level sim products
Definition at line 678 of file StructuredTree_module.cc.
|
private |
extracts high level reco products
Definition at line 1147 of file StructuredTree_module.cc.
|
private |
extracts base level reco products
Definition at line 1076 of file StructuredTree_module.cc.
|
inlinestaticprivate |
Definition at line 129 of file StructuredTree_module.cc.
|
delete |
|
delete |
|
private |
Definition at line 1447 of file StructuredTree_module.cc.
|
private |
Definition at line 1488 of file StructuredTree_module.cc.
|
private |
Definition at line 1504 of file StructuredTree_module.cc.
|
private |
Definition at line 1552 of file StructuredTree_module.cc.
|
private |
analysis configs: (gen)eral, (reco) R&D or (readout) sim R&D, default="gen"
Definition at line 165 of file StructuredTree_module.cc.
|
private |
Definition at line 184 of file StructuredTree_module.cc.
|
private |
reco ECal clusters
Definition at line 229 of file StructuredTree_module.cc.
|
private |
Instance name ECAL for raw::CaloRawDigit.
Definition at line 152 of file StructuredTree_module.cc.
|
private |
module label for digitized calo/muID hits raw::CaloRawDigit
Definition at line 151 of file StructuredTree_module.cc.
index of fG4Particles associated with fCalClusters
Definition at line 251 of file StructuredTree_module.cc.
|
private |
Definition at line 223 of file StructuredTree_module.cc.
|
private |
Definition at line 216 of file StructuredTree_module.cc.
|
private |
Instance name ECAL for rec::CaloHit.
Definition at line 156 of file StructuredTree_module.cc.
|
private |
Instance name MuID for rec::CaloHit.
Definition at line 158 of file StructuredTree_module.cc.
|
private |
module label for reco calo hits rec::CaloHit
Definition at line 155 of file StructuredTree_module.cc.
Track end associated with the cluster.
Definition at line 250 of file StructuredTree_module.cc.
index of fTracks associated with fCalClusters
Definition at line 249 of file StructuredTree_module.cc.
|
private |
module label for calo clusters rec::Cluster
Definition at line 160 of file StructuredTree_module.cc.
|
private |
Definition at line 176 of file StructuredTree_module.cc.
|
private |
Definition at line 178 of file StructuredTree_module.cc.
|
private |
module label for track-clusters associations
Definition at line 162 of file StructuredTree_module.cc.
|
private |
random engine
Definition at line 258 of file StructuredTree_module.cc.
|
private |
number of the event being processed
Definition at line 187 of file StructuredTree_module.cc.
|
private |
FS particles/4-vecs.
Definition at line 201 of file StructuredTree_module.cc.
|
private |
index of FSParticle objects matched to this particle
Definition at line 206 of file StructuredTree_module.cc.
|
private |
'condensed' MCParticles from G4
Definition at line 204 of file StructuredTree_module.cc.
|
private |
Definition at line 175 of file StructuredTree_module.cc.
|
private |
index of GTruth objects matched to this particle
Definition at line 205 of file StructuredTree_module.cc.
|
private |
Instance name ECAL for sdp::CaloDeposit.
Definition at line 141 of file StructuredTree_module.cc.
|
private |
Instance name MuID for sdp::CaloDeposit.
Definition at line 142 of file StructuredTree_module.cc.
|
private |
module label for geant4 simulated hits
Definition at line 140 of file StructuredTree_module.cc.
|
private |
Definition at line 174 of file StructuredTree_module.cc.
|
private |
pointer to the geometry service
Definition at line 181 of file StructuredTree_module.cc.
|
private |
Definition at line 193 of file StructuredTree_module.cc.
|
private |
index of GTruth object associated with MCTruth in this row (-1 if not associated, e.g. CRY event)
Definition at line 199 of file StructuredTree_module.cc.
|
private |
GENIE interction-level info.
Definition at line 200 of file StructuredTree_module.cc.
|
private |
Definition at line 173 of file StructuredTree_module.cc.
|
private |
module label for reco TPC hits rec::Hit
Definition at line 144 of file StructuredTree_module.cc.
|
private |
Default=1.00;.
Definition at line 170 of file StructuredTree_module.cc.
|
private |
Definition at line 263 of file StructuredTree_module.cc.
|
private |
Definition at line 262 of file StructuredTree_module.cc.
|
private |
reco MuID clusters
Definition at line 230 of file StructuredTree_module.cc.
|
private |
Instance name MuID for raw::CaloRawDigit.
Definition at line 153 of file StructuredTree_module.cc.
|
private |
Definition at line 217 of file StructuredTree_module.cc.
|
private |
Definition at line 224 of file StructuredTree_module.cc.
|
private |
Definition at line 157 of file StructuredTree_module.cc.
|
private |
Definition at line 191 of file StructuredTree_module.cc.
|
private |
module label for reco particles rec::PFParticle
Definition at line 161 of file StructuredTree_module.cc.
|
private |
Definition at line 190 of file StructuredTree_module.cc.
|
private |
Definition at line 139 of file StructuredTree_module.cc.
|
private |
reconstructed track trajectory points
Definition at line 255 of file StructuredTree_module.cc.
|
private |
Definition at line 177 of file StructuredTree_module.cc.
|
private |
Definition at line 265 of file StructuredTree_module.cc.
|
private |
number of the run being processed
Definition at line 188 of file StructuredTree_module.cc.
|
private |
Definition at line 208 of file StructuredTree_module.cc.
|
private |
Definition at line 209 of file StructuredTree_module.cc.
|
private |
several "hits" per MCParticle
Definition at line 207 of file StructuredTree_module.cc.
|
private |
number of the sub-run being processed
Definition at line 189 of file StructuredTree_module.cc.
|
private |
Definition at line 192 of file StructuredTree_module.cc.
|
private |
module label for TPC Clusters rec::TPCCluster
Definition at line 145 of file StructuredTree_module.cc.
|
private |
reco TPC clusters
Definition at line 228 of file StructuredTree_module.cc.
|
private |
module label for digitized TPC hits raw::RawDigit
Definition at line 150 of file StructuredTree_module.cc.
|
private |
Definition at line 215 of file StructuredTree_module.cc.
Definition at line 222 of file StructuredTree_module.cc.
index of fG4Particles associated with fTracks
Definition at line 235 of file StructuredTree_module.cc.
|
private |
module label for TPC Tracks rec:Track
Definition at line 146 of file StructuredTree_module.cc.
|
private |
reco TPC tracks
Definition at line 234 of file StructuredTree_module.cc.
|
private |
"structured" (in our case yes) or "flat" (no)
Definition at line 196 of file StructuredTree_module.cc.
|
private |
module label for conversion/decay vertexes rec:Vee
Definition at line 148 of file StructuredTree_module.cc.
|
private |
reco Vees (reco 4-mom, 4-pos from decay vertex)
Definition at line 244 of file StructuredTree_module.cc.
track end associated with fVees
Definition at line 246 of file StructuredTree_module.cc.
index of fTracks associated with fVees
Definition at line 245 of file StructuredTree_module.cc.
|
private |
module label for vertexes rec:Vertex
Definition at line 147 of file StructuredTree_module.cc.
|
private |
reco TPC vertices
Definition at line 239 of file StructuredTree_module.cc.
which fTrack end belongs to this vertex
Definition at line 241 of file StructuredTree_module.cc.
index of fTracks associated with fVertices
Definition at line 240 of file StructuredTree_module.cc.
|
private |
include sim/reco traj points for event display, default=false
Definition at line 166 of file StructuredTree_module.cc.
|
private |
Definition at line 259 of file StructuredTree_module.cc.
|
private |
Definition at line 136 of file StructuredTree_module.cc.
|
private |
Definition at line 135 of file StructuredTree_module.cc.