ATLAS Offline Software
Loading...
Searching...
No Matches
LArNoisyROTool::FEBEvtStat Class Reference
Collaboration diagram for LArNoisyROTool::FEBEvtStat:

Public Member Functions

 FEBEvtStat ()=default
void addBadChannel (unsigned int channel)
void resetCounters ()
unsigned int badChannels () const
const unsigned int * PAcounters () const

Private Attributes

unsigned int m_chanCounter {}
unsigned int m_PAcounters [32] {}

Detailed Description

Definition at line 57 of file LArNoisyROTool.h.

Constructor & Destructor Documentation

◆ FEBEvtStat()

LArNoisyROTool::FEBEvtStat::FEBEvtStat ( )
default

Member Function Documentation

◆ addBadChannel()

void LArNoisyROTool::FEBEvtStat::addBadChannel ( unsigned int channel)
inline

Definition at line 61 of file LArNoisyROTool.h.

61 {
63 unsigned int preamp = channel / 4;
64 m_PAcounters[preamp]++;
65 }
unsigned int m_PAcounters[32]

◆ badChannels()

unsigned int LArNoisyROTool::FEBEvtStat::badChannels ( ) const
inline

Definition at line 73 of file LArNoisyROTool.h.

73{ return m_chanCounter; }

◆ PAcounters()

const unsigned int * LArNoisyROTool::FEBEvtStat::PAcounters ( ) const
inline

Definition at line 74 of file LArNoisyROTool.h.

74{ return &m_PAcounters[0]; }

◆ resetCounters()

void LArNoisyROTool::FEBEvtStat::resetCounters ( )
inline

Definition at line 67 of file LArNoisyROTool.h.

67 {
68 m_chanCounter = 0;
69 for (size_t i = 0; i < 32; i++)
70 m_PAcounters[i] = 0;
71 }

Member Data Documentation

◆ m_chanCounter

unsigned int LArNoisyROTool::FEBEvtStat::m_chanCounter {}
private

Definition at line 78 of file LArNoisyROTool.h.

78{};

◆ m_PAcounters

unsigned int LArNoisyROTool::FEBEvtStat::m_PAcounters[32] {}
private

Definition at line 79 of file LArNoisyROTool.h.

79{};

The documentation for this class was generated from the following file: