8 #ifndef LAR_CHEATING_SLICE_ID_BASE_TOOL_H 9 #define LAR_CHEATING_SLICE_ID_BASE_TOOL_H 1 25 const SliceHypotheses &crSliceHypotheses, pandora::PfoList &selectedPfos) = 0;
35 static void GetTargetParticleWeight(
const pandora::PfoList *
const pPfoList,
float &targetParticleWeight,
float &totalWeight,
36 std::function<
bool(
const pandora::MCParticle *
const)> fCriteria);
46 static void GetTargetParticleWeight(
const pandora::CaloHit *
const pCaloHit,
float &targetParticleWeight,
float &totalWeight,
47 std::function<
bool(
const pandora::MCParticle *
const)> fCriteria);
50 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
55 #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)
void function(int client, int *resource, int parblock, int *test, int p)