7#include "art/Framework/Core/ModuleMacros.h"
54#include "cetlib_except/exception.h"
92 pandora::STATUS_CODE_SUCCESS,
96 pandora::STATUS_CODE_SUCCESS,
108 cet::search_path sp(
"FW_SEARCH_PATH");
109 std::string fullConfigFileName;
112 throw cet::exception(
"StandardPandora")
113 <<
" ConfigurePrimaryPandoraInstance - Failed to find xml configuration file "
150 auto*
const pEventSteeringParameters =
163 *pPandora,
"LArMaster", pEventSteeringParameters));
166 auto*
const pEventSettingsParametersCopy =
171 *pPandora,
"LArDLMaster", pEventSettingsParametersCopy));
Header file detailing content for use with particle flow reconstruction at liquid argon time projecti...
Header file detailing content for use with particle flow reconstruction at liquid argon time projecti...
Base producer module for reconstructing recob::PFParticles from recob::Hits.
Header file for the lar pseudo layer plugin class.
Header file for the master algorithm class.
Header file for the MultiPandoraApi class.
Header file for the pandora api class.
#define PANDORA_THROW_RESULT_IF(StatusCode1, Operator, Command)
static pandora::StatusCode RegisterAlgorithms(const pandora::Pandora &pandora)
Register all the lar content algorithms and tools with pandora.
static pandora::StatusCode RegisterBasicPlugins(const pandora::Pandora &pandora)
Register the basic lar content plugins with pandora.
static pandora::StatusCode RegisterAlgorithms(const pandora::Pandora &pandora)
Register all the lar dl content algorithms and tools with pandora.
static void DeletePandoraInstances(const pandora::Pandora *const pPrimaryPandora)
Delete all pandora instances associated with (and including) a specified primary pandora instance.
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 ReadSettings(const pandora::Pandora &pandora, const std::string &xmlFileName)
Read pandora settings.
static pandora::StatusCode ProcessEvent(const pandora::Pandora &pandora)
Process an event.
static pandora::StatusCode Reset(const pandora::Pandora &pandora)
Reset pandora to process another event.
static pandora::StatusCode SetLArTransformationPlugin(const pandora::Pandora &pandora, pandora::LArTransformationPlugin *const pLArTransformationPlugin)
Set the lar transformation plugin used by pandora.
static pandora::StatusCode SetPseudoLayerPlugin(const pandora::Pandora &pandora, pandora::PseudoLayerPlugin *const pPseudoLayerPlugin)
Set the pseudo layer plugin used by pandora.
LarPandoraPseudoLayerPlugin class.
LArRotationalTransformationPlugin class.
External steering parameters class.
pandora::InputBool m_shouldRunAllHitsCosmicReco
Whether to run all hits cosmic-ray reconstruction.
const pandora::Pandora * m_pPrimaryPandora
The address of the primary pandora instance.
bool m_printOverallRecoStatus
Steering: whether to print current operation status messages.
std::string m_configFile
The config file.
bool m_shouldRunCosmicRecoOption
Steering: whether to run cosmic-ray reconstruction for each slice.
bool m_shouldRunSlicing
Steering: whether to slice events into separate regions for processing.
bool m_shouldRunAllHitsCosmicReco
Steering: whether to run all hits cosmic-ray reconstruction.
bool m_shouldRunNeutrinoRecoOption
Steering: whether to run neutrino reconstruction for each slice.
bool m_shouldRunCosmicHitRemoval
Steering: whether to remove hits from tagged cosmic-rays.
bool m_shouldPerformSliceId
Steering: whether to identify slices and select most appropriate pfos.
bool m_shouldRunStitching
Steering: whether to stitch cosmic-ray muons crossing between volumes.
void CreatePandoraInstances()
Create pandora instances.
void DeletePandoraInstances()
Delete pandora instances.
void ConfigurePandoraInstances()
Configure pandora instances.
void ProvideExternalSteeringParameters(const pandora::Pandora *const pPandora) const
Pass external steering parameters, read from fhicl parameter set, to LArMaster Pandora algorithm.
StandardPandora(fhicl::ParameterSet const &pset)
Constructor.
void RunPandoraInstances()
Run all associated pandora instances.
~StandardPandora()
Destructor.
void ResetPandoraInstances()
Reset all associated pandora instances.