8#ifndef PANDORA_SETTINGS_H
9#define PANDORA_SETTINGS_H 1
Header file defining status codes and relevant preprocessor macros.
bool IsMonitoringEnabled() const
Whether monitoring is enabled.
bool m_shouldCollapseMCParticlesToPfoTarget
Whether to collapse mc particle decay chains down to just the pfo target.
float m_hadronicEnergyResolution
Hadronic energy resolution, X, such that sigmaE = ( X * E / sqrt(E) )
StatusCode Initialize(const TiXmlHandle *const pXmlHandle)
Initialize pandora settings.
StatusCode ReadGlobalSettings(const TiXmlHandle *const pXmlHandle)
Read global pandora settings.
bool m_isMonitoringEnabled
Whether monitoring is enabled.
float GetMCPfoSelectionLowEnergyNeutronProtonCutOff() const
Get the low energy cut-off for selection of protons/neutrons as mc pfos.
bool m_shouldDisplayAlgorithmInfo
Whether to display algorithm information during processing.
float GetGapTolerance() const
Get the tolerance allowed when declaring a point to be "in" a gap region, units mm.
float m_mcPfoSelectionLowEnergyNPCutOff
Low energy cut-off for selection of protons/neutrons as MCPFOs.
bool ShouldCollapseMCParticlesToPfoTarget() const
Whether to collapse mc particle decay chains down to just the pfo target.
float m_gapTolerance
Tolerance allowed when declaring a point to be "in" a gap region, units mm.
bool ShouldDisplayAlgorithmInfo() const
Whether to display algorithm information during processing.
bool SingleHitTypeClusteringMode() const
Whether to allow only single hit types in individual clusters.
float GetHadronicEnergyResolution() const
Get the hadronic energy resolution as a fraction, X, such that sigmaE = ( X * E / sqrt(E) )
~PandoraSettings()
Destructor.
const Pandora *const m_pPandora
The associated pandora object.
float m_mcPfoSelectionRadius
Radius used to select pfo target from a mc decay chain, units mm.
bool m_useSingleMCParticleAssociation
Whether to allow only single mc particle association to objects (largest weight)
bool UseSingleMCParticleAssociation() const
Whether to allow only single mc particle association to objects (largest weight)
float GetMCPfoSelectionMomentum() const
Get the momentum magnitude used to select the pfo target from a mc particle decay chain,...
float m_electromagneticEnergyResolution
Electromagnetic energy resolution, X, such that sigmaE = ( X * E / sqrt(E) )
float GetElectromagneticEnergyResolution() const
Get the electromagnetic energy resolution as a fraction, X, such that sigmaE = ( X * E / sqrt(E) )
bool m_singleHitTypeClusteringMode
Whether to allow only single hit types in individual clusters.
float m_mcPfoSelectionMomentum
Momentum magnitude used to select pfo target from a mc decay chain, units GeV/c.
float GetMCPfoSelectionRadius() const
Get the radius used to select the pfo target from a mc particle decay chain, units mm.
StatusCode
The StatusCode enum.