All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestBeamParticleCreationAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArThreeDReco/LArEventBuilding/TestBeamParticleCreationAlgorithm.h
3  *
4  * @brief Header file for the test beam particle creation algorithm class.
5  *
6  * $Log: $
7  */
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 
16 /**
17  * @brief TestBeamParticleCreationAlgorithm class
18  */
19 class TestBeamParticleCreationAlgorithm : public pandora::Algorithm
20 {
21 private:
22  pandora::StatusCode Run();
23 
24  /**
25  * @brief Set up the test beam pfo
26  *
27  * @param pNuPfo the input neutrino-hypothesis pfo
28  * @param pTestBeamPfo to receive the output test-beam-hypothesis pfo
29  * @param testBeamStartVertex to receive the position of the test beam start-position vertex (position of hit at minimum z)
30  *
31  * @return status code
32  */
33  pandora::StatusCode SetupTestBeamPfo(
34  const pandora::Pfo *const pNuPfo, const pandora::Pfo *&pTestBeamPfo, pandora::CartesianVector &testBeamStartVertex) const;
35 
36  /**
37  * @brief Set up the test beam vertex
38  *
39  * @param pNuPfo the input neutrino-hypothesis pfo
40  * @param pTestBeamPfo the input test-beam-hypothesis pfo
41  * @param testBeamStartVertex the input position of the test beam start-position vertex
42  *
43  * @return status code
44  */
45  pandora::StatusCode SetupTestBeamVertex(
46  const pandora::Pfo *const pNuPfo, const pandora::Pfo *const pTestBeamPfo, const pandora::CartesianVector &testBeamStartVertex) const;
47 
48  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
49 
50  std::string m_parentPfoListName; ///< The parent pfo list name
51  std::string m_trackPfoListName; ///< The track pfo list name
52  std::string m_showerPfoListName; ///< The shower pfo list name
53 
54  std::string m_parentVertexListName; ///< The parent vertex list name
55  std::string m_daughterVertexListName; ///< The daughter vertex list name
56 };
57 
58 } // namespace lar_content
59 
60 #endif // #ifndef LAR_TEST_BEAM_PARTICLE_CREATION_ALGORITHM_H
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)