56 #include "cetlib_except/exception.h" 58 #include "Api/PandoraApi.h" 102 cet::search_path sp(
"FW_SEARCH_PATH");
103 std::string fullConfigFileName;
106 throw cet::exception(
"StandardPandora") <<
" ConfigurePrimaryPandoraInstance - Failed to find xml configuration file " <<
m_configFile <<
" in FW search path";
109 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, PandoraApi::ReadSettings(*
m_pPrimaryPandora, fullConfigFileName));
146 PANDORA_THROW_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, pandora::ExternallyConfiguredAlgorithm::SetExternalParameters(*pPandora,
"LArMaster", pEventSteeringParameters));
void ProvideExternalSteeringParameters(const pandora::Pandora *const pPandora) const
Pass external steering parameters, read from fhicl parameter set, to LArMaster Pandora algorithm...
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.
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