LArPandora class. More...
#include <LArPandora.h>
Public Member Functions | |
LArPandora (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
void | beginJob () |
void | produce (art::Event &evt) |
Public Member Functions inherited from lar_pandora::ILArPandora | |
ILArPandora (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
virtual | ~ILArPandora () |
Destructor. More... | |
Public Member Functions inherited from art::EDProducer | |
EDProducer (fhicl::ParameterSet const &pset) | |
template<typename Config > | |
EDProducer (Table< Config > const &config) | |
std::string | workerType () const |
Public Member Functions inherited from art::detail::Producer | |
virtual | ~Producer () noexcept |
Producer (fhicl::ParameterSet const &) | |
Producer (Producer const &)=delete | |
Producer (Producer &&)=delete | |
Producer & | operator= (Producer const &)=delete |
Producer & | operator= (Producer &&)=delete |
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::Modifier | |
~Modifier () noexcept | |
Modifier () | |
Modifier (Modifier const &)=delete | |
Modifier (Modifier &&)=delete | |
Modifier & | operator= (Modifier const &)=delete |
Modifier & | operator= (Modifier &&)=delete |
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) |
Protected Member Functions | |
void | CreatePandoraInput (art::Event &evt, IdToHitMap &idToHitMap) |
Create pandora input hits, mc particles etc. More... | |
void | ProcessPandoraOutput (art::Event &evt, const IdToHitMap &idToHitMap) |
Process pandora output particle flow objects. More... | |
Protected Member Functions inherited from lar_pandora::ILArPandora | |
virtual void | CreatePandoraInstances ()=0 |
Create pandora instances. More... | |
virtual void | ConfigurePandoraInstances ()=0 |
Configure pandora instances. More... | |
virtual void | DeletePandoraInstances ()=0 |
Delete pandora instances. More... | |
virtual void | RunPandoraInstances ()=0 |
Run all associated pandora instances. More... | |
virtual void | ResetPandoraInstances ()=0 |
Reset all associated pandora instances. More... | |
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 () |
Protected Attributes | |
std::string | m_configFile |
The config file. More... | |
bool | m_shouldRunAllHitsCosmicReco |
Steering: whether to run all hits cosmic-ray reconstruction. More... | |
bool | m_shouldRunStitching |
Steering: whether to stitch cosmic-ray muons crossing between volumes. More... | |
bool | m_shouldRunCosmicHitRemoval |
Steering: whether to remove hits from tagged cosmic-rays. More... | |
bool | m_shouldRunSlicing |
Steering: whether to slice events into separate regions for processing. More... | |
bool | m_shouldRunNeutrinoRecoOption |
Steering: whether to run neutrino reconstruction for each slice. More... | |
bool | m_shouldRunCosmicRecoOption |
Steering: whether to run cosmic-ray reconstruction for each slice. More... | |
bool | m_shouldPerformSliceId |
Steering: whether to identify slices and select most appropriate pfos. More... | |
bool | m_shouldProduceAllOutcomes |
Steering: whether to produce all reconstruction outcomes. More... | |
bool | m_printOverallRecoStatus |
Steering: whether to print current operation status messages. More... | |
std::string | m_generatorModuleLabel |
The generator module label. More... | |
std::string | m_geantModuleLabel |
The geant module label. More... | |
std::string | m_simChannelModuleLabel |
The SimChannel producer module label. More... | |
std::string | m_hitfinderModuleLabel |
The hit finder module label. More... | |
std::string | m_backtrackerModuleLabel |
The back tracker module label. More... | |
std::string | m_allOutcomesInstanceLabel |
The instance label for all outcomes. More... | |
bool | m_enableProduction |
Whether to persist output products. More... | |
bool | m_enableDetectorGaps |
Whether to pass detector gap information to Pandora instances. More... | |
bool | m_enableMCParticles |
Whether to pass mc information to Pandora instances to aid development. More... | |
bool | m_disableRealDataCheck |
Whether to check if the input file contains real data before accessing MC information. More... | |
bool | m_lineGapsCreated |
Book-keeping: whether line gap creation has been called. More... | |
LArPandoraInput::Settings | m_inputSettings |
The lar pandora input settings. More... | |
LArPandoraOutput::Settings | m_outputSettings |
The lar pandora output settings. More... | |
LArDriftVolumeMap | m_driftVolumeMap |
The map from volume id to drift volume. More... | |
Protected Attributes inherited from lar_pandora::ILArPandora | |
const pandora::Pandora * | m_pPrimaryPandora |
The address of the primary pandora instance. More... | |
Additional Inherited Members | |
Public Types inherited from art::EDProducer | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
Public Types inherited from art::detail::Producer | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
template<typename UserConfig , typename UserKeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Static Public Member Functions inherited from art::EDProducer | |
static void | commitEvent (EventPrincipal &ep, Event &e) |
LArPandora class.
Definition at line 24 of file LArPandora.h.
lar_pandora::LArPandora::LArPandora | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset | the parameter set |
Definition at line 44 of file LArPandora.cxx.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 134 of file LArPandora.cxx.
|
protectedvirtual |
Create pandora input hits, mc particles etc.
evt | the art event |
idToHitMap | to receive the populated pandora hit id to art hit map |
Implements lar_pandora::ILArPandora.
Definition at line 178 of file LArPandora.cxx.
|
protectedvirtual |
Process pandora output particle flow objects.
evt | the art event |
idToHitMap | the pandora hit id to art hit map |
Implements lar_pandora::ILArPandora.
Definition at line 244 of file LArPandora.cxx.
|
virtual |
Implements art::EDProducer.
Definition at line 166 of file LArPandora.cxx.
|
protected |
The instance label for all outcomes.
Definition at line 64 of file LArPandora.h.
|
protected |
The back tracker module label.
Definition at line 62 of file LArPandora.h.
|
protected |
The config file.
Definition at line 40 of file LArPandora.h.
|
protected |
Whether to check if the input file contains real data before accessing MC information.
Definition at line 71 of file LArPandora.h.
|
protected |
The map from volume id to drift volume.
Definition at line 77 of file LArPandora.h.
|
protected |
Whether to pass detector gap information to Pandora instances.
Definition at line 67 of file LArPandora.h.
|
protected |
Whether to pass mc information to Pandora instances to aid development.
Definition at line 69 of file LArPandora.h.
|
protected |
Whether to persist output products.
Definition at line 66 of file LArPandora.h.
|
protected |
The geant module label.
Definition at line 59 of file LArPandora.h.
|
protected |
The generator module label.
Definition at line 58 of file LArPandora.h.
|
protected |
The hit finder module label.
Definition at line 61 of file LArPandora.h.
|
protected |
The lar pandora input settings.
Definition at line 74 of file LArPandora.h.
|
protected |
Book-keeping: whether line gap creation has been called.
Definition at line 72 of file LArPandora.h.
|
protected |
The lar pandora output settings.
Definition at line 75 of file LArPandora.h.
|
protected |
Steering: whether to print current operation status messages.
Definition at line 56 of file LArPandora.h.
|
protected |
Steering: whether to identify slices and select most appropriate pfos.
Definition at line 54 of file LArPandora.h.
|
protected |
Steering: whether to produce all reconstruction outcomes.
Definition at line 55 of file LArPandora.h.
|
protected |
Steering: whether to run all hits cosmic-ray reconstruction.
Definition at line 43 of file LArPandora.h.
|
protected |
Steering: whether to remove hits from tagged cosmic-rays.
Definition at line 46 of file LArPandora.h.
|
protected |
Steering: whether to run cosmic-ray reconstruction for each slice.
Definition at line 52 of file LArPandora.h.
|
protected |
Steering: whether to run neutrino reconstruction for each slice.
Definition at line 50 of file LArPandora.h.
|
protected |
Steering: whether to slice events into separate regions for processing.
Definition at line 48 of file LArPandora.h.
|
protected |
Steering: whether to stitch cosmic-ray muons crossing between volumes.
Definition at line 45 of file LArPandora.h.
|
protected |
The SimChannel producer module label.
Definition at line 60 of file LArPandora.h.