ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
L1CaloPprDisabledChannel Class Referencefinal

Transient conditions class for objects defined by the online framework and retrieved from COOL. More...

#include <L1CaloPprDisabledChannel.h>

Collaboration diagram for L1CaloPprDisabledChannel:

Public Member Functions

 L1CaloPprDisabledChannel ()
 
 L1CaloPprDisabledChannel (unsigned int channelId)
 
 L1CaloPprDisabledChannel (const L1CaloCoolChannelId &channelId)
 
 L1CaloPprDisabledChannel (unsigned int channelId, ChanDeadErrorCode deadErrorCode, ChanCalibErrorCode calibErrorCode, bool isMasked, unsigned int noiseCut, unsigned int disabledBits)
 
 L1CaloPprDisabledChannel (const L1CaloCoolChannelId &channelId, ChanDeadErrorCode deadErrorCode, ChanCalibErrorCode calibErrorCode, bool isMasked, unsigned int noiseCut, unsigned int disabledBits)
 
 ~L1CaloPprDisabledChannel ()=default
 
L1CaloCoolChannelId channelId (void) const
 
ChanCalibErrorCode calibErrorCode (void) const
 
void calibErrorCode (const ChanCalibErrorCode &calibErrorCode)
 
ChanDeadErrorCode deadErrorCode (void) const
 
void deadErrorCode (const ChanDeadErrorCode &deadErrorCode)
 
bool isMasked (void) const
 
void isMasked (bool isMasked)
 
bool isDead (void) const
 
bool hasCalib (void) const
 
unsigned int noiseCut () const
 
void setNoiseCut (unsigned int noiseCut)
 
unsigned int disabledBits () const
 
void setDisabledBits (unsigned int disabledBits)
 

Private Attributes

L1CaloCoolChannelId m_channelId
 
ChanCalibErrorCode m_calibErrorCode
 
ChanDeadErrorCode m_deadErrorCode
 
bool m_bMasked
 
unsigned int m_noiseCut
 
unsigned int m_disabledBits
 

Friends

std::ostream & operator<< (std::ostream &output, const L1CaloPprDisabledChannel &r)
 

Detailed Description

Transient conditions class for objects defined by the online framework and retrieved from COOL.

Author
Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch

Definition at line 25 of file L1CaloPprDisabledChannel.h.

Constructor & Destructor Documentation

◆ L1CaloPprDisabledChannel() [1/5]

L1CaloPprDisabledChannel::L1CaloPprDisabledChannel ( )

Definition at line 12 of file L1CaloPprDisabledChannel.cxx.

12  :
13  m_channelId(0),
14  m_bMasked(false),
15  m_noiseCut(0),
17 {
18 }

◆ L1CaloPprDisabledChannel() [2/5]

L1CaloPprDisabledChannel::L1CaloPprDisabledChannel ( unsigned int  channelId)

Definition at line 20 of file L1CaloPprDisabledChannel.cxx.

20  :
22  m_bMasked(false),
23  m_noiseCut(0),
25 {
26 }

◆ L1CaloPprDisabledChannel() [3/5]

L1CaloPprDisabledChannel::L1CaloPprDisabledChannel ( const L1CaloCoolChannelId channelId)

Definition at line 28 of file L1CaloPprDisabledChannel.cxx.

28  :
30  m_bMasked(false),
31  m_noiseCut(0),
33 {
34 }

◆ L1CaloPprDisabledChannel() [4/5]

L1CaloPprDisabledChannel::L1CaloPprDisabledChannel ( unsigned int  channelId,
ChanDeadErrorCode  deadErrorCode,
ChanCalibErrorCode  calibErrorCode,
bool  isMasked,
unsigned int  noiseCut,
unsigned int  disabledBits 
)

◆ L1CaloPprDisabledChannel() [5/5]

L1CaloPprDisabledChannel::L1CaloPprDisabledChannel ( const L1CaloCoolChannelId channelId,
ChanDeadErrorCode  deadErrorCode,
ChanCalibErrorCode  calibErrorCode,
bool  isMasked,
unsigned int  noiseCut,
unsigned int  disabledBits 
)

◆ ~L1CaloPprDisabledChannel()

L1CaloPprDisabledChannel::~L1CaloPprDisabledChannel ( )
default

Member Function Documentation

◆ calibErrorCode() [1/2]

void L1CaloPprDisabledChannel::calibErrorCode ( const ChanCalibErrorCode calibErrorCode)
inline

Definition at line 42 of file L1CaloPprDisabledChannel.h.

◆ calibErrorCode() [2/2]

ChanCalibErrorCode L1CaloPprDisabledChannel::calibErrorCode ( void  ) const
inline

Definition at line 41 of file L1CaloPprDisabledChannel.h.

41 { return m_calibErrorCode; };

◆ channelId()

L1CaloCoolChannelId L1CaloPprDisabledChannel::channelId ( void  ) const
inline

Definition at line 39 of file L1CaloPprDisabledChannel.h.

39 { return m_channelId; };

◆ deadErrorCode() [1/2]

void L1CaloPprDisabledChannel::deadErrorCode ( const ChanDeadErrorCode deadErrorCode)
inline

Definition at line 45 of file L1CaloPprDisabledChannel.h.

◆ deadErrorCode() [2/2]

ChanDeadErrorCode L1CaloPprDisabledChannel::deadErrorCode ( void  ) const
inline

Definition at line 44 of file L1CaloPprDisabledChannel.h.

44 { return m_deadErrorCode; };

◆ disabledBits()

unsigned int L1CaloPprDisabledChannel::disabledBits ( ) const
inline

