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 ()
 
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 76 of file LArNoisyROTool.h.

Constructor & Destructor Documentation

◆ FEBEvtStat()

LArNoisyROTool::FEBEvtStat::FEBEvtStat ( )
inline

Definition at line 79 of file LArNoisyROTool.h.

80  {
81  resetCounters();
82  }

Member Function Documentation

◆ addBadChannel()

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

Definition at line 84 of file LArNoisyROTool.h.

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

◆ badChannels()

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

Definition at line 97 of file LArNoisyROTool.h.

97 { return m_chanCounter; }

◆ PAcounters()

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

Definition at line 98 of file LArNoisyROTool.h.

98 { return &m_PAcounters[0]; }

◆ resetCounters()

void LArNoisyROTool::FEBEvtStat::resetCounters ( )
inline

Definition at line 91 of file LArNoisyROTool.h.

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

Member Data Documentation

◆ m_chanCounter

unsigned int LArNoisyROTool::FEBEvtStat::m_chanCounter
private

Definition at line 100 of file LArNoisyROTool.h.

◆ m_PAcounters

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

Definition at line 101 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::resetCounters
void resetCounters()
Definition: LArNoisyROTool.h:91
LArNoisyROTool::FEBEvtStat::m_PAcounters
unsigned int m_PAcounters[32]
Definition: LArNoisyROTool.h:101
LArNoisyROTool::FEBEvtStat::m_chanCounter
unsigned int m_chanCounter
Definition: LArNoisyROTool.h:100