LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Simple beam particle ID tool that selects the most likely beam particle slice using the scores from Pandora. More...
Public Member Functions | |
SimpleBeamParticleId (fhicl::ParameterSet const &pset) | |
Default constructor. More... | |
void | ClassifySlices (SliceVector &slices, const art::Event &evt) override |
Classify slices as neutrino or cosmic. More... | |
Private Attributes | |
float | m_minBDTScore |
The minimum BDT score to select a slice as a beam particle. More... | |
Simple beam particle ID tool that selects the most likely beam particle slice using the scores from Pandora.
Definition at line 18 of file SimpleBeamParticleId_tool.cc.
lar_pandora::SimpleBeamParticleId::SimpleBeamParticleId | ( | fhicl::ParameterSet const & | pset | ) |
Default constructor.
pset | FHiCL parameter set |
Definition at line 48 of file SimpleBeamParticleId_tool.cc.
|
overridevirtual |
Classify slices as neutrino or cosmic.
slices | the input vector of slices to classify |
evt | the art event |
Implements lar_pandora::SliceIdBaseTool.
Definition at line 54 of file SimpleBeamParticleId_tool.cc.
References m_minBDTScore.
|
private |
The minimum BDT score to select a slice as a beam particle.
Definition at line 36 of file SimpleBeamParticleId_tool.cc.
Referenced by ClassifySlices().