HierarchyMonitoringAlgorithm class. More...
#include <HierarchyMonitoringAlgorithm.h>
Public Member Functions | |
HierarchyMonitoringAlgorithm () | |
Default constructor. More... | |
virtual | ~HierarchyMonitoringAlgorithm () |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | VisualizeMC (const LArHierarchyHelper::MCHierarchy &hierarchy) const |
Visualize MC nodes. More... | |
void | VisualizeMCDistinct (const LArHierarchyHelper::MCHierarchy &hierarchy) const |
Visualize MC nodes without grouping by particle id. More... | |
void | VisualizeMCProcess (const LArHierarchyHelper::MCHierarchy &hierarchy) const |
Visualize MC nodes based on the MC process that created them. More... | |
void | VisualizeReco (const LArHierarchyHelper::RecoHierarchy &hierarchy) const |
Visualize the reco nodes. More... | |
void | VisualizeMatches (const LArHierarchyHelper::MatchInfo &matchInfo) const |
Visualize reco to MC matches. More... | |
void | VisualizeMatchedMC (const LArHierarchyHelper::MCMatches &matches, const int mcIdx) const |
Visualize the reco nodes matched to a single MC node. More... | |
void | VisualizeUnmatchedReco (const LArHierarchyHelper::RecoHierarchy::Node *pNode) const |
Visualize the unmatched reco node. More... | |
void | Visualize (const pandora::CaloHitList &hits, const std::string &label, const int color) const |
Visualize a calo hit list. More... | |
void | FillHitLists (const pandora::CaloHitList &hits, pandora::CaloHitList &uHits, pandora::CaloHitList &vHits, pandora::CaloHitList &wHits) const |
Fill per view hit lists. More... | |
Private Attributes | |
std::string | m_caloHitListName |
Name of input calo hit list. More... | |
std::string | m_pfoListName |
Name of input PFO list. More... | |
bool | m_visualizeMC |
Whether or not to visualize the MC nodes. More... | |
bool | m_visualizeReco |
Whether or not to visualize the reco nodes. More... | |
bool | m_visualizeDistinct |
If true, allocate colours without consideration of particle id. More... | |
bool | m_visualizeProcess |
If true, allocate colours based on the MC process. More... | |
bool | m_match |
Whether or not to visualize the reco to MC matches. More... | |
bool | m_collectionOnly |
Limit display to the collection plane only. More... | |
bool | m_foldToPrimaries |
Whether or not to fold everything back to primaries. More... | |
bool | m_foldDynamic |
Whether or not to fold based on process information. More... | |
float | m_transparencyThresholdE |
Cell energy for which transparency is saturated (0%, fully opaque) More... | |
float | m_energyScaleThresholdE |
Cell energy for which color is at top end of continous color palette. More... | |
float | m_scalingFactor |
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too) More... | |
HierarchyMonitoringAlgorithm class.
Definition at line 22 of file HierarchyMonitoringAlgorithm.h.
lar_content::HierarchyMonitoringAlgorithm::HierarchyMonitoringAlgorithm | ( | ) |
Default constructor.
Definition at line 18 of file HierarchyMonitoringAlgorithm.cc.
|
virtual |
Definition at line 35 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Fill per view hit lists.
hits | The input list of hits |
uHits | The output list of hits in U |
vHits | The output list of hits in V |
wHits | The output list of hits in W |
Definition at line 378 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Definition at line 394 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Definition at line 42 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize a calo hit list.
hits | The hits to visualize |
label | The label to apply to the hits |
color | The color to apply to the hits |
Definition at line 366 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize the reco nodes matched to a single MC node.
matches | The MC to reco matches |
mcIdx | The unique identifier for the MC particle |
Definition at line 273 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize reco to MC matches.
matchInfo | The match information between reco and MC hierarchies |
Definition at line 254 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize MC nodes.
hierarchy | The MC hierarchy to render |
Definition at line 94 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize MC nodes without grouping by particle id.
hierarchy | The MC hierarchy to render |
Definition at line 124 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize MC nodes based on the MC process that created them.
hierarchy | The MC hierarchy to render |
Definition at line 156 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize the reco nodes.
hierarchy | The reco hierarchy to render |
Definition at line 225 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Visualize the unmatched reco node.
pNode | The unmatched reco node |
Definition at line 350 of file HierarchyMonitoringAlgorithm.cc.
|
private |
Name of input calo hit list.
Definition at line 105 of file HierarchyMonitoringAlgorithm.h.
|
private |
Limit display to the collection plane only.
Definition at line 112 of file HierarchyMonitoringAlgorithm.h.
|
private |
Cell energy for which color is at top end of continous color palette.
Definition at line 116 of file HierarchyMonitoringAlgorithm.h.
|
private |
Whether or not to fold based on process information.
Definition at line 114 of file HierarchyMonitoringAlgorithm.h.
|
private |
Whether or not to fold everything back to primaries.
Definition at line 113 of file HierarchyMonitoringAlgorithm.h.
|
private |
Whether or not to visualize the reco to MC matches.
Definition at line 111 of file HierarchyMonitoringAlgorithm.h.
|
private |
Name of input PFO list.
Definition at line 106 of file HierarchyMonitoringAlgorithm.h.
|
private |
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
Definition at line 117 of file HierarchyMonitoringAlgorithm.h.
|
private |
Cell energy for which transparency is saturated (0%, fully opaque)
Definition at line 115 of file HierarchyMonitoringAlgorithm.h.
|
private |
If true, allocate colours without consideration of particle id.
Definition at line 109 of file HierarchyMonitoringAlgorithm.h.
|
private |
Whether or not to visualize the MC nodes.
Definition at line 107 of file HierarchyMonitoringAlgorithm.h.
|
private |
If true, allocate colours based on the MC process.
Definition at line 110 of file HierarchyMonitoringAlgorithm.h.
|
private |
Whether or not to visualize the reco nodes.
Definition at line 108 of file HierarchyMonitoringAlgorithm.h.