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