LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
NeutrinoPropertiesAlgorithm class. More...
#include "NeutrinoPropertiesAlgorithm.h"
Public Member Functions | |
NeutrinoPropertiesAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
pandora::StatusCode | Run () |
void | SetNeutrinoId (const pandora::ParticleFlowObject *const pNeutrinoPfo) const |
identifying the primary daughter of a neutrino pfo and set the particle id accordingly More... | |
unsigned int | GetNTwoDHitsInPfoChain (const pandora::ParticleFlowObject *const pPfo) const |
Get the number of two dimensional hits (TPC_VIEW_U, V or W) contained in clusters in a pfo and all its daughters. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
std::string | m_neutrinoPfoListName |
The name of the output neutrino pfo list. More... | |
bool | m_includeIsolatedHits |
Whether to include isolated hits when counting 2d hits in pfo chain. More... | |
NeutrinoPropertiesAlgorithm class.
Definition at line 19 of file NeutrinoPropertiesAlgorithm.h.
lar_content::NeutrinoPropertiesAlgorithm::NeutrinoPropertiesAlgorithm | ( | ) |
Default constructor.
Definition at line 21 of file NeutrinoPropertiesAlgorithm.cc.
|
private |
Get the number of two dimensional hits (TPC_VIEW_U, V or W) contained in clusters in a pfo and all its daughters.
pPfo | address of the pfo |
Definition at line 106 of file NeutrinoPropertiesAlgorithm.cc.
References lar_content::LArClusterHelper::GetClusterHitType(), and m_includeIsolatedHits.
Referenced by SetNeutrinoId().
|
private |
Definition at line 133 of file NeutrinoPropertiesAlgorithm.cc.
References m_includeIsolatedHits, and m_neutrinoPfoListName.
|
private |
Definition at line 28 of file NeutrinoPropertiesAlgorithm.cc.
References lar_content::LArPfoHelper::IsNeutrino(), m_neutrinoPfoListName, and SetNeutrinoId().
|
private |
identifying the primary daughter of a neutrino pfo and set the particle id accordingly
pNeutrinoPfo | address of the neutrino pfo |
Definition at line 63 of file NeutrinoPropertiesAlgorithm.cc.
References util::abs(), GetNTwoDHitsInPfoChain(), and lar_content::LArPfoHelper::SortByNHits().
Referenced by Run().
|
private |
Whether to include isolated hits when counting 2d hits in pfo chain.
Definition at line 50 of file NeutrinoPropertiesAlgorithm.h.
Referenced by GetNTwoDHitsInPfoChain(), and ReadSettings().
|
private |
The name of the output neutrino pfo list.
Definition at line 48 of file NeutrinoPropertiesAlgorithm.h.
Referenced by ReadSettings(), and Run().