Protected Member Functions | Private Member Functions | List of all members
lar_content::CheatingNeutrinoSliceSelectionTool Class Reference

CheatingNeutrinoSliceSelectionTool class. More...

#include <CheatingNeutrinoSliceSelectionTool.h>

Inheritance diagram for lar_content::CheatingNeutrinoSliceSelectionTool:
lar_content::CheatingSliceSelectionTool lar_content::SliceSelectionBaseTool

Protected Member Functions

bool IsTarget (const pandora::MCParticle *const mcParticle) const
 Template method to determine if an MC particle matches the target criteria for slice selection. Return true if match. More...
 
- Protected Member Functions inherited from lar_content::CheatingSliceSelectionTool
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 

Private Member Functions

pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 

Additional Inherited Members

- Public Types inherited from lar_content::CheatingSliceSelectionTool
typedef std::map< float, int, std::greater< float > > MetricSliceIndexMap
 
- Public Member Functions inherited from lar_content::CheatingSliceSelectionTool
 CheatingSliceSelectionTool ()
 Default constructor. More...
 
void SelectSlices (const pandora::Algorithm *const pAlgorithm, const SliceVector &inputSliceVector, SliceVector &outputSliceVector)
 Select which slice(s) to use. More...
 
- Protected Attributes inherited from lar_content::CheatingSliceSelectionTool
int m_maxSlices
 The maximum number of slices to retain (0 to retain all) - default 0. More...
 
float m_threshold
 The minimum cut threshold to retain a slice (< 0 for no threshold) - default -1. More...
 
std::string m_cutVariable
 The variable to cut on ("purity" or "completeness") - default "completeness". More...
 

Detailed Description

CheatingNeutrinoSliceSelectionTool class.

Definition at line 19 of file CheatingNeutrinoSliceSelectionTool.h.

Member Function Documentation

bool lar_content::CheatingNeutrinoSliceSelectionTool::IsTarget ( const pandora::MCParticle *const  mcParticle) const
protectedvirtual

Template method to determine if an MC particle matches the target criteria for slice selection. Return true if match.

Parameters
mcParticlethe MC particle to check

Implements lar_content::CheatingSliceSelectionTool.

Definition at line 20 of file CheatingNeutrinoSliceSelectionTool.cc.

21 {
22  return LArMCParticleHelper::IsNeutrino(mcParticle);
23 }
static bool IsNeutrino(const pandora::MCParticle *const pMCParticle)
Whether a mc particle is a neutrino or antineutrino.
StatusCode lar_content::CheatingNeutrinoSliceSelectionTool::ReadSettings ( const pandora::TiXmlHandle  xmlHandle)
private

Definition at line 27 of file CheatingNeutrinoSliceSelectionTool.cc.

28 {
30 }
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)

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