LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
LArPseudoLayerPlugin.h
Go to the documentation of this file.
1 
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 
19 class LArPseudoLayerPlugin : public pandora::PseudoLayerPlugin
20 {
21 public:
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;
35  float m_zOffset;
36  unsigned int m_zerothLayer;
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.