Definition at line 56 of file L1CaloPprDisabledChannel.h.

56 { return m_disabledBits; }

◆ hasCalib()

bool L1CaloPprDisabledChannel::hasCalib ( void  ) const
inline

Definition at line 51 of file L1CaloPprDisabledChannel.h.

51 { return m_calibErrorCode.chanValid(); };

◆ isDead()

bool L1CaloPprDisabledChannel::isDead ( void  ) const
inline

Definition at line 50 of file L1CaloPprDisabledChannel.h.

50 { return m_deadErrorCode.chanValid(); };

◆ isMasked() [1/2]

void L1CaloPprDisabledChannel::isMasked ( bool  isMasked)
inline

Definition at line 48 of file L1CaloPprDisabledChannel.h.

48 { m_bMasked = isMasked; };

◆ isMasked() [2/2]

bool L1CaloPprDisabledChannel::isMasked ( void  ) const
inline

Definition at line 47 of file L1CaloPprDisabledChannel.h.

47 { return m_bMasked; };

◆ noiseCut()

unsigned int L1CaloPprDisabledChannel::noiseCut ( ) const
inline

Definition at line 53 of file L1CaloPprDisabledChannel.h.

53 { return m_noiseCut; }

◆ setDisabledBits()

void L1CaloPprDisabledChannel::setDisabledBits ( unsigned int  disabledBits)
inline

Definition at line 57 of file L1CaloPprDisabledChannel.h.

◆ setNoiseCut()

void L1CaloPprDisabledChannel::setNoiseCut ( unsigned int  noiseCut)
inline

Definition at line 54 of file L1CaloPprDisabledChannel.h.

54 { m_noiseCut = noiseCut; }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  output,
const L1CaloPprDisabledChannel r 
)
friend

Definition at line 56 of file L1CaloPprDisabledChannel.cxx.

56  {
57  output << "channelID: " << std::hex << r.m_channelId.id() << std::dec << ", " << "deadErrorCode: " << r.m_deadErrorCode<< ", " << "calibErrorCode: " << r.m_calibErrorCode << ", " << "masked: " << r.m_bMasked << ", noiseCut: " << r.m_noiseCut << ", disabledBits: " << r.m_disabledBits;
58  return output;
59 }

Member Data Documentation

◆ m_bMasked

bool L1CaloPprDisabledChannel::m_bMasked
private

Definition at line 63 of file L1CaloPprDisabledChannel.h.

◆ m_calibErrorCode

ChanCalibErrorCode L1CaloPprDisabledChannel::m_calibErrorCode
private

Definition at line 61 of file L1CaloPprDisabledChannel.h.

◆ m_channelId

L1CaloCoolChannelId L1CaloPprDisabledChannel::m_channelId
private

Definition at line 60 of file L1CaloPprDisabledChannel.h.

◆ m_deadErrorCode

ChanDeadErrorCode L1CaloPprDisabledChannel::m_deadErrorCode
private

Definition at line 62 of file L1CaloPprDisabledChannel.h.

◆ m_disabledBits

unsigned int L1CaloPprDisabledChannel::m_disabledBits
private

Definition at line 65 of file L1CaloPprDisabledChannel.h.

◆ m_noiseCut

unsigned int L1CaloPprDisabledChannel::m_noiseCut
private

Definition at line 64 of file L1CaloPprDisabledChannel.h.


The documentation for this class was generated from the following files:
L1CaloPprDisabledChannel::m_channelId
L1CaloCoolChannelId m_channelId
Definition: L1CaloPprDisabledChannel.h:60
beamspotman.r
def r
Definition: beamspotman.py:676
ChanCalibErrorCode::chanValid
bool chanValid() const
Checks if channel is valid, ie.
Definition: ChanCalibErrorCode.cxx:46
L1CaloPprDisabledChannel::m_calibErrorCode
ChanCalibErrorCode m_calibErrorCode
Definition: L1CaloPprDisabledChannel.h:61
L1CaloPprDisabledChannel::m_bMasked
bool m_bMasked
Definition: L1CaloPprDisabledChannel.h:63
L1CaloPprDisabledChannel::calibErrorCode
ChanCalibErrorCode calibErrorCode(void) const
Definition: L1CaloPprDisabledChannel.h:41
L1CaloPprDisabledChannel::m_deadErrorCode
ChanDeadErrorCode m_deadErrorCode
Definition: L1CaloPprDisabledChannel.h:62
ChanDeadErrorCode::chanValid
bool chanValid() const
Definition: ChanDeadErrorCode.h:62
L1CaloPprDisabledChannel::disabledBits
unsigned int disabledBits() const
Definition: L1CaloPprDisabledChannel.h:56
merge.output
output
Definition: merge.py:17
L1CaloPprDisabledChannel::noiseCut
unsigned int noiseCut() const
Definition: L1CaloPprDisabledChannel.h:53
L1CaloPprDisabledChannel::m_noiseCut
unsigned int m_noiseCut
Definition: L1CaloPprDisabledChannel.h:64
L1CaloPprDisabledChannel::m_disabledBits
unsigned int m_disabledBits
Definition: L1CaloPprDisabledChannel.h:65
L1CaloPprDisabledChannel::deadErrorCode
ChanDeadErrorCode deadErrorCode(void) const
Definition: L1CaloPprDisabledChannel.h:44
L1CaloPprDisabledChannel::channelId
L1CaloCoolChannelId channelId(void) const
Definition: L1CaloPprDisabledChannel.h:39
L1CaloPprDisabledChannel::isMasked
bool isMasked(void) const
Definition: L1CaloPprDisabledChannel.h:47