Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:37

0001 #ifndef EPD_EPDGEOMV2_H
0002 #define EPD_EPDGEOMV2_H
0003 
0004 #include "EpdGeom.h"
0005 
0006 #include <array>
0007 
0008 class EpdGeomV2 : public EpdGeom {
0009 
0010 public:
0011   EpdGeomV2() = default;
0012   ~EpdGeomV2() override = default;
0013   
0014   float get_r(unsigned int key) const override;
0015   float get_z(unsigned int key) const override;
0016   float get_phi(unsigned int key) const override;
0017   void set_z(unsigned int key, float z) override;
0018   void set_r(unsigned int key, float r) override;
0019   void set_phi(unsigned int key, float f) override;
0020   void set_phi0(unsigned int key, float f0) override;
0021 
0022 
0023 private:
0024   
0025   std::array<float,16> tile_r {};
0026   std::array<float,2> tile_z {};
0027   std::array<float,24> tile_phi {};
0028   std::array<float,12> tile_phi0 {};
0029 
0030   ClassDefOverride(EpdGeomV2, 1)
0031 
0032 };
0033 
0034 #endif // EPD_EPDGEOMV2_H