![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
| using | ModuleType = EDAnalyzer |
Public Member Functions | |
| OpticalRecoAna (const fhicl::ParameterSet &) | |
| void | beginJob () |
| void | analyze (const art::Event &) |
| 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) |
| 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) |
| std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | consumesView (InputTag const &tag) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
| std::string const & | processName () const |
| bool | wantAllEvents () const noexcept |
| bool | wantEvent (ScheduleID id, Event const &e) const |
| Handle< TriggerResults > | getTriggerResults (Event const &e) const |
| 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 () |
Private Member Functions | |
| void | get_MC_particle_list (sim::ParticleList const &, std::vector< simb::MCParticle > &) |
| simb::Origin_t | get_MC_particle_origin (simb::MCParticle const &) |
| float | update_MC_particle_time (simb::MCParticle const &, bool &, geo::Geometry const &) |
| void | match_flashes_to_tracks (std::vector< recob::OpFlash > const &, std::vector< recob::Track > const &) |
| void | match_flashes_to_particles (std::vector< recob::OpFlash > const &, std::vector< simb::MCParticle > const &, float const &, geo::Geometry const &) |
Private Attributes | |
| std::string | fFlashModuleLabel |
| std::string | fTrackModuleLabel |
| float | fKineticEnergyMin |
| float | fPEMin |
| float | fTimeMatchMax |
| std::vector< flash_match > | fFlash_match_vector |
| std::vector< track_match > | fTrack_match_vector |
| std::vector< particle_match > | fParticle_match_vector |
| TH1F * | fTimeDiff |
| TH1F * | fTimeDiff_fine |
| TH1I * | fNBeamFlashes |
| TTree * | fMatchTree_PF |
| TTree * | fMatchTree_PF_NotNu |
| int | fRun |
| int | fEvent |
| int | fParticleID |
| int | fParticleMother |
| int | fParticleTrackID |
| float | fParticleTime |
| float | fParticleVx |
| float | fParticleVy |
| float | fParticleVz |
| int | fFlashID |
| float | fFlashTime |
| float | fFlashTimeWidth |
| float | fFlashY |
| float | fFlashZ |
| float | fFlashYWidth |
| float | fFlashZWidth |
| float | fFlashPE |
| int | fFlashOnBeamTime |
| int | fMatchIndex |
| int | fMatchIndex_NotNu |
Definition at line 44 of file OpticalRecoAna_module.cc.
|
inherited |
Definition at line 22 of file EDAnalyzer.h.
| opreco::OpticalRecoAna::OpticalRecoAna | ( | const fhicl::ParameterSet & | ) |
Definition at line 111 of file OpticalRecoAna_module.cc.
References fFlash_match_vector, fFlashModuleLabel, fKineticEnergyMin, fParticle_match_vector, fPEMin, fTimeMatchMax, fTrack_match_vector, fTrackModuleLabel, and fhicl::ParameterSet::get().
| void opreco::OpticalRecoAna::analyze | ( | const art::Event & | evt | ) |
Definition at line 189 of file OpticalRecoAna_module.cc.
References art::EventID::event(), fEvent, fFlash_match_vector, fFlashModuleLabel, fNBeamFlashes, fParticle_match_vector, fRun, get_MC_particle_list(), art::ProductRetriever::getByLabel(), art::Event::id(), art::Event::isRealData(), match_flashes_to_particles(), MF_LOG_INFO, cheat::ParticleInventoryService::ParticleList(), and art::EventID::run().
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 127 of file OpticalRecoAna_module.cc.
References fEvent, fFlashID, fFlashOnBeamTime, fFlashPE, fFlashTime, fFlashTimeWidth, fFlashY, fFlashYWidth, fFlashZ, fMatchIndex, fMatchIndex_NotNu, fMatchTree_PF, fMatchTree_PF_NotNu, fNBeamFlashes, fParticleID, fParticleMother, fParticleTime, fParticleTrackID, fParticleVx, fParticleVy, fParticleVz, fRun, fTimeDiff, and fTimeDiff_fine.
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
inherited |
Definition at line 25 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 68 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 84 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 33 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 76 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 92 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 100 of file Analyzer.cc.
References e, and art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 47 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 61 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 40 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 54 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
private |
Definition at line 236 of file OpticalRecoAna_module.cc.
References util::abs(), sim::ParticleList::begin(), simb::MCParticle::E(), sim::ParticleList::end(), fKineticEnergyMin, ipart, simb::MCParticle::Mass(), and simb::MCParticle::PdgCode().
Referenced by analyze().
|
private |
Definition at line 230 of file OpticalRecoAna_module.cc.
References simb::MCParticle::TrackId(), and cheat::ParticleInventoryService::TrackIdToMCTruth_P().
Referenced by match_flashes_to_particles().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
protectedinherited |
Definition at line 75 of file Observer.cc.
References art::ProductRetriever::get(), and art::Observer::selectors_.
Referenced by art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
private |
Definition at line 294 of file OpticalRecoAna_module.cc.
References util::abs(), fFlash_match_vector, fFlashID, fFlashOnBeamTime, fFlashPE, fFlashTime, fFlashTimeWidth, fFlashY, fFlashYWidth, fFlashZ, fFlashZWidth, fMatchIndex, fMatchIndex_NotNu, fMatchTree_PF, fMatchTree_PF_NotNu, fParticle_match_vector, fParticleID, fParticleMother, fParticleTime, fParticleTrackID, fParticleVx, fParticleVy, fParticleVz, fPEMin, fTimeDiff, fTimeDiff_fine, fTimeMatchMax, get_MC_particle_origin(), simb::kBeamNeutrino, recob::OpFlash::Time(), and update_MC_particle_time().
Referenced by analyze().
|
private |
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
protectedinherited |
Definition at line 57 of file Observer.cc.
References art::Observer::process_name_.
Referenced by art::FileDumperOutput::printPrincipal().
|
inherited |
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
private |
Definition at line 266 of file OpticalRecoAna_module.cc.
References e, simb::MCParticle::NumberTrajectoryPoints(), geo::GeometryCore::PositionToTPC(), simb::MCParticle::T(), simb::MCParticle::Vx(), simb::MCParticle::Vy(), and simb::MCParticle::Vz().
Referenced by match_flashes_to_particles().
|
inlineprotectednoexceptinherited |
Definition at line 31 of file Observer.h.
References e, art::Observer::getTriggerResults(), art::Observer::wantAllEvents_, and art::Observer::wantEvent().
|
protectedinherited |
Definition at line 63 of file Observer.cc.
References art::Observer::rejectors_, art::Observer::selectors_, and art::Observer::wantAllEvents_.
Referenced by art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
private |
Definition at line 83 of file OpticalRecoAna_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file OpticalRecoAna_module.cc.
Referenced by analyze(), match_flashes_to_particles(), and OpticalRecoAna().
|
private |
Definition at line 91 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 53 of file OpticalRecoAna_module.cc.
Referenced by analyze(), and OpticalRecoAna().
|
private |
Definition at line 99 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 98 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 92 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 93 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 94 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 96 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 95 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 97 of file OpticalRecoAna_module.cc.
Referenced by match_flashes_to_particles().
|
private |
Definition at line 55 of file OpticalRecoAna_module.cc.
Referenced by get_MC_particle_list(), and OpticalRecoAna().
|
private |
Definition at line 100 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 101 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 80 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 81 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 78 of file OpticalRecoAna_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 61 of file OpticalRecoAna_module.cc.
Referenced by analyze(), match_flashes_to_particles(), and OpticalRecoAna().
|
private |
Definition at line 84 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 85 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 87 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 86 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 88 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 89 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 90 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 56 of file OpticalRecoAna_module.cc.
Referenced by match_flashes_to_particles(), and OpticalRecoAna().
|
private |
Definition at line 82 of file OpticalRecoAna_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 76 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 77 of file OpticalRecoAna_module.cc.
Referenced by beginJob(), and match_flashes_to_particles().
|
private |
Definition at line 57 of file OpticalRecoAna_module.cc.
Referenced by match_flashes_to_particles(), and OpticalRecoAna().
|
private |
Definition at line 60 of file OpticalRecoAna_module.cc.
Referenced by OpticalRecoAna().
|
private |
Definition at line 54 of file OpticalRecoAna_module.cc.
Referenced by OpticalRecoAna().