Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
VisualMonitoringAlgorithm.h
Go to the documentation of this file.
1
8#ifndef LAR_VISUAL_MONITORING_ALGORITHM_H
9#define LAR_VISUAL_MONITORING_ALGORITHM_H 1
10
11#include "Pandora/Algorithm.h"
12
13namespace lar_content
14{
15
20{
21public:
26
27private:
30
36 void VisualizeMCParticleList(const std::string &listName) const;
37
43 void VisualizeCaloHitList(const std::string &listName) const;
44
50 void VisualizeTrackList(const std::string &listName) const;
51
57 void VisualizeClusterList(const std::string &listName) const;
58
64 void VisualizeParticleFlowList(const std::string &listName) const;
65
71 void VisualizeVertexList(const std::string &listName) const;
72
73 typedef std::map<int, float> PdgCodeToEnergyMap;
74
77
80
83
86
89
92
94 std::string m_saveEventPath;
96 std::string m_detectorView;
97
100 std::string m_hitColors;
105
108
111};
112
113} // namespace lar_content
114
115#endif // #ifndef LAR_VISUAL_MONITORING_ALGORITHM_H
Header file for the algorithm class.
pandora::StringVector m_trackListNames
Names of track lists to show.
pandora::StringVector m_pfoListNames
Names of pfo lists to show.
void VisualizeParticleFlowList(const std::string &listName) const
Visualize a specified pfo list.
bool m_showCurrentCaloHits
Whether to show current calohitlist.
pandora::StatusCode Run()
Run the algorithm.
pandora::StringVector m_clusterListNames
Names of cluster lists to show.
std::string m_detectorView
The detector view, default, xy or xz.
bool m_showPfoVertices
Whether to display pfo vertices.
bool m_showOnlyAvailable
Whether to show only available (i.e. non-clustered) calohits and tracks.
float m_thresholdEnergy
Cell energy threshold for display (em scale)
bool m_showCurrentClusters
Whether to show current clusters.
pandora::StringVector m_vertexListNames
Names of vertex lists to show.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void VisualizeCaloHitList(const std::string &listName) const
Visualize a specified calo hit list.
bool m_showPfoHierarchy
Whether to display daughter pfos only under parent pfo elements.
pandora::StringVector m_caloHitListNames
Names of calo hit lists to show.
void VisualizeVertexList(const std::string &listName) const
Visualize a specified vertex list.
bool m_showAssociatedTracks
Whether to display tracks associated to clusters when viewing cluster lists.
bool m_showCurrentTracks
Whether to show current tracks.
bool m_showCurrentVertices
Whether to show current vertex list.
float m_transparencyThresholdE
Cell energy for which transparency is saturated (0%, fully opaque)
bool m_showCurrentPfos
Whether to show current particle flow object list.
pandora::StringVector m_suppressMCParticles
List of PDG numbers and energies for MC particles to be suppressed (e.g. " 22:0.1 2112:1....
std::string m_hitColors
Define the hit coloring scheme (default: pfo, choices: pfo, particleid)
bool m_displayEvent
Whether to display the event.
bool m_showDetector
Whether to display the detector geometry.
pandora::StringVector m_mcParticleListNames
Names of mc particles lists to show.
void VisualizeClusterList(const std::string &listName) const
Visualize a specified calo hit list.
float m_scalingFactor
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
void VisualizeTrackList(const std::string &listName) const
Visualize a specified track list.
PdgCodeToEnergyMap m_particleSuppressionMap
Map from pdg-codes to energy for suppression of particles types below specific energies.
float m_energyScaleThresholdE
Cell energy for which color is at top end of continous color palette.
std::string m_saveEventPath
The path to save event displays to. m_displayEvent must also be set.
bool m_showCurrentMCParticles
Whether to show current mc particles.
void VisualizeMCParticleList(const std::string &listName) const
Visualize mc particle list.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21
std::vector< std::string > StringVector
StatusCode
The StatusCode enum.