LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
CheatingNeutrinoDaughterVerticesAlgorithm::Algorithm class. More...
#include "CheatingNeutrinoDaughterVerticesAlgorithm.h"
Public Member Functions | |
CheatingNeutrinoDaughterVerticesAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
void | GetMCPrimaryMap (LArMCParticleHelper::MCRelationMap &mcPrimaryMap) const |
Get the mapping from mc particle to primary, only required if collapsed mc particle hierarchy specified. More... | |
void | ProcessRecoNeutrinos (const pandora::PfoList &neutrinoPfos, const LArMCParticleHelper::MCRelationMap &mcPrimaryMap) const |
Process the list of reconstructed neutrinos. More... | |
void | ProcessDaughterPfo (const pandora::ParticleFlowObject *const pDaughterPfo, const LArMCParticleHelper::MCRelationMap &mcPrimaryMap) const |
Process a daughter pfo. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
bool | m_collapseToPrimaryMCParticles |
Whether to collapse mc particle hierarchies to primary particles. More... | |
std::string | m_mcParticleListName |
The mc particle list name, required if want to collapse mc particle hierarchy. More... | |
std::string | m_neutrinoListName |
The input list of pfo list names. More... | |
std::string | m_vertexListName |
The name of the output cosmic-ray vertex list. More... | |
CheatingNeutrinoDaughterVerticesAlgorithm::Algorithm class.
Definition at line 21 of file CheatingNeutrinoDaughterVerticesAlgorithm.h.
lar_content::CheatingNeutrinoDaughterVerticesAlgorithm::CheatingNeutrinoDaughterVerticesAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
|
private |
Get the mapping from mc particle to primary, only required if collapsed mc particle hierarchy specified.
mcPrimaryMap | to receive the mapping from mc particle to primary |
Definition at line 53 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
References lar_content::LArMCParticleHelper::GetMCPrimaryMap(), m_collapseToPrimaryMCParticles, and m_mcParticleListName.
Referenced by Run().
|
private |
Process a daughter pfo.
pDaughterPfo | the address of a daughter pfo |
mcPrimaryMap | the mapping from mc particle to primary, only required if collapsed mc particle hierarchy specified |
Definition at line 93 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
References lar_content::LArMCParticleHelper::GetMainMCParticle(), m_collapseToPrimaryMCParticles, and m_vertexListName.
Referenced by ProcessRecoNeutrinos().
|
private |
Process the list of reconstructed neutrinos.
neutrinoPfos | the list of neutrino pfos |
mcPrimaryMap | the mapping from mc particle to primary, only required if collapsed mc particle hierarchy specified |
Definition at line 66 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
References lar_content::LArPfoHelper::GetAllDownstreamPfos(), and ProcessDaughterPfo().
Referenced by Run().
|
private |
Definition at line 129 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
References m_collapseToPrimaryMCParticles, m_mcParticleListName, m_neutrinoListName, and m_vertexListName.
|
private |
Definition at line 27 of file CheatingNeutrinoDaughterVerticesAlgorithm.cc.
References GetMCPrimaryMap(), lar_content::LArPfoHelper::GetRecoNeutrinos(), m_neutrinoListName, and ProcessRecoNeutrinos().
|
private |
Whether to collapse mc particle hierarchies to primary particles.
Definition at line 57 of file CheatingNeutrinoDaughterVerticesAlgorithm.h.
Referenced by GetMCPrimaryMap(), ProcessDaughterPfo(), and ReadSettings().
|
private |
The mc particle list name, required if want to collapse mc particle hierarchy.
Definition at line 58 of file CheatingNeutrinoDaughterVerticesAlgorithm.h.
Referenced by GetMCPrimaryMap(), and ReadSettings().
|
private |
The input list of pfo list names.
Definition at line 60 of file CheatingNeutrinoDaughterVerticesAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
The name of the output cosmic-ray vertex list.
Definition at line 61 of file CheatingNeutrinoDaughterVerticesAlgorithm.h.
Referenced by ProcessDaughterPfo(), and ReadSettings().