Class Reference for E1039 Core & Analysis Software
PHG4CylinderGeom.h
Go to the documentation of this file.
1 #ifndef PHG4CylinderGeom_H__
2 #define PHG4CylinderGeom_H__
3 
4 #include <phool/PHObject.h>
5 
6 #include <phool/phool.h>
7 #include <cmath>
8 
9 class PHParameters;
10 
12 {
13  public:
14 
15  virtual ~PHG4CylinderGeom() {}
16 
17  virtual void identify(std::ostream& os = std::cout) const;
18  virtual int get_layer() const {PHOOL_VIRTUAL_WARN("get_layer()"); return -99999;}
19  virtual double get_radius() const {PHOOL_VIRTUAL_WARN("get_radius()");return NAN;}
20  virtual double get_thickness() const {PHOOL_VIRTUAL_WARN("get_thickness()");return NAN;}
21  virtual double get_zmin() const {PHOOL_VIRTUAL_WARN("get_zmin()");return NAN;}
22  virtual double get_zmax() const {PHOOL_VIRTUAL_WARN("get_zmax()");return NAN;}
23  virtual int get_nscint() const {PHOOL_VIRTUAL_WARN("get_nscint()"); return -99999;}
24  virtual double get_tiltangle() const {PHOOL_VIRTUAL_WARN("get_tiltangle()");return NAN;}
25  virtual double get_phi_slat_zero() const {PHOOL_VIRTUAL_WARN("get_phi_slat_zero()"); return NAN;}
26 
27  virtual void set_layer(const int i) {PHOOL_VIRTUAL_WARN("set_layer(const int)");}
28  virtual void set_radius(const double r) {PHOOL_VIRTUAL_WARN("set_radius(const double)");}
29  virtual void set_thickness(const double t) {PHOOL_VIRTUAL_WARN("set_thickness(const double)");}
30  virtual void set_zmin(const double z) {PHOOL_VIRTUAL_WARN("set_zmin(const double)");}
31  virtual void set_zmax(const double z) {PHOOL_VIRTUAL_WARN("set_zmax(const double)");}
32  virtual void set_nscint(const int i) {PHOOL_VIRTUAL_WARN("set_nscint(const int)"); return;}
33  virtual void set_tiltangle(const double i) {PHOOL_VIRTUAL_WARN("set_tiltangle(const double)"); return;}
34  virtual void set_phi_slat_zero (const double phi) {PHOOL_VIRTUAL_WARN("set_phi_slat_zero (const double)"); return;}
35 
36  virtual void find_segment_center(const int segment_z_bin, const int segment_phi_bin, double location[]){PHOOL_VIRTUAL_WARN("find_sensor_center"); return;}
37  virtual void find_strip_center(const int segment_z_bin, const int segment_phi_bin, const int strip_column, const int strip_index, double location[]){PHOOL_VIRTUAL_WARN("find_strip_center"); return;}
38 
39  virtual double get_strip_y_spacing() const {PHOOL_VIRTUAL_WARN("get_strip_y_spacing"); return NAN;}
40  virtual double get_strip_z_spacing() const {PHOOL_VIRTUAL_WARN("get_strip_z_spacing"); return NAN;}
41  virtual double get_strip_tilt() const {PHOOL_VIRTUAL_WARN("get_strip_tilt"); return NAN;}
42 
43  virtual int get_N_strip_columns() const {PHOOL_VIRTUAL_WARN("get_N_strip_columns"); return -9999;}
44  virtual int get_N_strips_per_column() const {PHOOL_VIRTUAL_WARN("get_N_strips_per_column"); return -9999;}
45  virtual int get_N_sensors_in_layer() const {PHOOL_VIRTUAL_WARN("get_N_sensors_in_layer"); return -9999;}
46 
47  virtual double get_pixel_z() const {PHOOL_VIRTUAL_WARN("get_pixel_z"); return NAN;}
48  virtual double get_pixel_x() const {PHOOL_VIRTUAL_WARN("get_pixel_x"); return NAN;}
49  virtual double get_pixel_thickness() const {PHOOL_VIRTUAL_WARN("get_pixel_thickness"); return NAN;}
50 
52  virtual void ImportParameters(const PHParameters & param) {return ;}
53 
54  protected:
56 
57  ClassDef(PHG4CylinderGeom,1)
58 };
59 
60 #endif
virtual double get_strip_y_spacing() const
virtual ~PHG4CylinderGeom()
virtual double get_zmax() const
virtual void ImportParameters(const PHParameters &param)
load parameters from PHParameters, which interface to Database/XML/ROOT files
virtual void set_nscint(const int i)
virtual int get_layer() const
virtual double get_pixel_z() const
virtual double get_pixel_x() const
virtual void set_radius(const double r)
virtual int get_N_sensors_in_layer() const
virtual double get_strip_tilt() const
virtual int get_nscint() const
virtual void set_thickness(const double t)
virtual double get_thickness() const
virtual double get_radius() const
virtual int get_N_strip_columns() const
virtual double get_zmin() const
virtual void identify(std::ostream &os=std::cout) const
virtual void set_zmin(const double z)
virtual void set_layer(const int i)
virtual double get_strip_z_spacing() const
virtual void find_strip_center(const int segment_z_bin, const int segment_phi_bin, const int strip_column, const int strip_index, double location[])
virtual void set_phi_slat_zero(const double phi)
virtual int get_N_strips_per_column() const
virtual double get_phi_slat_zero() const
virtual double get_tiltangle() const
virtual void find_segment_center(const int segment_z_bin, const int segment_phi_bin, double location[])
virtual double get_pixel_thickness() const
virtual void set_tiltangle(const double i)
virtual void set_zmax(const double z)
#define PHOOL_VIRTUAL_WARN(x)
Definition: phool.h:27