Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
CheatingNeutrinoSliceSelectionTool.cc
Go to the documentation of this file.
1
9
#include "
Pandora/AlgorithmHeaders.h
"
10
11
#include "
larpandoracontent/LArCheating/CheatingNeutrinoSliceSelectionTool.h
"
12
13
#include "
larpandoracontent/LArHelpers/LArMCParticleHelper.h
"
14
15
using namespace
pandora
;
16
17
namespace
lar_content
18
{
19
20
bool
CheatingNeutrinoSliceSelectionTool::IsTarget
(
const
MCParticle
*
const
mcParticle)
const
21
{
22
return
LArMCParticleHelper::IsNeutrino
(mcParticle);
23
}
24
25
//------------------------------------------------------------------------------------------------------------------------------------------
26
27
StatusCode
CheatingNeutrinoSliceSelectionTool::ReadSettings
(
const
TiXmlHandle
xmlHandle)
28
{
29
return
CheatingSliceSelectionTool::ReadSettings
(xmlHandle);
30
}
31
32
}
// namespace lar_content
AlgorithmHeaders.h
Grouping of header files for many classes of use in particle flow algorithms.
CheatingNeutrinoSliceSelectionTool.h
Header file for the neutrino slice selection tool class.
LArMCParticleHelper.h
Header file for the lar monte carlo particle helper helper class.
lar_content::CheatingNeutrinoSliceSelectionTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
CheatingNeutrinoSliceSelectionTool.cc:27
lar_content::CheatingNeutrinoSliceSelectionTool::IsTarget
bool IsTarget(const pandora::MCParticle *const mcParticle) const
Template method to determine if an MC particle matches the target criteria for slice selection....
Definition
CheatingNeutrinoSliceSelectionTool.cc:20
lar_content::CheatingSliceSelectionTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
CheatingSliceSelectionTool.cc:122
lar_content::LArMCParticleHelper::IsNeutrino
static bool IsNeutrino(const pandora::MCParticle *const pMCParticle)
Whether a mc particle is a neutrino or antineutrino.
Definition
LArMCParticleHelper.cc:131
pandora::MCParticle
MCParticle class.
Definition
MCParticle.h:26
pandora::TiXmlHandle
Definition
tinyxml.h:1646
lar_content
Definition
CheatingBeamParticleIdTool.cc:19
pandora
Definition
LArContent.h:12
pandora::StatusCode
StatusCode
The StatusCode enum.
Definition
StatusCodes.h:100
LArContent
larpandoracontent
LArCheating
CheatingNeutrinoSliceSelectionTool.cc