LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
HierarchyValidationAlgorithm class. More...
#include "HierarchyValidationAlgorithm.h"
Public Member Functions | |
HierarchyValidationAlgorithm () | |
Default constructor. More... | |
virtual | ~HierarchyValidationAlgorithm () |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
int | m_event |
The current event. More... | |
std::string | m_caloHitListName |
Name of input calo hit list. More... | |
std::string | m_pfoListName |
Name of input PFO list. More... | |
std::string | m_detector |
Name of the detector. More... | |
bool | m_writeTree |
Whether or not to output validation information to a ROOT file. More... | |
std::string | m_filename |
The name of the ROOT file to write. More... | |
std::string | m_treename |
The name of the ROOT tree to write. More... | |
bool | m_foldToPrimaries |
Whether or not to fold the hierarchy back to primary particles. More... | |
bool | m_foldDynamic |
Whether or not to fold the hierarchy dynamically. More... | |
bool | m_foldToLeadingShowers |
Whether or not to fold the hierarchy back to leading shower particles. More... | |
bool | m_validateEvent |
Whether to validate at the level of an event. More... | |
bool | m_validateMC |
Whether to validate at the level of MC nodes. More... | |
float | m_minPurity |
Minimum purity to tag a node as being of good quality. More... | |
float | m_minCompleteness |
Minimum completeness to tag a node as being of good quality. More... | |
HierarchyValidationAlgorithm class.
Definition at line 22 of file HierarchyValidationAlgorithm.h.
lar_content::HierarchyValidationAlgorithm::HierarchyValidationAlgorithm | ( | ) |
Default constructor.
Definition at line 21 of file HierarchyValidationAlgorithm.cc.
References m_detector, m_foldDynamic, m_foldToLeadingShowers, m_foldToPrimaries, m_minCompleteness, m_minPurity, m_validateEvent, m_validateMC, and m_writeTree.
|
virtual |
Definition at line 37 of file HierarchyValidationAlgorithm.cc.
References m_filename, m_treename, and m_writeTree.
|
private |
Definition at line 442 of file HierarchyValidationAlgorithm.cc.
References m_caloHitListName, m_detector, m_filename, m_foldDynamic, m_foldToLeadingShowers, m_foldToPrimaries, m_minCompleteness, m_minPurity, m_pfoListName, m_treename, m_validateEvent, m_validateMC, and m_writeTree.
|
private |
Definition at line 47 of file HierarchyValidationAlgorithm.cc.
References util::abs(), lar_content::LArHierarchyHelper::FillMCHierarchy(), lar_content::LArHierarchyHelper::FillRecoHierarchy(), lar_content::LArInteractionTypeHelper::GetInteractionDescriptor(), lar_content::LArHierarchyHelper::MCHierarchy::Node::GetLeadingMCParticle(), lar_content::LArHierarchyHelper::MatchInfo::GetMatches(), lar_content::LArHierarchyHelper::MatchInfo::GetNMCNodes(), lar_content::LArHierarchyHelper::MatchInfo::GetQualityCuts(), lar_content::LArHierarchyHelper::MatchInfo::GetRecoHierarchy(), lar_content::LArHierarchyHelper::MatchInfo::GetRootMCParticles(), lar_content::LArHierarchyHelper::RecoHierarchy::GetRootPfos(), lar_content::LArPfoHelper::GetVertex(), lcvn::interaction, lar_content::InteractionDescriptor::IsCC(), lar_content::LArMCParticleHelper::IsDecay(), lar_content::LArVertexHelper::IsInFiducialVolume(), lar_content::LArHierarchyHelper::MCHierarchy::Node::IsTestBeamParticle(), m_caloHitListName, m_detector, m_event, lar_content::LArHierarchyHelper::FoldingParameters::m_foldDynamic, m_foldDynamic, lar_content::LArHierarchyHelper::FoldingParameters::m_foldToLeadingShowers, m_foldToLeadingShowers, m_foldToPrimaries, lar_content::LArHierarchyHelper::FoldingParameters::m_foldToTier, m_minCompleteness, m_minPurity, m_pfoListName, m_treename, m_validateEvent, m_validateMC, m_writeTree, lar_content::LArHierarchyHelper::MatchHierarchies(), lar_content::LArHierarchyHelper::MatchInfo::Print(), and lar_content::LArMCParticleHelper::SortByMomentum().
|
private |
Name of input calo hit list.
Definition at line 54 of file HierarchyValidationAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Name of the detector.
Definition at line 56 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
The current event.
Definition at line 53 of file HierarchyValidationAlgorithm.h.
Referenced by Run().
|
private |
The name of the ROOT file to write.
Definition at line 58 of file HierarchyValidationAlgorithm.h.
Referenced by ReadSettings(), and ~HierarchyValidationAlgorithm().
|
private |
Whether or not to fold the hierarchy dynamically.
Definition at line 61 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Whether or not to fold the hierarchy back to leading shower particles.
Definition at line 62 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Whether or not to fold the hierarchy back to primary particles.
Definition at line 60 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Minimum completeness to tag a node as being of good quality.
Definition at line 66 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Minimum purity to tag a node as being of good quality.
Definition at line 65 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Name of input PFO list.
Definition at line 55 of file HierarchyValidationAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
The name of the ROOT tree to write.
Definition at line 59 of file HierarchyValidationAlgorithm.h.
Referenced by ReadSettings(), Run(), and ~HierarchyValidationAlgorithm().
|
private |
Whether to validate at the level of an event.
Definition at line 63 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Whether to validate at the level of MC nodes.
Definition at line 64 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), and Run().
|
private |
Whether or not to output validation information to a ROOT file.
Definition at line 57 of file HierarchyValidationAlgorithm.h.
Referenced by HierarchyValidationAlgorithm(), ReadSettings(), Run(), and ~HierarchyValidationAlgorithm().