CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Public Attributes
TPedResult Class Reference

#include <TPedResult.h>

Public Member Functions

void reset ()
 
 TPedResult ()
 

Public Attributes

int m_DACvalue [3][1700]
 

Detailed Description

Definition at line 15 of file TPedResult.h.

Constructor & Destructor Documentation

◆ TPedResult()

TPedResult::TPedResult ( )
inline

Definition at line 17 of file TPedResult.h.

References reset().

17 { reset(); }
void reset()
Definition: TPedResult.h:19

Member Function Documentation

◆ reset()

void TPedResult::reset ( )
inline

Definition at line 19 of file TPedResult.h.

References ecalLiteDTU::gainId(), and m_DACvalue.

Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::__next__(), MatrixReader.MatrixReader::showRaw(), and TPedResult().

19  {
20  for (int gainId = 1; gainId < 4; ++gainId)
21  for (int crystal = 0; crystal < 1700; ++crystal)
22  m_DACvalue[gainId - 1][crystal] = 0;
23  }
int m_DACvalue[3][1700]
Definition: TPedResult.h:25
constexpr int gainId(sample_type sample)
get the gainId (2 bits)

Member Data Documentation

◆ m_DACvalue

int TPedResult::m_DACvalue[3][1700]

Definition at line 25 of file TPedResult.h.

Referenced by reset(), and TPedValues::terminate().