CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TPedResult.h
Go to the documentation of this file.
1 #ifndef TPedResult_h
2 #define TPedResult_h
3 
13 #include <vector>
14 
16 {
17  public:
18 
19  TPedResult () { reset () ; }
20 
21  void reset ()
22  {
23  for (int gainId = 1 ; gainId < 4 ; ++gainId)
24  for (int crystal = 0 ; crystal < 1700 ; ++crystal)
25  m_DACvalue[gainId-1][crystal] = 0 ;
26  }
27 
28  int m_DACvalue[3][1700] ;
29 } ;
30 
31 #endif
int gainId(sample_type sample)
get the gainId (2 bits)
void reset()
Definition: TPedResult.h:21
int m_DACvalue[3][1700]
Definition: TPedResult.h:28