LArPseudoLayerPlugin.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArPlugins/LArPseudoLayerPlugin.h
3  *
4  * @brief Header file for the lar pseudo layer plugin class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_PSEUDO_LAYER_PLUGIN_H
9 #define LAR_PSEUDO_LAYER_PLUGIN_H 1
10 
11 #include "Plugins/PseudoLayerPlugin.h"
12 
13 namespace lar_content
14 {
15 
16 /**
17  * @brief LarPandoraPseudoLayerPlugin class
18  */
19 class LArPseudoLayerPlugin : public pandora::PseudoLayerPlugin
20 {
21 public:
22  /**
23  * @brief Constructor
24  */
26 
27  unsigned int GetPseudoLayer(const pandora::CartesianVector &positionVector) const;
28  unsigned int GetPseudoLayerAtIp() const;
29 
30 private:
31  pandora::StatusCode Initialize();
32  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
33 
34  float m_zPitch; ///< The z pitch
35  float m_zOffset; ///< The z offset
36  unsigned int m_zerothLayer; ///< The zeroth layer
37 };
38 
39 //------------------------------------------------------------------------------------------------------------------------------------------
40 
41 inline unsigned int LArPseudoLayerPlugin::GetPseudoLayerAtIp() const
42 {
43  return 0;
44 }
45 
46 } // namespace lar_content
47 
48 #endif // #ifndef LAR_PSEUDO_LAYER_PLUGIN_H
unsigned int m_zerothLayer
The zeroth layer.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
unsigned int GetPseudoLayerAtIp() const
unsigned int GetPseudoLayer(const pandora::CartesianVector &positionVector) const
LarPandoraPseudoLayerPlugin class.