ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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  {
62  m_chanCounter++;
63  unsigned int preamp = channel / 4;
64  m_PAcounters[preamp]++;
65  }

◆ 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.

◆ m_PAcounters

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

Definition at line 79 of file LArNoisyROTool.h.


The documentation for this class was generated from the following file:
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArNoisyROTool::FEBEvtStat::m_PAcounters
unsigned int m_PAcounters[32]
Definition: LArNoisyROTool.h:79
LArNoisyROTool::FEBEvtStat::m_chanCounter
unsigned int m_chanCounter
Definition: LArNoisyROTool.h:78