EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MicromegasTile.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MicromegasTile.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 
4 #ifndef MICROMEGAS_MICROMEGASTILE_H
5 #define MICROMEGAS_MICROMEGASTILE_H
6 
12 #include <phool/PHObject.h>
13 
14 #include <array>
15 #include <cassert>
16 #include <vector>
17 
19 class MicromegasTile: public PHObject
20 {
21 
22  public:
23 
24  using List = std::vector<MicromegasTile>;
25 
27  MicromegasTile() = default;
28 
30  ~MicromegasTile() override = default;
31 
33  MicromegasTile( std::array<double, 4> values )
34  :m_centerPhi( values[0] )
35  ,m_centerZ( values[1] )
36  ,m_sizePhi( values[2] )
37  ,m_sizeZ( values[3] )
38  {}
39 
41  MicromegasTile( double centerPhi, double centerZ, double sizePhi, double sizeZ )
42  :m_centerPhi( centerPhi )
43  ,m_centerZ( centerZ )
44  ,m_sizePhi( sizePhi )
45  ,m_sizeZ( sizeZ )
46  {}
47 
48  double m_centerPhi = 0;
49  double m_centerZ = 0;
50  double m_sizePhi = 0;
51  double m_sizeZ = 0;
52 
53  ClassDefOverride(MicromegasTile,1)
54 };
55 
56 #endif