ConeChargeFeatureTool class for the calculation of charge distribution and conicalness. More...
#include <TrackShowerIdFeatureTool.h>
Public Member Functions | |
ConeChargeFeatureTool () | |
Default constructor. More... | |
void | Run (LArMvaHelper::MvaFeatureVector &featureVector, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pInputPfo) |
void | Run (LArMvaHelper::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, const pandora::Algorithm *const pAlgorithm, const pandora::ParticleFlowObject *const pInputPfo) |
Public Member Functions inherited from lar_content::MvaFeatureTool< Ts > | |
MvaFeatureTool ()=default | |
Default constructor. More... | |
virtual void | Run (MvaTypes::MvaFeatureVector &featureVector, Ts...args)=0 |
Run the algorithm tool. More... | |
virtual void | Run (MvaTypes::MvaFeatureMap &featureMap, pandora::StringVector &featureOrder, const std::string &featureToolName, Ts...args) |
Private Member Functions | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | CalculateChargeDistribution (const pandora::CaloHitList &caloHitList, const pandora::CartesianVector &pfoStart, const pandora::CartesianVector &pfoDir, float &chargeCore, float &chargeHalo, float &chargeCon) |
Calculate charge distribution in relation to the Moeliere radius. More... | |
float | CalculateConicalness (const pandora::CaloHitList &caloHitList, const pandora::CartesianVector &pfoStart, const pandora::CartesianVector &pfoDir, const float pfoLength) |
Calculate conicalness as a ratio of charge distribution at the end and start of pfo. More... | |
Private Attributes | |
unsigned int | m_conMinHits |
Configurable parameters to calculate cone charge variables. More... | |
float | m_minCharge |
float | m_conFracRange |
float | m_MoliereRadius |
float | m_MoliereRadiusFrac |
Additional Inherited Members | |
Public Types inherited from lar_content::MvaFeatureTool< Ts > | |
typedef std::vector < MvaFeatureTool< Ts...> * > | FeatureToolVector |
typedef std::map< std::string, MvaFeatureTool< Ts...> * > | FeatureToolMap |
ConeChargeFeatureTool class for the calculation of charge distribution and conicalness.
Definition at line 210 of file TrackShowerIdFeatureTool.h.
lar_content::ConeChargeFeatureTool::ConeChargeFeatureTool | ( | ) |
Default constructor.
Definition at line 397 of file TrackShowerIdFeatureTool.cc.
|
private |
Calculate charge distribution in relation to the Moeliere radius.
caloHitList,: | the calo hit list of plane w |
pfoStart,: | start position of the pfo |
pfoDir,: | direction of pfo from the principle vector of pca |
chargeCore,: | to receive sum of charge within Moeliete radius * fraction |
chargeHalo,: | to receive sum of charge outside of Moeliere radius * fraction |
chargeCon,: | to receive weighted sum of total charge |
Definition at line 472 of file TrackShowerIdFeatureTool.cc.
|
private |
Calculate conicalness as a ratio of charge distribution at the end and start of pfo.
caloHitList,: | the calo hit list of plane w |
pfoStart,: | start position of the pfo |
pfoDir,: | direction of pfo from the principle vector of pca |
pfoLength,: | length of the whole pfo return conicalness |
Definition at line 490 of file TrackShowerIdFeatureTool.cc.
|
private |
Definition at line 527 of file TrackShowerIdFeatureTool.cc.
void lar_content::ConeChargeFeatureTool::Run | ( | LArMvaHelper::MvaFeatureVector & | featureVector, |
const pandora::Algorithm *const | pAlgorithm, | ||
const pandora::ParticleFlowObject *const | pInputPfo | ||
) |
Definition at line 408 of file TrackShowerIdFeatureTool.cc.
void lar_content::ConeChargeFeatureTool::Run | ( | LArMvaHelper::MvaFeatureMap & | featureMap, |
pandora::StringVector & | featureOrder, | ||
const std::string & | featureToolName, | ||
const pandora::Algorithm *const | pAlgorithm, | ||
const pandora::ParticleFlowObject *const | pInputPfo | ||
) |
|
private |
Definition at line 236 of file TrackShowerIdFeatureTool.h.
|
private |
Configurable parameters to calculate cone charge variables.
conMinHits,: | minimum hit requirement at start and end of pfo to calculate conicalness |
minCharge,: | minimum charge requirement at start and end of pfo to calculate conicalness |
conFracRange,: | conincal fractional range to determine start/end of pfo |
MoliereRadius,: | 10.1 cm to determine halo/core of pfo |
MoliereRadiusFrac,: | fraction of Moliere radius, default = 0.2 |
Definition at line 234 of file TrackShowerIdFeatureTool.h.
|
private |
Definition at line 235 of file TrackShowerIdFeatureTool.h.
|
private |
Definition at line 237 of file TrackShowerIdFeatureTool.h.
|
private |
Definition at line 238 of file TrackShowerIdFeatureTool.h.