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 80 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 84 of file LArNoisyROTool.h.

84  {
85  m_chanCounter++;
86  unsigned int preamp = channel/4;
87  m_PAcounters[preamp]++;
88  }

◆ badChannels()

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

Definition at line 95 of file LArNoisyROTool.h.

95 { return m_chanCounter; }

◆ PAcounters()

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

Definition at line 96 of file LArNoisyROTool.h.

96 { return &m_PAcounters[0]; }

◆ resetCounters()

void LArNoisyROTool::FEBEvtStat::resetCounters ( )
inline

Definition at line 90 of file LArNoisyROTool.h.

90  {
91  m_chanCounter = 0;
92  for ( size_t i = 0; i < 32; i++ ) m_PAcounters[i] = 0;
93  }

Member Data Documentation

◆ m_chanCounter

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

Definition at line 98 of file LArNoisyROTool.h.

◆ m_PAcounters

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

Definition at line 99 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:99
LArNoisyROTool::FEBEvtStat::m_chanCounter
unsigned int m_chanCounter
Definition: LArNoisyROTool.h:98