8 #ifndef LAR_CHEATING_SLICE_ID_BASE_TOOL_H 9 #define LAR_CHEATING_SLICE_ID_BASE_TOOL_H 1 34 static void GetTargetParticleWeight(
const pandora::PfoList *
const pPfoList,
float &targetParticleWeight,
float &totalWeight, std::function<
bool(
const pandora::MCParticle *
const)> fCriteria);
44 static void GetTargetParticleWeight(
const pandora::CaloHit *
const pCaloHit,
float &targetParticleWeight,
float &totalWeight, std::function<
bool(
const pandora::MCParticle *
const)> fCriteria);
47 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
52 #endif // #ifndef LAR_CHEATING_SLICE_ID_BASE_TOOL_H
CheatingSliceIdBaseTool class.
virtual void SelectOutputPfos(const pandora::Algorithm *const pAlgorithm, const SliceHypotheses &nuSliceHypotheses, const SliceHypotheses &crSliceHypotheses, pandora::PfoList &selectedPfos)=0
Select which reconstruction hypotheses to use; neutrino outcomes or cosmic-ray muon outcomes for each...
Header file for the master algorithm class.
std::vector< pandora::PfoList > SliceHypotheses
static void GetTargetParticleWeight(const pandora::PfoList *const pPfoList, float &targetParticleWeight, float &totalWeight, std::function< bool(const pandora::MCParticle *const)> fCriteria)
Get the target particle weight in a list of pfos.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)