8#ifndef LAR_HIERARCHY_MONITORING_ALGORITHM_H
9#define LAR_HIERARCHY_MONITORING_ALGORITHM_H 1
79 void Visualize(
const pandora::CaloHitList &hits,
const std::string &label,
const int color)
const;
92 std::string
ToStringSF(
const float val,
const int sf = 3)
const;
Header file for the algorithm class.
Header file for the lar hierarchy helper class.
Header file for pandora enumerated types.
HierarchyMonitoringAlgorithm class.
HierarchyMonitoringAlgorithm()
Default constructor.
bool m_visualizeMC
Whether or not to visualize the MC nodes.
std::string ToStringSF(const float val, const int sf=3) const
bool m_foldDynamic
Whether or not to fold based on process information.
bool m_match
Whether or not to visualize the reco to MC matches.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
float m_energyScaleThresholdE
Cell energy for which color is at top end of continous color palette.
virtual ~HierarchyMonitoringAlgorithm()
bool m_visualizeReco
Whether or not to visualize the reco nodes.
pandora::StatusCode Run()
Run the algorithm.
bool m_visualizeDistinct
If true, allocate colours without consideration of particle id.
float m_minPurity
The minimum purity for a match to be considered good.
float m_minMatchCompleteness
The minimum completeness at which to a PFO should be considered matching at all.
float m_scalingFactor
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
std::string m_rootFileName
Name of the output ROOT file (optional)
std::string m_pfoListName
Name of input PFO list.
bool m_collectionOnly
Limit display to the collection plane only.
bool m_visualizeProcess
If true, allocate colours based on the MC process.
bool m_foldToPrimaries
Whether or not to fold everything back to primaries.
float m_transparencyThresholdE
Cell energy for which transparency is saturated (0%, fully opaque)
std::string m_caloHitListName
Name of input calo hit list.
float m_minCompleteness
The minimum completeness for a match to be considered good.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
MANAGED_CONTAINER< const CaloHit * > CaloHitList
StatusCode
The StatusCode enum.