7 #ifndef LAR_PANDORA_SLICE_H
8 #define LAR_PANDORA_SLICE_H 1
73 m_topologicalScore(topologicalScore),
74 m_targetHypothesis(targetHypothesis),
75 m_crHypothesis(crHypothesis),
125 #endif // #ifndef LAR_PANDORA_SLICE_H
const PFParticleVector & GetCosmicRayHypothesis() const
Get the slice as reconstructed under the cosmic-ray hypothesis.
Slice(const float topologicalScore, const PFParticleVector &targetHypothesis, const PFParticleVector &crHypothesis, const bool isTarget=false)
Default constructor.
float m_topologicalScore
The topological neutrino / beam particle score from Pandora.
const PFParticleVector & GetTargetHypothesis() const
Get the slice as reconstructed under the target hypothesis.
std::vector< art::Ptr< recob::PFParticle > > PFParticleVector
bool IsTaggedAsTarget() const
Check if the slice has been identified as a target.
PFParticleVector m_crHypothesis
The slice as reconstructed under the cosmic-ray hypothesis.
PFParticleVector m_targetHypothesis
The slice as reconstructed under the neutrino / beam particle hypothesis.
std::vector< Slice > SliceVector
bool m_isTarget
If the slice has been identified as a neutrino / beam particle.
void TagAsCosmic()
Tag the slice as a cosmic.
float GetTopologicalScore() const
Get the topological score for the slice - closer to 1 means more likely to be the target slice...
helper function for LArPandoraInterface producer module
void TagAsTarget()
Tag the slice as a neutrino / test beam particle.