CheatingBeamParticleIdTool class. More...
#include <CheatingBeamParticleIdTool.h>
Public Member Functions | |
| CheatingBeamParticleIdTool () | |
| 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 | |
| float | m_minWeightFraction |
| The minimum weight fraction for identifying a slice as a beam particle. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from lar_content::CheatingSliceIdBaseTool | |
| static void | GetTargetParticleWeight (const pandora::PfoList *const pPfoList, float &targetParticleWeight, float &totalWeight, std::function< bool(const pandora::MCParticle *const)> fCriteria) |
| Get the target particle weight in a list of pfos. More... | |
| static void | GetTargetParticleWeight (const pandora::CaloHit *const pCaloHit, float &targetParticleWeight, float &totalWeight, std::function< bool(const pandora::MCParticle *const)> fCriteria) |
| Get the target particle weight for a calo hit. More... | |
CheatingBeamParticleIdTool class.
Definition at line 20 of file CheatingBeamParticleIdTool.h.
| lar_content::CheatingBeamParticleIdTool::CheatingBeamParticleIdTool | ( | ) |
Constructor.
Definition at line 21 of file CheatingBeamParticleIdTool.cc.
|
private |
Definition at line 70 of file CheatingBeamParticleIdTool.cc.
|
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::CheatingSliceIdBaseTool.
Definition at line 27 of file CheatingBeamParticleIdTool.cc.
|
private |
The minimum weight fraction for identifying a slice as a beam particle.
Definition at line 34 of file CheatingBeamParticleIdTool.h.
1.8.5