54 #include "cetlib_except/exception.h" 56 #include "Api/PandoraApi.h" 84 PANDORA_THROW_RESULT_IF(
87 PANDORA_THROW_RESULT_IF(
90 PANDORA_THROW_RESULT_IF(
94 PANDORA_THROW_RESULT_IF(
95 pandora::STATUS_CODE_SUCCESS,
98 PANDORA_THROW_RESULT_IF(
99 pandora::STATUS_CODE_SUCCESS,
111 cet::search_path sp(
"FW_SEARCH_PATH");
112 std::string fullConfigFileName;
116 <<
" ConfigurePrimaryPandoraInstance - Failed to find xml configuration file " 120 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS,
129 PANDORA_THROW_RESULT_IF(
137 PANDORA_THROW_RESULT_IF(
151 const pandora::Pandora*
const pPandora)
const 153 auto*
const pEventSteeringParameters =
163 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS,
165 pandora::ExternallyConfiguredAlgorithm::SetExternalParameters(
166 *pPandora,
"LArMaster", pEventSteeringParameters));
169 auto*
const pEventSettingsParametersCopy =
171 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS,
173 pandora::ExternallyConfiguredAlgorithm::SetExternalParameters(
174 *pPandora,
"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.
void ProcessEvent(G4int iProp, size_t nEv)
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.
#define DEFINE_ART_MODULE(klass)
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...
ntupleExperimental Reset()
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.
cet::coded_exception< error, detail::translate > exception