ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4CylinderCellv2.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4CylinderCellv2.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4CYLINDERCELLV2_H
4 #define G4DETECTORS_PHG4CYLINDERCELLV2_H
5 
6 #include "PHG4CylinderCellv1.h"
7 
8 #include <iostream>
9 #include <string> // for string
10 
12 {
13  public:
14 
16  ~PHG4CylinderCellv2() override{}
17 
18 // from PHObject
19  void identify(std::ostream& os = std::cout) const override;
20 
21  void set_sensor_index(const std::string &si) override {sensor_index = si;}
22  std::string get_sensor_index() const override {return sensor_index;}
23 
24  void set_ladder_phi_index(const int i) override {ladder_phi_index = i;}
25  int get_ladder_phi_index() const override {return ladder_phi_index;}
26 
27  void set_ladder_z_index(const int i) override {ladder_z_index = i;}
28  int get_ladder_z_index() const override {return ladder_z_index;}
29 
30  protected:
31 
34  std::string sensor_index;
35 
36  ClassDefOverride(PHG4CylinderCellv2,1)
37 };
38 
39 #endif