Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4MvtxCable.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4MvtxCable.h
1 #ifndef G4MVTX_CABLE_H
2 #define G4MVTX_CABLE_H
3 
4 #include <string>
5 
7 {
8  public:
10 
11  explicit PHG4MvtxCable(const std::string &name,
12  const std::string &coreMaterial,
13  const double &coreRadius,
14  const double &sheathRadius,
15  const double &xSouth, const double &xNorth,
16  const double &ySouth, const double &yNorth,
17  const double &zSouth, const double &zNorth,
18  const std::string &color)
19  : m_name(name)
20  , m_coreMaterial(coreMaterial)
21  , m_coreRadius(coreRadius)
22  , m_sheathRadius(sheathRadius)
23  , m_xSouth(xSouth)
24  , m_xNorth(xNorth)
25  , m_ySouth(ySouth)
26  , m_yNorth(yNorth)
27  , m_zSouth(zSouth)
28  , m_zNorth(zNorth)
29  , m_color(color)
30  {
31  }
32 
33  virtual ~PHG4MvtxCable() = default;
34 
35  std::string get_name() { return m_name; };
37  double get_coreRadius() { return m_coreRadius; };
38  double get_sheathRadius() { return m_sheathRadius; };
39  double get_xSouth() { return m_xSouth; };
40  double get_xNorth() { return m_xNorth; };
41  double get_ySouth() { return m_ySouth; };
42  double get_yNorth() { return m_yNorth; };
43  double get_zSouth() { return m_zSouth; };
44  double get_zNorth() { return m_zNorth; };
45  std::string get_color() { return m_color; };
46 
47  private:
48  const std::string m_name = "cable";
49  const std::string m_coreMaterial = "G4_Cu";
50  const double m_coreRadius = 1;
51  const double m_sheathRadius = 2;
52  const double m_xSouth = 0.;
53  const double m_xNorth = 1.;
54  const double m_ySouth = 0.;
55  const double m_yNorth = 1.;
56  const double m_zSouth = 0.;
57  const double m_zNorth = 1.;
58  const std::string m_color = "red";
59 };
60 
61 #endif