8 #ifndef LAR_CHEATING_SLICE_SELECTION_TOOL_H
9 #define LAR_CHEATING_SLICE_SELECTION_TOOL_H 1
44 virtual bool IsTarget(
const pandora::MCParticle *
const mcParticle)
const = 0;
46 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
56 #endif // #ifndef LAR_CHEATING_SLICE_SELECTION_TOOL_H
void SelectSlices(const pandora::Algorithm *const pAlgorithm, const SliceVector &inputSliceVector, SliceVector &outputSliceVector)
Select which slice(s) to use.
std::string m_cutVariable
The variable to cut on ("purity" or "completeness") - default "completeness".
std::vector< pandora::CaloHitList > SliceVector
int m_maxSlices
The maximum number of slices to retain (0 to retain all) - default 0.
virtual bool IsTarget(const pandora::MCParticle *const mcParticle) const =0
Template method to determine if an MC particle matches the target criteria for slice selection...
CheatingSliceSelectionTool class.
std::map< float, int, std::greater< float > > MetricSliceIndexMap
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Header file for the master algorithm class.
float m_threshold
The minimum cut threshold to retain a slice (< 0 for no threshold) - default -1.
CheatingSliceSelectionTool()
Default constructor.
SliceSelectionBaseTool class.