ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4CylinderGeomv3.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4CylinderGeomv3.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4CYLINDERGEOMV3_H
4 #define G4DETECTORS_PHG4CYLINDERGEOMV3_H
5 
6 #include "PHG4CylinderGeomv2.h"
7 
8 #include <iostream> // for cout, ostream
9 
11 {
12  public:
14  PHG4CylinderGeomv3(const double r, const double zmi, const double zma, const double thickn, const int n_scint,
15  const double tangl, const double phi_slat_null):
16  PHG4CylinderGeomv2(r,zmi,zma,thickn,n_scint),
17  tiltangle(tangl),
18  phi_slat_zero(phi_slat_null)
19  {}
20 
21  ~PHG4CylinderGeomv3() override {}
22 
23 // from PHObject
24  void identify(std::ostream& os = std::cout) const override;
25 
26  void set_tiltangle (const double phi) override {tiltangle=phi;}
27  void set_phi_slat_zero (const double phi) override {phi_slat_zero=phi;}
28 
29  double get_phi_slat_zero() const override {return phi_slat_zero;}
30  double get_tiltangle() const override {return tiltangle;}
31 
32  protected:
33  double tiltangle;
34  double phi_slat_zero;
35 
36  ClassDefOverride(PHG4CylinderGeomv3,1)
37 };
38 
39 #endif