Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
HierarchyValidationAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_HIERARCHY_VALIDATION_ALGORITHM_H
9#define LAR_HIERARCHY_VALIDATION_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
15
16namespace lar_content
17{
18
23{
24public:
29
31
32private:
35
36#ifdef MONITORING
42 void EventValidation(const LArHierarchyHelper::MatchInfo &matchInfo) const;
43
49 void MCValidation(const LArHierarchyHelper::MatchInfo &matchInfo) const;
50
51#endif
52
53 int m_event;
54 std::string m_caloHitListName;
55 std::string m_pfoListName;
56 std::string m_detector;
58 std::string m_filename;
59 std::string m_treename;
67};
68
69} // namespace lar_content
70
71#endif // LAR_HIERARCHY_VALIDATION_ALGORITHM_H
Header file for the algorithm class.
Header file for the lar hierarchy helper class.
Header file for the lar monte carlo particle helper helper class.
pandora::StatusCode Run()
Run the algorithm.
float m_minPurity
Minimum purity to tag a node as being of good quality.
std::string m_treename
The name of the ROOT tree to write.
bool m_validateEvent
Whether to validate at the level of an event.
std::string m_filename
The name of the ROOT file to write.
bool m_validateMC
Whether to validate at the level of MC nodes.
float m_minCompleteness
Minimum completeness to tag a node as being of good quality.
bool m_foldToLeadingShowers
Whether or not to fold the hierarchy back to leading shower particles.
bool m_foldToPrimaries
Whether or not to fold the hierarchy back to primary particles.
bool m_writeTree
Whether or not to output validation information to a ROOT file.
std::string m_caloHitListName
Name of input calo hit list.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
bool m_foldDynamic
Whether or not to fold the hierarchy dynamically.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
StatusCode
The StatusCode enum.