LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
SimpleNeutrinoIdTool class. More...
#include "SimpleNeutrinoIdTool.h"
Public Member Functions | |
SimpleNeutrinoIdTool () | |
Default constructor. More... | |
void | SelectOutputPfos (const pandora::Algorithm *const pAlgorithm, const SliceHypotheses &nuSliceHypotheses, const SliceHypotheses &crSliceHypotheses, pandora::PfoList &selectedPfos) |
Select which reconstruction hypotheses to use; neutrino outcomes or cosmic-ray muon outcomes for each slice. More... | |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
bool | m_selectAllNeutrinos |
First approach: select all neutrinos, as opposed to selecting all cosmics. More... | |
bool | m_selectOnlyFirstSliceNeutrinos |
First approach: select first slice neutrinos, cosmics for all subsequent slices. More... | |
SimpleNeutrinoIdTool class.
Definition at line 20 of file SimpleNeutrinoIdTool.h.
lar_content::SimpleNeutrinoIdTool::SimpleNeutrinoIdTool | ( | ) |
Default constructor.
Definition at line 18 of file SimpleNeutrinoIdTool.cc.
|
private |
Definition at line 60 of file SimpleNeutrinoIdTool.cc.
References m_selectAllNeutrinos, and m_selectOnlyFirstSliceNeutrinos.
|
virtual |
Select which reconstruction hypotheses to use; neutrino outcomes or cosmic-ray muon outcomes for each slice.
pAlgorithm | the address of the master instance, used to access MCParticles when in training mode |
nuSliceHypotheses | the parent pfos representing the neutrino outcome for each slice |
crSliceHypotheses | the parent pfos representing the cosmic-ray muon outcome for each slice |
sliceNuPfos | to receive the list of selected pfos |
Implements lar_content::SliceIdBaseTool.
Definition at line 26 of file SimpleNeutrinoIdTool.cc.
References f, m_selectAllNeutrinos, and m_selectOnlyFirstSliceNeutrinos.
|
private |
First approach: select all neutrinos, as opposed to selecting all cosmics.
Definition at line 34 of file SimpleNeutrinoIdTool.h.
Referenced by ReadSettings(), and SelectOutputPfos().
|
private |
First approach: select first slice neutrinos, cosmics for all subsequent slices.
Definition at line 35 of file SimpleNeutrinoIdTool.h.
Referenced by ReadSettings(), and SelectOutputPfos().