CMS 3D CMS Logo

TPedResult.h
Go to the documentation of this file.
1 #ifndef TPedResult_h
2 #define TPedResult_h
3 
13 #include <vector>
14 
15 class TPedResult {
16 public:
17  TPedResult() { reset(); }
18 
19  void reset() {
20  for (int gainId = 1; gainId < 4; ++gainId)
21  for (int crystal = 0; crystal < 1700; ++crystal)
22  m_DACvalue[gainId - 1][crystal] = 0;
23  }
24 
25  int m_DACvalue[3][1700];
26 };
27 
28 #endif
void reset()
Definition: TPedResult.h:19
int m_DACvalue[3][1700]
Definition: TPedResult.h:25
constexpr int gainId(sample_type sample)
get the gainId (2 bits)