LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
TestBeamParticleCreationAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_TEST_BEAM_PARTICLE_CREATION_ALGORITHM_H
9 #define LAR_TEST_BEAM_PARTICLE_CREATION_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
19 class TestBeamParticleCreationAlgorithm : public pandora::Algorithm
20 {
21 public:
26 
27 private:
28  pandora::StatusCode Run();
29 
39  pandora::StatusCode SetupTestBeamPfo(const pandora::Pfo *const pNuPfo, const pandora::Pfo *&pTestBeamPfo, pandora::CartesianVector &testBeamStartVertex) const;
40 
50  pandora::StatusCode SetupTestBeamVertex(const pandora::Pfo *const pNuPfo, const pandora::Pfo *const pTestBeamPfo, const pandora::CartesianVector &testBeamStartVertex) const;
51 
52  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
53 
54  std::string m_parentPfoListName;
55  std::string m_trackPfoListName;
56  std::string m_showerPfoListName;
57 
58  std::string m_parentVertexListName;
60 
63 };
64 
65 } // namespace lar_content
66 
67 #endif // #ifndef LAR_TEST_BEAM_PARTICLE_CREATION_ALGORITHM_H
bool m_keepInteractionVertex
Keep the vertex for the test beam particle at the interaction point.
bool m_keepStartVertex
Keep the vertex for the test beam particle at the position of hit at minimum z.
pandora::StatusCode SetupTestBeamVertex(const pandora::Pfo *const pNuPfo, const pandora::Pfo *const pTestBeamPfo, const pandora::CartesianVector &testBeamStartVertex) const
Set up the test beam vertex.
std::string m_daughterVertexListName
The daughter vertex list name.
std::string m_parentVertexListName
The parent vertex list name.
pandora::StatusCode SetupTestBeamPfo(const pandora::Pfo *const pNuPfo, const pandora::Pfo *&pTestBeamPfo, pandora::CartesianVector &testBeamStartVertex) const
Set up the test beam pfo.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)