APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
april_content::VisualMonitoringAlgorithm Class Reference

VisualMonitoringAlgorithm class. More...

#include <VisualMonitoringAlgorithm.h>

Inheritance diagram for april_content::VisualMonitoringAlgorithm:

Classes

class  Factory
 Factory class for instantiating algorithm. More...
 

Public Member Functions

 VisualMonitoringAlgorithm ()
 Default constructor.
 

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...
 
std::string GetHitTypeString (const pandora::HitType hitType) const
 
TEveElement * VisualizeClusterListWithConnectors (const pandora::ClusterList *const pClusterList, const std::string &name, TEveElement *parent, const Color color, bool showAssociatedTracks) const
 
void VisualizeClusterDirection (const pandora::Cluster *const pCluster, std::string name, TEveElement *parent,::Color color) const
 

Private Attributes

bool m_showCurrentConnectors
 Whether to show connectors of the current list.
 
std::string m_connectorLevel
 Connector level at which they are drawn (calo hit, clusters, pfos)
 
bool m_showCurrentMCParticles
 Whether to show current mc particles.
 
pandora::StringVector m_mcParticleListNames
 Names of mc particles lists to show.
 
bool m_showCurrentCaloHits
 Whether to show current calohitlist.
 
pandora::StringVector m_caloHitListNames
 Names of calo hit lists to show.
 
bool m_showCurrentTracks
 Whether to show current tracks.
 
pandora::StringVector m_trackListNames
 Names of track lists to show.
 
bool m_showCurrentClusters
 Whether to show current clusters.
 
pandora::StringVector m_clusterListNames
 Names of cluster lists to show.
 
bool m_showCurrentPfos
 Whether to show current particle flow object list.
 
pandora::StringVector m_pfoListNames
 Names of pfo lists to show.
 
bool m_showCurrentVertices
 Whether to show current vertex list.
 
pandora::StringVector m_vertexListNames
 Names of vertex lists to show.
 
bool m_displayEvent
 Whether to display the event.
 
bool m_showDetector
 Whether to display the detector geometry.
 
std::string m_detectorView
 The detector view, default, xy or xz.
 
bool m_showOnlyAvailable
 Whether to show only available (i.e. non-clustered) calohits and tracks.
 
bool m_showAssociatedTracks
 Whether to display tracks associated to clusters when viewing cluster lists.
 
std::string m_hitColors
 Define the hit coloring scheme (default: pfo, choices: pfo, particleid)
 
float m_thresholdEnergy
 Cell energy threshold for display (em scale)
 
float m_transparencyThresholdE
 Cell energy for which transparency is saturated (0%, fully opaque)
 
float m_energyScaleThresholdE
 Cell energy for which color is at top end of continous color palette.
 
bool m_showPfoVertices
 Whether to display pfo vertices.
 
bool m_showPfoHierarchy
 Whether to display daughter pfos only under parent pfo elements.
 
bool m_darkBackground
 Whether to use dark background.
 
pandora::StringVector m_suppressMCParticles
 List of PDG numbers and energies for MC particles to be suppressed (e.g. " 22:0.1 2112:1.0 ")
 
PdgCodeToEnergyMap m_particleSuppressionMap
 Map from pdg-codes to energy for suppression of particles types below specific energies.
 

Detailed Description

VisualMonitoringAlgorithm class.

Member Function Documentation

void april_content::VisualMonitoringAlgorithm::VisualizeCaloHitList ( const std::string &  listName) const
private

Visualize a specified calo hit list.

Parameters
listNamethe list name
void april_content::VisualMonitoringAlgorithm::VisualizeClusterList ( const std::string &  listName) const
private

Visualize a specified calo hit list.

Parameters
listNamethe list name
void april_content::VisualMonitoringAlgorithm::VisualizeMCParticleList ( const std::string &  listName) const
private

Visualize mc particle list.

Parameters
listNamethe list name
void april_content::VisualMonitoringAlgorithm::VisualizeParticleFlowList ( const std::string &  listName) const
private

Visualize a specified pfo list.

Parameters
listNamethe list name
void april_content::VisualMonitoringAlgorithm::VisualizeTrackList ( const std::string &  listName) const
private

Visualize a specified track list.

Parameters
listNamethe list name
void april_content::VisualMonitoringAlgorithm::VisualizeVertexList ( const std::string &  listName) const
private

Visualize a specified vertex list.

Parameters
listNamethe list name

The documentation for this class was generated from the following files: