7 #include "art/Framework/Core/ModuleMacros.h"
56 #include "cetlib_except/exception.h"
58 #include "Api/PandoraApi.h"
107 cet::search_path sp(
"FW_SEARCH_PATH");
108 std::string fullConfigFileName;
111 throw cet::exception(
"StandardPandora") <<
" ConfigurePrimaryPandoraInstance - Failed to find xml configuration file " <<
m_configFile <<
" in FW search path";
114 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraApi::ReadSettings(*
m_pPrimaryPandora, fullConfigFileName));
121 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraApi::ProcessEvent(*
m_pPrimaryPandora));
128 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraApi::Reset(*
m_pPrimaryPandora));
151 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, pandora::ExternallyConfiguredAlgorithm::SetExternalParameters(*pPandora,
"LArMaster", pEventSteeringParameters));
155 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, pandora::ExternallyConfiguredAlgorithm::SetExternalParameters(*pPandora,
156 "LArDLMaster", pEventSettingsParametersCopy));
void ProvideExternalSteeringParameters(const pandora::Pandora *const pPandora) const
Pass external steering parameters, read from fhicl parameter set, to LArMaster Pandora algorithm...
Header file detailing content for use with particle flow reconstruction at liquid argon time projecti...
void DeletePandoraInstances()
Delete pandora instances.
Base producer module for reconstructing recob::PFParticles from recob::Hits.
static void DeletePandoraInstances(const pandora::Pandora *const pPrimaryPandora)
Delete all pandora instances associated with (and including) a specified primary pandora instance...
bool m_shouldRunAllHitsCosmicReco
Steering: whether to run all hits cosmic-ray reconstruction.
~StandardPandora()
Destructor.
bool m_shouldRunCosmicHitRemoval
Steering: whether to remove hits from tagged cosmic-rays.
pandora::InputBool m_shouldRunAllHitsCosmicReco
Whether to run all hits cosmic-ray reconstruction.
bool m_shouldRunNeutrinoRecoOption
Steering: whether to run neutrino reconstruction for each slice.
const pandora::Pandora * m_pPrimaryPandora
The address of the primary pandora instance.
void ResetPandoraInstances()
Reset all associated pandora instances.
void RunPandoraInstances()
Run all associated pandora instances.
Header file for the master algorithm class.
bool m_printOverallRecoStatus
Steering: whether to print current operation status messages.
static void AddPrimaryPandoraInstance(const pandora::Pandora *const pPrimaryPandora)
Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance...
static pandora::StatusCode RegisterBasicPlugins(const pandora::Pandora &pandora)
Register the basic lar content plugins with pandora.
Header file for the MultiPandoraApi class.
bool m_shouldRunCosmicRecoOption
Steering: whether to run cosmic-ray reconstruction for each slice.
External steering parameters class.
std::string m_configFile
The config file.
static pandora::StatusCode RegisterAlgorithms(const pandora::Pandora &pandora)
Register all the lar content algorithms and tools with pandora.
bool m_shouldRunStitching
Steering: whether to stitch cosmic-ray muons crossing between volumes.
void ConfigurePandoraInstances()
Configure pandora instances.
void CreatePandoraInstances()
Create pandora instances.
LArRotationalTransformationPlugin class.
Header file detailing content for use with particle flow reconstruction at liquid argon time projecti...
bool m_shouldRunSlicing
Steering: whether to slice events into separate regions for processing.
Header file for the lar pseudo layer plugin class.
static pandora::StatusCode RegisterAlgorithms(const pandora::Pandora &pandora)
Register all the lar dl content algorithms and tools with pandora.
StandardPandora(fhicl::ParameterSet const &pset)
Constructor.
bool m_shouldPerformSliceId
Steering: whether to identify slices and select most appropriate pfos.
LarPandoraPseudoLayerPlugin class.