LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "Slice.h"
Public Member Functions | |
Slice (const float topologicalScore, const PFParticleVector &targetHypothesis, const PFParticleVector &crHypothesis, const bool isTarget=false) | |
Default constructor. More... | |
float | GetTopologicalScore () const |
Get the topological score for the slice - closer to 1 means more likely to be the target slice. More... | |
const PFParticleVector & | GetTargetHypothesis () const |
Get the slice as reconstructed under the target hypothesis. More... | |
const PFParticleVector & | GetCosmicRayHypothesis () const |
Get the slice as reconstructed under the cosmic-ray hypothesis. More... | |
bool | IsTaggedAsTarget () const |
Check if the slice has been identified as a target. More... | |
void | TagAsTarget () |
Tag the slice as a neutrino / test beam particle. More... | |
void | TagAsCosmic () |
Tag the slice as a cosmic. More... | |
Private Attributes | |
float | m_topologicalScore |
The topological neutrino / beam particle score from Pandora. More... | |
PFParticleVector | m_targetHypothesis |
The slice as reconstructed under the neutrino / beam particle hypothesis. More... | |
PFParticleVector | m_crHypothesis |
The slice as reconstructed under the cosmic-ray hypothesis. More... | |
bool | m_isTarget |
If the slice has been identified as a neutrino / beam particle. More... | |
|
inline |
Default constructor.
topologicalScore | the topological score from Pandora |
targetHypothesis | the slice as reconstructed under the target hypothesis |
crHypothesis | the slice as reconstructed under the cosmic-ray hypothesis |
isTarget | if the slice has been identified as a target |
Definition at line 74 of file Slice.h.
|
inline |
Get the slice as reconstructed under the cosmic-ray hypothesis.
Definition at line 100 of file Slice.h.
References m_crHypothesis.
Referenced by lar_pandora::LArPandoraSliceIdHelper::GetReconstructedHitsInSlice().
|
inline |
Get the slice as reconstructed under the target hypothesis.
Definition at line 93 of file Slice.h.
References m_targetHypothesis.
Referenced by lar_pandora::LArPandoraSliceIdHelper::GetReconstructedHitsInSlice().
|
inline |
Get the topological score for the slice - closer to 1 means more likely to be the target slice.
Definition at line 86 of file Slice.h.
References m_topologicalScore.
|
inline |
Check if the slice has been identified as a target.
Definition at line 107 of file Slice.h.
References m_isTarget.
|
inline |
Tag the slice as a cosmic.
Definition at line 121 of file Slice.h.
References m_isTarget.
|
inline |
Tag the slice as a neutrino / test beam particle.
Definition at line 114 of file Slice.h.
References m_isTarget.
|
private |
The slice as reconstructed under the cosmic-ray hypothesis.
Definition at line 66 of file Slice.h.
Referenced by GetCosmicRayHypothesis().
|
private |
If the slice has been identified as a neutrino / beam particle.
Definition at line 67 of file Slice.h.
Referenced by IsTaggedAsTarget(), TagAsCosmic(), and TagAsTarget().
|
private |
The slice as reconstructed under the neutrino / beam particle hypothesis.
Definition at line 65 of file Slice.h.
Referenced by GetTargetHypothesis().
|
private |
The topological neutrino / beam particle score from Pandora.
Definition at line 63 of file Slice.h.
Referenced by GetTopologicalScore().