Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 /*
0002  Originated by Tristan Protzman 12/15/22
0003  Re-written by Ejiro Umaka 03/28/23
0004 */
0005 
0006 #ifndef EPD_EPDGEOM_H
0007 #define EPD_EPDGEOM_H
0008 
0009 #include <phool/PHObject.h>
0010 
0011 #include <limits>
0012 
0013 class EpdGeom : public PHObject
0014 {
0015   public:
0016     EpdGeom() = default;
0017     ~EpdGeom() override {};
0018 
0019     virtual void set_z(unsigned int /*key*/, float /*z*/) {return;}
0020     virtual void set_r(unsigned int /*key*/, float /*r*/) {return;}
0021     virtual void set_phi(unsigned int /*key*/, float /*f*/) {return;}
0022     virtual void set_phi0(unsigned int /*key*/, float /*f0*/) {return;} 
0023     virtual float get_r(unsigned int /*key*/) const {return std::numeric_limits<float>::quiet_NaN();};
0024     virtual float get_z(unsigned int /*key*/) const {return std::numeric_limits<float>::quiet_NaN();};
0025     virtual float get_phi(unsigned int /*key*/) const {return std::numeric_limits<float>::quiet_NaN();};
0026 
0027   private:
0028     ClassDefOverride(EpdGeom, 1);
0029 };
0030 
0031 
0032 #endif // EPD_EPDGEOM_H