All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VertexMonitoringAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArMonitoring/VertexMonitoringAlgorithm.h
3  *
4  * @brief Header file for the particle visualisation algorithm.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_VERTEX_MONITORING_ALGORITHM_H
9 #define LAR_VERTEX_MONITORING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief VertexMonitoringAlgorithm class
18  */
19 class VertexMonitoringAlgorithm : public pandora::Algorithm
20 {
21 public:
22  /**
23  * @brief Default constructor
24  */
26 
28 
29 private:
30  pandora::StatusCode AssessVertices() const;
31 
32  pandora::StatusCode Run();
33  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
34 
35  bool m_visualise; // Whether to produce visual monitoring output
36  bool m_writeFile; // Whether to produce ROOT output file
37  std::string m_filename; // The filename of the ROOT output file
38  std::string m_treename; // The name of the ROOT tree
39  float m_transparencyThresholdE; ///< Cell energy for which transparency is saturated (0%, fully opaque)
40  float m_energyScaleThresholdE; ///< Cell energy for which color is at top end of continous color palette
41  float m_scalingFactor; ///< TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too)
42 };
43 
44 } // namespace lar_content
45 
46 #endif // LAR_VERTEX_MONITORING_ALGORITHM_H
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_energyScaleThresholdE
Cell energy for which color is at top end of continous color palette.
float m_scalingFactor
TEve works with [cm], Pandora usually works with [mm] (but LArContent went with cm too) ...
float m_transparencyThresholdE
Cell energy for which transparency is saturated (0%, fully opaque)