CheatingBeamParticleSliceSelectionTool.cc
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArCheating/CheatingBeamParticleSliceSelectionTool.cc
3  *
4  * @brief Implementation of the beam slice selection tool class.
5  *
6  * $Log: $
7  */
8 
9 #include "Pandora/AlgorithmHeaders.h"
10 
12 
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
Header file for the test beam slice selection tool class.
Header file for the lar monte carlo particle helper helper class.