Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdGeom.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdGeom.h
1 #ifndef __MBD_GEOM_H__
2 #define __MBD_GEOM_H__
3 
4 #include <phool/PHObject.h>
5 
6 #include <vector>
7 #include <utility>
8 #include <tuple>
9 #include <iostream>
10 #include <cmath>
11 
12 class MbdGeom : public PHObject
13 {
14  public:
15  MbdGeom() = default;
16  ~MbdGeom() override {};
17 
18  virtual float get_x(const unsigned int /*pmtch*/) const {return NAN;};
19  virtual float get_y(const unsigned int /*pmtch*/) const {return NAN;};
20  virtual float get_z(const unsigned int /*pmtch*/) const {return NAN;};
21  virtual float get_r(const unsigned int /*pmtch*/) const {return NAN;};
22  virtual float get_phi(const unsigned int /*pmtch*/) const {return NAN;};
23  virtual int get_arm(const unsigned int /*pmtch*/) const {return -1;};
24  virtual int get_feech(const unsigned int /*pmtch*/) const {return -1;};
25  virtual void set_xyz(const unsigned int /*pmtch*/, const float /*x*/, const float /*y*/, const float /*z*/) {}
26 
27  // methods when accessing raw fee channels
28  virtual int get_arm_feech(const unsigned int /*feech*/) const {return -1;};
29  virtual int get_pmt(const unsigned int /*feech*/) const {return -1;};
30  virtual int get_type(const unsigned int /*feech*/) const {return -1;}; // 0=T-channel, 1=Q-channel
31 
32  virtual void Reset() override {}
33 
34  private:
36 };
37 
38 
39 #endif // __MBD_GEOM_H__