Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BbcGeom.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BbcGeom.h
1 #ifndef __BBC_GEOM_H__
2 #define __BBC_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 BbcGeom : public PHObject
13 {
14  public:
15  BbcGeom() = default;
16  ~BbcGeom() 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 void set_xyz(const unsigned int /*pmtch*/, const float /*x*/, const float /*y*/, const float /*z*/) {}
25 
26  // methods when accessing raw fee channels
27  virtual int get_arm_feech(const unsigned int /*feech*/) const {return -1;};
28  virtual int get_pmt(const unsigned int /*feech*/) const {return -1;};
29  virtual int get_type(const unsigned int /*feech*/) const {return -1;}; // 0=T-channel, 1=Q-channel
30 
31  private:
33 };
34 
35 
36 #endif // __BBC_GEOM_H__