PFParticleCosmicAna class. More...
Public Member Functions | |
PFParticleCosmicAna (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
virtual | ~PFParticleCosmicAna () |
Destructor. More... | |
void | beginJob () |
void | endJob () |
void | analyze (const art::Event &evt) |
void | reconfigure (fhicl::ParameterSet const &pset) |
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 | FillRecoTree (const PFParticlesToHits &recoParticlesToHits, const PFParticlesToTracks &recoParticlesToTracks, const TracksToCosmicTags &recoTracksToCosmicTags) |
Fill event-level variables using input maps between reconstructed objects. More... | |
void | FillTrueTree (const HitVector &hitVector, const HitsToMCParticles &trueHitsToParticles, const HitsToPFParticles &recoHitsToParticles, const MCParticlesToMCTruth &particlesToTruth, const PFParticlesToTracks &particlesToTracks, const TracksToCosmicTags &tracksToCosmicTags) |
Fill track-level variables using input maps between reconstructed objects. More... | |
float | GetCosmicScore (const art::Ptr< recob::PFParticle > particle, const PFParticlesToTracks &recoParticlesToTracks, const TracksToCosmicTags &recoTracksToCosmicTags) const |
Get cosmic score for a PFParticle using track-level information. 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 () |
PFParticleCosmicAna class.
Definition at line 24 of file PFParticleCosmicAna_module.cc.
lar_pandora::PFParticleCosmicAna::PFParticleCosmicAna | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 170 of file PFParticleCosmicAna_module.cc.
|
virtual |
void lar_pandora::PFParticleCosmicAna::analyze | ( | const art::Event & | evt | ) |
Definition at line 264 of file PFParticleCosmicAna_module.cc.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 199 of file PFParticleCosmicAna_module.cc.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 258 of file PFParticleCosmicAna_module.cc.
|
private |
Fill event-level variables using input maps between reconstructed objects.
recoParticlesToHits | mapping from particles to hits |
recoParticlesToTracks | mapping from particles to tracks |
recoTracksToCosmicTags | mapping from tracks to cosmic tags |
Definition at line 332 of file PFParticleCosmicAna_module.cc.
|
private |
Fill track-level variables using input maps between reconstructed objects.
hitVector | input vector of reconstructed hits |
trueHitsToParticles | mapping between true hits and particles |
recoHitsToParticles | mapping between reconstructed hits and particles |
particlesToTruth | mapping between MC particles and MC truth |
particlesToTracks | mapping between reconstructed particles and tracks |
tracksToCosmicTags | mapping between reconstructed tracks and cosmic tags |
Definition at line 483 of file PFParticleCosmicAna_module.cc.
|
private |
Get cosmic score for a PFParticle using track-level information.
particle | input reconstructed particle |
recoParticlesToTracks | mapping between reconstructed particles and tracks |
recoTracksToCosmicTags | mapping between reconstructed tracks and cosmic tags |
Definition at line 559 of file PFParticleCosmicAna_module.cc.
void lar_pandora::PFParticleCosmicAna::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 183 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 139 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 133 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 90 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 83 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 134 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 130 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 84 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 89 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 88 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 123 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 124 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 127 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 126 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 128 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 125 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 92 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 116 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 117 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 120 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 119 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 121 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 118 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 91 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 132 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 87 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 79 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 80 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 82 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 86 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 114 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 111 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 103 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 104 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 105 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 97 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 98 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 99 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 131 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 106 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 113 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 110 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 100 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 101 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 102 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 94 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 95 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 96 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 107 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 108 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 109 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 137 of file PFParticleCosmicAna_module.cc.
|
private |
Definition at line 136 of file PFParticleCosmicAna_module.cc.