LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
TestBeamParticleCreationAlgorithm class. More...
#include "TestBeamParticleCreationAlgorithm.h"
Public Member Functions | |
TestBeamParticleCreationAlgorithm () | |
Constructor. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | SetupTestBeamPfo (const pandora::Pfo *const pNuPfo, const pandora::Pfo *&pTestBeamPfo, pandora::CartesianVector &testBeamStartVertex) const |
Set up the test beam pfo. More... | |
pandora::StatusCode | SetupTestBeamVertex (const pandora::Pfo *const pNuPfo, const pandora::Pfo *const pTestBeamPfo, const pandora::CartesianVector &testBeamStartVertex) const |
Set up the test beam vertex. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_parentPfoListName |
The parent pfo list name. More... | |
std::string | m_trackPfoListName |
The track pfo list name. More... | |
std::string | m_showerPfoListName |
The shower pfo list name. More... | |
std::string | m_parentVertexListName |
The parent vertex list name. More... | |
std::string | m_daughterVertexListName |
The daughter vertex list name. More... | |
bool | m_keepInteractionVertex |
Keep the vertex for the test beam particle at the interaction point. More... | |
bool | m_keepStartVertex |
Keep the vertex for the test beam particle at the position of hit at minimum z. More... | |
TestBeamParticleCreationAlgorithm class.
Definition at line 19 of file TestBeamParticleCreationAlgorithm.h.
lar_content::TestBeamParticleCreationAlgorithm::TestBeamParticleCreationAlgorithm | ( | ) |
Constructor.
Definition at line 20 of file TestBeamParticleCreationAlgorithm.cc.
|
private |
Definition at line 158 of file TestBeamParticleCreationAlgorithm.cc.
References m_daughterVertexListName, m_keepInteractionVertex, m_keepStartVertex, m_parentPfoListName, m_parentVertexListName, m_showerPfoListName, and m_trackPfoListName.
|
private |
Definition at line 28 of file TestBeamParticleCreationAlgorithm.cc.
References lar_content::LArPfoHelper::IsNeutrino(), m_parentPfoListName, max, SetupTestBeamPfo(), and SetupTestBeamVertex().
|
private |
Set up the test beam pfo.
pNuPfo | the input neutrino-hypothesis pfo |
pTestBeamPfo | to receive the output test-beam-hypothesis pfo |
testBeamStartVertex | to receive the position of the test beam start-position vertex (position of hit at minimum z) |
Definition at line 63 of file TestBeamParticleCreationAlgorithm.cc.
References lar_content::LArPfoHelper::GetCaloHits(), lar_content::LArPfoHelper::IsTrack(), m_parentPfoListName, m_showerPfoListName, m_trackPfoListName, and max.
Referenced by Run().
|
private |
Set up the test beam vertex.
pNuPfo | the input neutrino-hypothesis pfo |
pTestBeamPfo | the input test-beam-hypothesis pfo |
testBeamStartVertex | the input position of the test beam start-position vertex |
Definition at line 108 of file TestBeamParticleCreationAlgorithm.cc.
References lar_content::LArPfoHelper::GetVertex(), m_daughterVertexListName, m_keepStartVertex, and m_parentVertexListName.
Referenced by Run().
|
private |
The daughter vertex list name.
Definition at line 59 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), and SetupTestBeamVertex().
|
private |
Keep the vertex for the test beam particle at the interaction point.
Definition at line 61 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings().
|
private |
Keep the vertex for the test beam particle at the position of hit at minimum z.
Definition at line 62 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), and SetupTestBeamVertex().
|
private |
The parent pfo list name.
Definition at line 54 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), Run(), and SetupTestBeamPfo().
|
private |
The parent vertex list name.
Definition at line 58 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), and SetupTestBeamVertex().
|
private |
The shower pfo list name.
Definition at line 56 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), and SetupTestBeamPfo().
|
private |
The track pfo list name.
Definition at line 55 of file TestBeamParticleCreationAlgorithm.h.
Referenced by ReadSettings(), and SetupTestBeamPfo().