LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
VisualMonitoringAlgorithm class. More...
#include "VisualMonitoringAlgorithm.h"
Public Member Functions | |
VisualMonitoringAlgorithm () | |
Default constructor. More... | |
Private Types | |
typedef std::map< int, float > | PdgCodeToEnergyMap |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
void | VisualizeMCParticleList (const std::string &listName) const |
Visualize mc particle list. More... | |
void | VisualizeCaloHitList (const std::string &listName) const |
Visualize a specified calo hit list. More... | |
void | VisualizeTrackList (const std::string &listName) const |
Visualize a specified track list. More... | |
void | VisualizeClusterList (const std::string &listName) const |
Visualize a specified calo hit list. More... | |
void | VisualizeParticleFlowList (const std::string &listName) const |
Visualize a specified pfo list. More... | |
void | VisualizeVertexList (const std::string &listName) const |
Visualize a specified vertex list. More... | |
Private Attributes | |
bool | m_showCurrentMCParticles |
Whether to show current mc particles. More... | |
pandora::StringVector | m_mcParticleListNames |
Names of mc particles lists to show. More... | |
bool | m_showCurrentCaloHits |
Whether to show current calohitlist. More... | |
pandora::StringVector | m_caloHitListNames |
Names of calo hit lists to show. More... | |
bool | m_showCurrentTracks |
Whether to show current tracks. More... | |
pandora::StringVector | m_trackListNames |
Names of track lists to show. More... | |
bool | m_showCurrentClusters |
Whether to show current clusters. More... | |
pandora::StringVector | m_clusterListNames |
Names of cluster lists to show. More... | |
bool | m_showCurrentPfos |
Whether to show current particle flow object list. More... | |
pandora::StringVector | m_pfoListNames |
Names of pfo lists to show. More... | |
bool | m_showCurrentVertices |
Whether to show current vertex list. More... | |
pandora::StringVector | m_vertexListNames |
Names of vertex lists to show. More... | |
bool | m_displayEvent |
Whether to display the event. More... | |
std::string | m_saveEventPath |
The path to save event displays to. m_displayEvent must also be set. More... | |
bool | m_showDetector |
Whether to display the detector geometry. More... | |
std::string | m_detectorView |
The detector view, default, xy or xz. More... | |
bool | m_showOnlyAvailable |
Whether to show only available (i.e. non-clustered) calohits and tracks. More... | |
bool | m_showAssociatedTracks |
Whether to display tracks associated to clusters when viewing cluster lists. More... | |
std::string | m_hitColors |
Define the hit coloring scheme (default: pfo, choices: pfo, particleid) More... | |
float | m_thresholdEnergy |
Cell energy threshold for display (em scale) 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... | |
bool | m_showPfoVertices |
Whether to display pfo vertices. More... | |
bool | m_showPfoHierarchy |
Whether to display daughter pfos only under parent pfo elements. More... | |
pandora::StringVector | m_suppressMCParticles |
List of PDG numbers and energies for MC particles to be suppressed (e.g. " 22:0.1 2112:1.0 ") More... | |
PdgCodeToEnergyMap | m_particleSuppressionMap |
Map from pdg-codes to energy for suppression of particles types below specific energies. More... | |
VisualMonitoringAlgorithm class.
Definition at line 19 of file VisualMonitoringAlgorithm.h.
|
private |
Definition at line 73 of file VisualMonitoringAlgorithm.h.
lar_content::VisualMonitoringAlgorithm::VisualMonitoringAlgorithm | ( | ) |
Default constructor.
Definition at line 18 of file VisualMonitoringAlgorithm.cc.
|
private |
Definition at line 364 of file VisualMonitoringAlgorithm.cc.
References energy, f, m_caloHitListNames, m_clusterListNames, m_detectorView, m_displayEvent, m_energyScaleThresholdE, m_hitColors, m_mcParticleListNames, m_particleSuppressionMap, m_pfoListNames, m_saveEventPath, m_scalingFactor, m_showAssociatedTracks, m_showCurrentCaloHits, m_showCurrentClusters, m_showCurrentMCParticles, m_showCurrentPfos, m_showCurrentTracks, m_showCurrentVertices, m_showDetector, m_showOnlyAvailable, m_showPfoHierarchy, m_showPfoVertices, m_suppressMCParticles, m_thresholdEnergy, m_trackListNames, m_transparencyThresholdE, and m_vertexListNames.
|
private |
Definition at line 43 of file VisualMonitoringAlgorithm.cc.
References m_caloHitListNames, m_clusterListNames, m_detectorView, m_displayEvent, m_energyScaleThresholdE, m_mcParticleListNames, m_pfoListNames, m_saveEventPath, m_scalingFactor, m_showCurrentCaloHits, m_showCurrentClusters, m_showCurrentMCParticles, m_showCurrentPfos, m_showCurrentTracks, m_showCurrentVertices, m_showDetector, m_trackListNames, m_transparencyThresholdE, m_vertexListNames, VisualizeCaloHitList(), VisualizeClusterList(), VisualizeMCParticleList(), VisualizeParticleFlowList(), VisualizeTrackList(), and VisualizeVertexList().
|
private |
Visualize a specified calo hit list.
listName | the list name |
Definition at line 168 of file VisualMonitoringAlgorithm.cc.
References m_hitColors, m_showOnlyAvailable, and m_thresholdEnergy.
Referenced by Run().
|
private |
Visualize a specified calo hit list.
listName | the list name |
Definition at line 249 of file VisualMonitoringAlgorithm.cc.
References m_hitColors, m_showAssociatedTracks, and m_showOnlyAvailable.
Referenced by Run().
|
private |
Visualize mc particle list.
listName | the list name |
Definition at line 139 of file VisualMonitoringAlgorithm.cc.
References m_particleSuppressionMap.
Referenced by Run().
|
private |
Visualize a specified pfo list.
listName | the list name |
Definition at line 293 of file VisualMonitoringAlgorithm.cc.
References m_hitColors, m_showPfoHierarchy, and m_showPfoVertices.
Referenced by Run().
|
private |
Visualize a specified track list.
listName | the list name |
Definition at line 210 of file VisualMonitoringAlgorithm.cc.
References m_showOnlyAvailable.
Referenced by Run().
|
private |
Visualize a specified vertex list.
listName | the list name |
Definition at line 325 of file VisualMonitoringAlgorithm.cc.
References m_showOnlyAvailable.
Referenced by Run().
|
private |
Names of calo hit lists to show.
Definition at line 79 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Names of cluster lists to show.
Definition at line 85 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
The detector view, default, xy or xz.
Definition at line 96 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to display the event.
Definition at line 93 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Cell energy for which color is at top end of continous color palette.
Definition at line 103 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Define the hit coloring scheme (default: pfo, choices: pfo, particleid)
Definition at line 100 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), VisualizeCaloHitList(), VisualizeClusterList(), and VisualizeParticleFlowList().
|
private |
Names of mc particles lists to show.
Definition at line 76 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Map from pdg-codes to energy for suppression of particles types below specific energies.
Definition at line 110 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and VisualizeMCParticleList().
|
private |
Names of pfo lists to show.
Definition at line 88 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
The path to save event displays to. m_displayEvent must also be set.
Definition at line 94 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
Definition at line 104 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to display tracks associated to clusters when viewing cluster lists.
Definition at line 99 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and VisualizeClusterList().
|
private |
Whether to show current calohitlist.
Definition at line 78 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show current clusters.
Definition at line 84 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show current mc particles.
Definition at line 75 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show current particle flow object list.
Definition at line 87 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show current tracks.
Definition at line 81 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show current vertex list.
Definition at line 90 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to display the detector geometry.
Definition at line 95 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Whether to show only available (i.e. non-clustered) calohits and tracks.
Definition at line 98 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), VisualizeCaloHitList(), VisualizeClusterList(), VisualizeTrackList(), and VisualizeVertexList().
|
private |
Whether to display daughter pfos only under parent pfo elements.
Definition at line 107 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and VisualizeParticleFlowList().
|
private |
Whether to display pfo vertices.
Definition at line 106 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and VisualizeParticleFlowList().
|
private |
List of PDG numbers and energies for MC particles to be suppressed (e.g. " 22:0.1 2112:1.0 ")
Definition at line 109 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings().
|
private |
Cell energy threshold for display (em scale)
Definition at line 101 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and VisualizeCaloHitList().
|
private |
Names of track lists to show.
Definition at line 82 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Cell energy for which transparency is saturated (0%, fully opaque)
Definition at line 102 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().
|
private |
Names of vertex lists to show.
Definition at line 91 of file VisualMonitoringAlgorithm.h.
Referenced by ReadSettings(), and Run().