![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
| class | PandoraData |
| Class holding the handle for all of the data types from Pandora. More... | |
Public Types | |
| using | WorkerType = WorkerT< EDAnalyzer > |
| using | ModuleType = EDAnalyzer |
Public Member Functions | |
| LArPandoraEventDump (fhicl::ParameterSet const &pset) | |
| LArPandoraEventDump (LArPandoraEventDump const &)=delete | |
| LArPandoraEventDump (LArPandoraEventDump &&)=delete | |
| LArPandoraEventDump & | operator= (LArPandoraEventDump const &)=delete |
| LArPandoraEventDump & | operator= (LArPandoraEventDump &&)=delete |
| void | analyze (art::Event const &evt) override |
| std::string | workerType () const |
| bool | modifiesEvent () const |
| void | registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &) |
| std::string const & | processName () const |
| bool | wantAllEvents () const |
| bool | wantEvent (Event const &e) |
| fhicl::ParameterSetID | selectorConfig () const |
| art::Handle< art::TriggerResults > | getTriggerResults (Event const &e) const |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | consumes (InputTag const &) |
| template<typename T , art::BranchType BT> | |
| art::ProductToken< T > | consumes (InputTag const &it) |
| template<typename T , BranchType = InEvent> | |
| void | consumesMany () |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | consumesView (InputTag const &) |
| template<typename T , art::BranchType BT> | |
| art::ViewToken< T > | consumesView (InputTag const &it) |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | mayConsume (InputTag const &) |
| template<typename T , art::BranchType BT> | |
| art::ProductToken< T > | mayConsume (InputTag const &it) |
| template<typename T , BranchType = InEvent> | |
| void | mayConsumeMany () |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | mayConsumeView (InputTag const &) |
| template<typename T , art::BranchType BT> | |
| art::ViewToken< T > | mayConsumeView (InputTag const &it) |
| base_engine_t & | createEngine (seed_t seed) |
| base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
| base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label) |
| seed_t | get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1) |
Static Public Member Functions | |
| static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
| CurrentProcessingContext const * | currentContext () const |
| detail::CachedProducts & | cachedProducts () |
| void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
| void | prepareForJob (fhicl::ParameterSet const &pset) |
| void | showMissingConsumes () const |
Private Types | |
| template<class T > | |
| using | Collection = art::Handle< std::vector< T > > |
| template<class T > | |
| using | Association = art::FindManyP< T > |
Private Member Functions | |
| void | PrintEventMetadata (const art::Event &evt) const |
| Print the metadata about the event. More... | |
| void | PrintEventSummary (const PandoraData &data) const |
| Print a summary of the event similar to the standard event dump. More... | |
| void | PrintPFParticleHierarchy (const PandoraData &data) const |
| Print the full PFParticle Hierarchy. More... | |
| void | BuildPFParticleMap (const PandoraData &data, PFParticleMap &pfParticleMap) const |
| Build the map from PFParticle ID to PFParticle from the input data. More... | |
| void | PrintParticle (const art::Ptr< recob::PFParticle > &particle, const PFParticleMap &pfParticleMap, const PandoraData &data, const unsigned int depth) const |
| Print a given PFParticle. More... | |
| void | PrintHit (const art::Ptr< recob::Hit > &hit, const unsigned int depth) const |
| Print a given Hit. More... | |
| void | PrintSlice (const art::Ptr< recob::Slice > &slice, const PandoraData &data, const unsigned int depth) const |
| Print a given Slice. More... | |
| void | PrintCluster (const art::Ptr< recob::Cluster > &cluster, const PandoraData &data, const unsigned int depth) const |
| Print a given Cluster. More... | |
| void | PrintVertex (const art::Ptr< recob::Vertex > &vertex, const unsigned int depth) const |
| Print a given Vertex. More... | |
| void | PrintSpacePoint (const art::Ptr< recob::SpacePoint > &spacePoint, const PandoraData &data, const unsigned int depth) const |
| Print a given SpacePoint. More... | |
| void | PrintTrack (const art::Ptr< recob::Track > &track, const PandoraData &data, const unsigned int depth) const |
| Print a given Track. More... | |
| void | PrintShower (const art::Ptr< recob::Shower > &shower, const PandoraData &data, const unsigned int depth) const |
| Print a given Shower. More... | |
| void | PrintRule (const unsigned int depth) const |
| Print a horizontal line. More... | |
| void | PrintTitle (const std::string &name, const unsigned int depth) const |
| Print a title line. More... | |
| template<class T > | |
| void | PrintProperty (const std::string &name, const T &value, const unsigned int depth) const |
| Print a given property with the correct amount of whitespace. More... | |
Private Attributes | |
| std::string | m_verbosityLevel |
| The level of verbosity to use. More... | |
| std::string | m_pandoraLabel |
| The label of the Pandora pattern recognition producer. More... | |
| std::string | m_trackLabel |
| The track producer label. More... | |
| std::string | m_showerLabel |
| The shower producer label. More... | |
Definition at line 32 of file LArPandoraEventDump_module.cc.
|
private |
Definition at line 49 of file LArPandoraEventDump_module.cc.
|
private |
Definition at line 46 of file LArPandoraEventDump_module.cc.
|
inherited |
Definition at line 39 of file EDAnalyzer.h.
|
inherited |
Definition at line 38 of file EDAnalyzer.h.
|
explicit |
Definition at line 266 of file LArPandoraEventDump_module.cc.
References fhicl::ParameterSet::get(), and m_verbosityLevel.
|
delete |
|
delete |
|
overridevirtual |
Implements art::EDAnalyzer.
Definition at line 286 of file LArPandoraEventDump_module.cc.
References m_pandoraLabel, m_showerLabel, m_trackLabel, m_verbosityLevel, PrintEventMetadata(), PrintEventSummary(), and PrintPFParticleHierarchy().
|
private |
Build the map from PFParticle ID to PFParticle from the input data.
| data | the pandora collections and associations |
| pfParticleMap | the output PFParticle map |
Definition at line 396 of file LArPandoraEventDump_module.cc.
References lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleCollection, and recob::PFParticle::Self().
Referenced by PrintPFParticleHierarchy().
|
inlineprotectedinherited |
Definition at line 79 of file EventObserverBase.h.
References art::EventObserverBase::selectors_.
Referenced by art::EDAnalyzer::doEvent(), and art::OutputModule::doWriteEvent().
|
inherited |
|
inherited |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 162 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 26 of file EngineCreator.cc.
References art::EngineCreator::rng().
Referenced by evgen::CosmicsGen::CosmicsGen(), rndm::NuRandomService::createEngine(), cluster::fuzzyCluster::fuzzyCluster(), cluster::HoughLineFinder::HoughLineFinder(), art::MixFilter< T >::initEngine_(), larg4::LArG4::LArG4(), evgen::LightSource::LightSource(), evgen::NeutronOsc::NeutronOsc(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), detsim::SimDriftElectrons::SimDriftElectrons(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), ToyOneShowerGen::ToyOneShowerGen(), and trkf::Track3DKalman::Track3DKalman().
|
inherited |
Definition at line 32 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
inherited |
Definition at line 40 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
protectedinherited |
Definition at line 114 of file EDAnalyzer.cc.
References art::EDAnalyzer::current_context_.
Referenced by art::EDAnalyzer::workerType().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
inlineinherited |
Definition at line 61 of file EventObserverBase.h.
References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.
Referenced by art::OutputModule::doWriteEvent().
|
inherited |
|
inherited |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 205 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineinherited |
Definition at line 25 of file EventObserverBase.h.
|
staticinherited |
Definition at line 76 of file Consumer.cc.
Referenced by art::RootOutput::beginSubRun(), art::OutputModule::doBeginRun(), art::OutputModule::doBeginSubRun(), art::OutputModule::doEndRun(), art::OutputModule::doEndSubRun(), art::ProducingService::doPostReadEvent(), art::ProducingService::doPostReadRun(), art::ProducingService::doPostReadSubRun(), art::OutputModule::doWriteEvent(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EventProcessor::readEvent(), art::EventProcessor::readRun(), art::EmptyEvent::readRun_(), art::EventProcessor::readSubRun(), and art::EmptyEvent::readSubRun_().
|
delete |
|
delete |
|
protectedinherited |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
private |
Print a given Cluster.
| cluster | the cluster to print |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 570 of file LArPandoraEventDump_module.cc.
References hits(), recob::Cluster::ID(), art::Ptr< T >::key(), lar_pandora::LArPandoraEventDump::PandoraData::m_pClusterToHitAssociation, m_verbosityLevel, PrintHit(), PrintProperty(), PrintTitle(), and recob::Cluster::View().
Referenced by PrintParticle().
|
private |
Print the metadata about the event.
| evt | the art event |
Definition at line 300 of file LArPandoraEventDump_module.cc.
References art::Event::event(), art::Event::run(), and art::Event::subRun().
Referenced by analyze().
|
private |
Print a summary of the event similar to the standard event dump.
| data | the pandora collections and associations |
Definition at line 311 of file LArPandoraEventDump_module.cc.
References lar_pandora::LArPandoraEventDump::PandoraData::m_clusterCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_pcAxisCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_pClusterToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleMetadataCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToClusterAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToMetadataAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToShowerAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSliceAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSpacePointAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToTrackAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToVertexAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToPCAxisAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pSliceToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pSpacePointToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pTrackToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_showerCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_sliceCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_spacePointCollection, lar_pandora::LArPandoraEventDump::PandoraData::m_trackCollection, and lar_pandora::LArPandoraEventDump::PandoraData::m_vertexCollection.
Referenced by analyze().
|
private |
Print a given Hit.
| hit | the hit to print |
| depth | the number of characters to indent |
Definition at line 536 of file LArPandoraEventDump_module.cc.
References recob::Hit::Channel(), art::Ptr< T >::key(), recob::Hit::PeakTime(), PrintProperty(), PrintTitle(), recob::Hit::RMS(), and recob::Hit::View().
Referenced by PrintCluster(), PrintShower(), PrintSlice(), PrintSpacePoint(), and PrintTrack().
|
private |
Print a given PFParticle.
| particle | the particle to print |
| pfParticleMap | the input mapping from PFParticle ID to PFParticle |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 407 of file LArPandoraEventDump_module.cc.
References recob::PFParticle::Daughters(), recob::PFParticle::IsPrimary(), art::Ptr< T >::key(), lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToClusterAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToMetadataAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToShowerAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSliceAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSpacePointAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToTrackAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToVertexAssociation, m_verbosityLevel, recob::PFParticle::NumDaughters(), recob::PFParticle::Parent(), recob::PFParticle::PdgCode(), PrintCluster(), PrintProperty(), PrintRule(), PrintShower(), PrintSlice(), PrintSpacePoint(), PrintTitle(), PrintTrack(), PrintVertex(), recob::PFParticle::Self(), tca::slices, and track.
Referenced by PrintPFParticleHierarchy().
|
private |
Print the full PFParticle Hierarchy.
| data | the pandora collections and associations |
Definition at line 376 of file LArPandoraEventDump_module.cc.
References BuildPFParticleMap(), recob::PFParticle::IsPrimary(), lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleCollection, and PrintParticle().
Referenced by analyze().
|
private |
Print a given property with the correct amount of whitespace.
| name | the property name |
| value | the property value |
| depth | the number of characters to indent |
Definition at line 714 of file LArPandoraEventDump_module.cc.
References art::left(), and max.
Referenced by PrintCluster(), PrintHit(), PrintParticle(), PrintShower(), PrintSlice(), PrintSpacePoint(), PrintTrack(), and PrintVertex().
|
private |
Print a horizontal line.
| depth | the number of characters to indent |
Definition at line 696 of file LArPandoraEventDump_module.cc.
References max.
Referenced by PrintParticle().
|
private |
Print a given Shower.
| shower | the shower to print |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 655 of file LArPandoraEventDump_module.cc.
References hits(), recob::Shower::ID(), art::Ptr< T >::key(), recob::Shower::Length(), lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToHitAssociation, lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToPCAxisAssociation, m_verbosityLevel, recob::Shower::OpenAngle(), PrintHit(), PrintProperty(), PrintTitle(), and recob::Shower::ShowerStart().
Referenced by PrintParticle().
|
private |
Print a given Slice.
| slice | the slice to print |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 548 of file LArPandoraEventDump_module.cc.
References hits(), recob::Slice::ID(), art::Ptr< T >::key(), lar_pandora::LArPandoraEventDump::PandoraData::m_pSliceToHitAssociation, m_verbosityLevel, PrintHit(), PrintProperty(), and PrintTitle().
Referenced by PrintParticle().
|
private |
Print a given SpacePoint.
| spacePoint | the spacePoint to print |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 593 of file LArPandoraEventDump_module.cc.
References hits(), recob::SpacePoint::ID(), art::Ptr< T >::key(), lar_pandora::LArPandoraEventDump::PandoraData::m_pSpacePointToHitAssociation, m_verbosityLevel, PrintHit(), PrintProperty(), PrintTitle(), and recob::SpacePoint::XYZ().
Referenced by PrintParticle().
|
private |
Print a title line.
| name | the title name |
| depth | the number of characters to indent |
Definition at line 705 of file LArPandoraEventDump_module.cc.
Referenced by PrintCluster(), PrintHit(), PrintParticle(), PrintShower(), PrintSlice(), PrintSpacePoint(), PrintTrack(), and PrintVertex().
|
private |
Print a given Track.
| track | the track to print |
| data | the pandora collections and associations |
| depth | the number of characters to indent |
Definition at line 632 of file LArPandoraEventDump_module.cc.
References hits(), art::Ptr< T >::key(), recob::Track::Length(), lar_pandora::LArPandoraEventDump::PandoraData::m_pTrackToHitAssociation, m_verbosityLevel, recob::Track::NumberTrajectoryPoints(), PrintHit(), PrintProperty(), and PrintTitle().
Referenced by PrintParticle().
|
private |
Print a given Vertex.
| vertex | the vertex to print |
| depth | the number of characters to indent |
Definition at line 619 of file LArPandoraEventDump_module.cc.
References recob::Vertex::ID(), art::Ptr< T >::key(), recob::Vertex::position(), PrintProperty(), and PrintTitle().
Referenced by PrintParticle().
|
inlineinherited |
Definition at line 41 of file EventObserverBase.h.
References art::EventObserverBase::process_name_.
Referenced by art::FileDumperOutput::printPrincipal(), and art::RootOutput::RootOutput().
|
inlineinherited |
Definition at line 33 of file EventObserverBase.h.
|
inlineinherited |
Definition at line 56 of file EventObserverBase.h.
References art::EventObserverBase::selector_config_id_.
Referenced by art::RootOutputFile::writeOne().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
inlineinherited |
Definition at line 46 of file EventObserverBase.h.
References art::EventObserverBase::wantAllEvents_.
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), art::RootOutput::RootOutput(), and art::OutputWorker::wantAllEvents().
|
inlineinherited |
Definition at line 51 of file EventObserverBase.h.
References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), and art::OutputModule::doWriteEvent().
|
inlineinherited |
Definition at line 109 of file EDAnalyzer.h.
References art::EDAnalyzer::currentContext().
|
private |
The label of the Pandora pattern recognition producer.
Definition at line 251 of file LArPandoraEventDump_module.cc.
Referenced by analyze().
|
private |
The shower producer label.
Definition at line 253 of file LArPandoraEventDump_module.cc.
Referenced by analyze().
|
private |
The track producer label.
Definition at line 252 of file LArPandoraEventDump_module.cc.
Referenced by analyze().
|
private |
The level of verbosity to use.
Definition at line 250 of file LArPandoraEventDump_module.cc.
Referenced by analyze(), LArPandoraEventDump(), PrintCluster(), PrintParticle(), PrintShower(), PrintSlice(), PrintSpacePoint(), and PrintTrack().