Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:58

0001 #ifndef TPedResult_h
0002 #define TPedResult_h
0003 
0004 /**
0005  * \file TPedResult.h
0006  * \brief Transient container
0007  * right DAC values for each crystal and each gain
0008  * $Date:
0009  * $Revision:
0010  * \author P. Govoni (pietro.govoni@cernNOSPAM.ch)
0011  */
0012 
0013 #include <vector>
0014 
0015 class TPedResult {
0016 public:
0017   TPedResult() { reset(); }
0018 
0019   void reset() {
0020     for (int gainId = 1; gainId < 4; ++gainId)
0021       for (int crystal = 0; crystal < 1700; ++crystal)
0022         m_DACvalue[gainId - 1][crystal] = 0;
0023   }
0024 
0025   int m_DACvalue[3][1700];
0026 };
0027 
0028 #endif