Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
CheatingBeamParticleSliceSelectionTool.cc
Go to the documentation of this file.
1
9
#include "
Pandora/AlgorithmHeaders.h
"
10
11
#include "
larpandoracontent/LArCheating/CheatingBeamParticleSliceSelectionTool.h
"
12
13
#include "
larpandoracontent/LArHelpers/LArMCParticleHelper.h
"
14
15
using namespace
pandora
;
16
17
namespace
lar_content
18
{
19
20
bool
CheatingBeamParticleSliceSelectionTool::IsTarget
(
const
MCParticle
*
const
mcParticle)
const
21
{
22
return
LArMCParticleHelper::IsBeamParticle
(mcParticle);
23
}
24
25
//------------------------------------------------------------------------------------------------------------------------------------------
26
27
StatusCode
CheatingBeamParticleSliceSelectionTool::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.
CheatingBeamParticleSliceSelectionTool.h
Header file for the test beam slice selection tool class.
LArMCParticleHelper.h
Header file for the lar monte carlo particle helper helper class.
lar_content::CheatingBeamParticleSliceSelectionTool::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
CheatingBeamParticleSliceSelectionTool.cc:20
lar_content::CheatingBeamParticleSliceSelectionTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
CheatingBeamParticleSliceSelectionTool.cc:27
lar_content::CheatingSliceSelectionTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
CheatingSliceSelectionTool.cc:122
lar_content::LArMCParticleHelper::IsBeamParticle
static bool IsBeamParticle(const pandora::MCParticle *const pMCParticle)
Returns true if passed a primary beam MCParticle.
Definition
LArMCParticleHelper.cc:93
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
CheatingBeamParticleSliceSelectionTool.cc