8 #ifndef LAR_HIERARCHY_MONITORING_ALGORITHM_H
9 #define LAR_HIERARCHY_MONITORING_ALGORITHM_H 1
11 #include "Pandora/Algorithm.h"
12 #include "Pandora/PandoraEnumeratedTypes.h"
33 pandora::StatusCode
Run();
34 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
93 void Visualize(
const pandora::CaloHitList &hits,
const std::string &label,
const int color)
const;
103 void FillHitLists(
const pandora::CaloHitList &hits, pandora::CaloHitList &uHits, pandora::CaloHitList &vHits, pandora::CaloHitList &wHits)
const;
122 #endif // LAR_HIERARCHY_MONITORING_ALGORITHM_H
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void Visualize(const pandora::CaloHitList &hits, const std::string &label, const int color) const
Visualize a calo hit list.
std::string m_pfoListName
Name of input PFO list.
bool m_visualizeMC
Whether or not to visualize the MC nodes.
void VisualizeMatchedMC(const LArHierarchyHelper::MCMatches &matches, const int mcIdx) const
Visualize the reco nodes matched to a single MC node.
bool m_visualizeProcess
If true, allocate colours based on the MC process.
void VisualizeMCProcess(const LArHierarchyHelper::MCHierarchy &hierarchy) const
Visualize MC nodes based on the MC process that created them.
float m_scalingFactor
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too) ...
bool m_visualizeReco
Whether or not to visualize the reco nodes.
void VisualizeUnmatchedReco(const LArHierarchyHelper::RecoHierarchy::Node *pNode) const
Visualize the unmatched reco node.
void VisualizeMatches(const LArHierarchyHelper::MatchInfo &matchInfo) const
Visualize reco to MC matches.
bool m_foldToPrimaries
Whether or not to fold everything back to primaries.
pandora::StatusCode Run()
void VisualizeReco(const LArHierarchyHelper::RecoHierarchy &hierarchy) const
Visualize the reco nodes.
void VisualizeMC(const LArHierarchyHelper::MCHierarchy &hierarchy) const
Visualize MC nodes.
std::string m_caloHitListName
Name of input calo hit list.
void FillHitLists(const pandora::CaloHitList &hits, pandora::CaloHitList &uHits, pandora::CaloHitList &vHits, pandora::CaloHitList &wHits) const
Fill per view hit lists.
bool m_match
Whether or not to visualize the reco to MC matches.
Header file for the lar hierarchy helper class.
virtual ~HierarchyMonitoringAlgorithm()
bool m_collectionOnly
Limit display to the collection plane only.
void VisualizeMCDistinct(const LArHierarchyHelper::MCHierarchy &hierarchy) const
Visualize MC nodes without grouping by particle id.
HierarchyMonitoringAlgorithm()
Default constructor.
float m_transparencyThresholdE
Cell energy for which transparency is saturated (0%, fully opaque)
HierarchyMonitoringAlgorithm class.
bool m_foldDynamic
Whether or not to fold based on process information.
float m_energyScaleThresholdE
Cell energy for which color is at top end of continous color palette.
bool m_visualizeDistinct
If true, allocate colours without consideration of particle id.