56 if (slices.empty())
return;
62 for (
unsigned int sliceIndex = 0; sliceIndex < slices.size(); ++sliceIndex)
64 const float nuScore(slices.at(sliceIndex).GetTopologicalScore());
65 if (nuScore > highestNuScore)
67 highestNuScore = nuScore;
68 mostProbableSliceIndex = sliceIndex;
73 slices.at(mostProbableSliceIndex).TagAsTarget();
void ClassifySlices(SliceVector &slices, const art::Event &evt) override
Classify slices as neutrino or cosmic.
header for the lar pandora slice class
static int max(int a, int b)
std::vector< TCSlice > slices
std::vector< Slice > SliceVector
SimpleNeutrinoId(fhicl::ParameterSet const &pset)
Default constructor.
Simple neutrino ID tool that selects the most likely neutrino slice using the scores from Pandora...