Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_pandora::Slice Class Reference

Slice class. More...

#include "Slice.h"

Public Member Functions

 Slice (const float topologicalScore, const PFParticleVector &targetHypothesis, const PFParticleVector &crHypothesis, const bool isTarget=false)
 Default constructor.
 
float GetTopologicalScore () const
 Get the topological score for the slice - closer to 1 means more likely to be the target slice.
 
const PFParticleVectorGetTargetHypothesis () const
 Get the slice as reconstructed under the target hypothesis.
 
const PFParticleVectorGetCosmicRayHypothesis () const
 Get the slice as reconstructed under the cosmic-ray hypothesis.
 
bool IsTaggedAsTarget () const
 Check if the slice has been identified as a target.
 
void TagAsTarget ()
 Tag the slice as a neutrino / test beam particle.
 
void TagAsCosmic ()
 Tag the slice as a cosmic.
 

Private Attributes

float m_topologicalScore
 The topological neutrino / beam particle score from Pandora.
 
PFParticleVector m_targetHypothesis
 The slice as reconstructed under the neutrino / beam particle hypothesis.
 
PFParticleVector m_crHypothesis
 The slice as reconstructed under the cosmic-ray hypothesis.
 
bool m_isTarget
 If the slice has been identified as a neutrino / beam particle.
 

Detailed Description

Slice class.

Definition at line 17 of file Slice.h.

Constructor & Destructor Documentation

◆ Slice()

lar_pandora::Slice::Slice ( const float  topologicalScore,
const PFParticleVector targetHypothesis,
const PFParticleVector crHypothesis,
const bool  isTarget = false 
)
inline

Default constructor.

Parameters
topologicalScorethe topological score from Pandora
targetHypothesisthe slice as reconstructed under the target hypothesis
crHypothesisthe slice as reconstructed under the cosmic-ray hypothesis
isTargetif the slice has been identified as a target

Definition at line 74 of file Slice.h.

Member Function Documentation

◆ GetCosmicRayHypothesis()

const PFParticleVector & lar_pandora::Slice::GetCosmicRayHypothesis ( ) const
inline

Get the slice as reconstructed under the cosmic-ray hypothesis.

Definition at line 94 of file Slice.h.

Here is the caller graph for this function:

◆ GetTargetHypothesis()

const PFParticleVector & lar_pandora::Slice::GetTargetHypothesis ( ) const
inline

Get the slice as reconstructed under the target hypothesis.

Definition at line 90 of file Slice.h.

Here is the caller graph for this function:

◆ GetTopologicalScore()

float lar_pandora::Slice::GetTopologicalScore ( ) const
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.

◆ IsTaggedAsTarget()

bool lar_pandora::Slice::IsTaggedAsTarget ( ) const
inline

Check if the slice has been identified as a target.

Definition at line 98 of file Slice.h.

◆ TagAsCosmic()

void lar_pandora::Slice::TagAsCosmic ( )
inline

Tag the slice as a cosmic.

Definition at line 106 of file Slice.h.

◆ TagAsTarget()

void lar_pandora::Slice::TagAsTarget ( )
inline

Tag the slice as a neutrino / test beam particle.

Definition at line 102 of file Slice.h.

Member Data Documentation

◆ m_crHypothesis

PFParticleVector lar_pandora::Slice::m_crHypothesis
private

The slice as reconstructed under the cosmic-ray hypothesis.

Definition at line 66 of file Slice.h.

◆ m_isTarget

bool lar_pandora::Slice::m_isTarget
private

If the slice has been identified as a neutrino / beam particle.

Definition at line 67 of file Slice.h.

◆ m_targetHypothesis

PFParticleVector lar_pandora::Slice::m_targetHypothesis
private

The slice as reconstructed under the neutrino / beam particle hypothesis.

Definition at line 65 of file Slice.h.

◆ m_topologicalScore

float lar_pandora::Slice::m_topologicalScore
private

The topological neutrino / beam particle score from Pandora.

Definition at line 63 of file Slice.h.


The documentation for this class was generated from the following file: