ATLAS Offline Software
Loading...
Searching...
No Matches
LArBadChannel Class Reference

#include <LArBadChannel.h>

Collaboration diagram for LArBadChannel:

Classes

class  LArBadChannelEnum
class  LArBadChannelSCEnum

Public Types

typedef unsigned int PosType
typedef unsigned int BitWord

Public Member Functions

 LArBadChannel (BitWord rawStatus=0, bool isSC=false)
bool statusBad (PosType pb) const
 Returns true if corresponding status bit its set.
bool statusOK (PosType pb) const
 Returns true if there is no problem in corresponding status bit.
bool good () const
 Returns true if no problems at all (all bits at zero)
bool maskedOSUM () const
bool deformedTail () const
bool deformedPulse () const
bool nonLinearRamp () const
bool ADCJump () const
bool SCAProblem () const
bool offOFCs () const
bool offAmplitude () const
bool offScale () const
bool lowLightFibre () const
bool transmissionErrorFibre () const
bool pedestalJump () const
bool deadReadout () const
bool deadCalib () const
bool deadPhys () const
bool almostDead () const
bool shortProblem () const
bool unstable () const
bool distorted () const
bool lowNoiseHG () const
bool highNoiseHG () const
bool unstableNoiseHG () const
bool lowNoiseMG () const
bool highNoiseMG () const
bool unstableNoiseMG () const
bool lowNoiseLG () const
bool highNoiseLG () const
bool unstableNoiseLG () const
bool missingFEB () const
bool peculiarCalibrationLine () const
bool problematicForUnknownReason () const
bool sporadicBurstNoise () const
bool deadSCACell () const
bool badFirstSample () const
bool unflaggedByLADIeS () const
bool reflaggedByLADIeS () const
bool badAutoCorr () const
bool reallyNoisy () const
bool noisy () const
bool operator!= (BitWord other)
bool operator!= (LArBadChannel other)
bool operator== (BitWord other)
bool operator== (LArBadChannel other)
LArBadChanneloperator|= (LArBadChannel other)
BitWord packedData () const
bool isSC () const
void setSC ()

Private Member Functions

BitWordpackedDataRef ()

Private Attributes

BitWord m_word
bool m_isSC

Friends

class TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelSCEnum >
class TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelEnum >

Detailed Description

Definition at line 10 of file LArBadChannel.h.

Member Typedef Documentation

◆ BitWord

typedef unsigned int LArBadChannel::BitWord

Definition at line 13 of file LArBadChannel.h.

◆ PosType

typedef unsigned int LArBadChannel::PosType

Definition at line 12 of file LArBadChannel.h.

Constructor & Destructor Documentation

◆ LArBadChannel()

LArBadChannel::LArBadChannel ( BitWord rawStatus = 0,
bool isSC = false )
inlineexplicit

Definition at line 79 of file LArBadChannel.h.

79: m_word(rawStatus), m_isSC(isSC) {}
bool isSC() const

Member Function Documentation

◆ ADCJump()

bool LArBadChannel::ADCJump ( ) const
inline

Definition at line 99 of file LArBadChannel.h.

99{if (m_isSC) return statusBad( LArBadChannelSCEnum::ADCJumpBit); else return false;}
bool statusBad(PosType pb) const
Returns true if corresponding status bit its set.

◆ almostDead()

bool LArBadChannel::almostDead ( ) const
inline

Definition at line 113 of file LArBadChannel.h.

◆ badAutoCorr()

bool LArBadChannel::badAutoCorr ( ) const
inline

Definition at line 134 of file LArBadChannel.h.

◆ badFirstSample()

bool LArBadChannel::badFirstSample ( ) const
inline

Definition at line 131 of file LArBadChannel.h.

◆ deadCalib()

bool LArBadChannel::deadCalib ( ) const
inline

◆ deadPhys()

bool LArBadChannel::deadPhys ( ) const
inline

◆ deadReadout()

bool LArBadChannel::deadReadout ( ) const
inline

◆ deadSCACell()

bool LArBadChannel::deadSCACell ( ) const
inline

Definition at line 130 of file LArBadChannel.h.

◆ deformedPulse()

bool LArBadChannel::deformedPulse ( ) const
inline

Definition at line 97 of file LArBadChannel.h.

◆ deformedTail()

bool LArBadChannel::deformedTail ( ) const
inline

Definition at line 96 of file LArBadChannel.h.

◆ distorted()

bool LArBadChannel::distorted ( ) const
inline

Definition at line 116 of file LArBadChannel.h.

◆ good()

bool LArBadChannel::good ( ) const
inline

Returns true if no problems at all (all bits at zero)

Definition at line 91 of file LArBadChannel.h.

91{return m_word == 0;}

◆ highNoiseHG()

bool LArBadChannel::highNoiseHG ( ) const
inline

Definition at line 118 of file LArBadChannel.h.

◆ highNoiseLG()

bool LArBadChannel::highNoiseLG ( ) const
inline

Definition at line 124 of file LArBadChannel.h.

◆ highNoiseMG()

bool LArBadChannel::highNoiseMG ( ) const
inline

Definition at line 121 of file LArBadChannel.h.

◆ isSC()

bool LArBadChannel::isSC ( ) const
inline

Definition at line 149 of file LArBadChannel.h.

149{return m_isSC;}

◆ lowLightFibre()

bool LArBadChannel::lowLightFibre ( ) const
inline

Definition at line 104 of file LArBadChannel.h.

◆ lowNoiseHG()

bool LArBadChannel::lowNoiseHG ( ) const
inline

Definition at line 117 of file LArBadChannel.h.

◆ lowNoiseLG()

bool LArBadChannel::lowNoiseLG ( ) const
inline

Definition at line 123 of file LArBadChannel.h.

◆ lowNoiseMG()

bool LArBadChannel::lowNoiseMG ( ) const
inline

Definition at line 120 of file LArBadChannel.h.

◆ maskedOSUM()

bool LArBadChannel::maskedOSUM ( ) const
inline

Definition at line 95 of file LArBadChannel.h.

◆ missingFEB()

bool LArBadChannel::missingFEB ( ) const
inline

Definition at line 126 of file LArBadChannel.h.

◆ noisy()

bool LArBadChannel::noisy ( ) const
inline

Definition at line 138 of file LArBadChannel.h.

138{return (reallyNoisy() || lowNoiseHG() || lowNoiseMG() || lowNoiseLG());}
bool lowNoiseHG() const
bool lowNoiseLG() const
bool reallyNoisy() const
bool lowNoiseMG() const

◆ nonLinearRamp()

bool LArBadChannel::nonLinearRamp ( ) const
inline

Definition at line 98 of file LArBadChannel.h.

◆ offAmplitude()

bool LArBadChannel::offAmplitude ( ) const
inline

Definition at line 102 of file LArBadChannel.h.

◆ offOFCs()

bool LArBadChannel::offOFCs ( ) const
inline

Definition at line 101 of file LArBadChannel.h.

◆ offScale()

bool LArBadChannel::offScale ( ) const
inline

Definition at line 103 of file LArBadChannel.h.

◆ operator!=() [1/2]

bool LArBadChannel::operator!= ( BitWord other)
inline

Definition at line 140 of file LArBadChannel.h.

140{return m_word != other;}

◆ operator!=() [2/2]

bool LArBadChannel::operator!= ( LArBadChannel other)
inline

Definition at line 141 of file LArBadChannel.h.

141{return m_word != other.packedData();}

◆ operator==() [1/2]

bool LArBadChannel::operator== ( BitWord other)
inline

Definition at line 142 of file LArBadChannel.h.

142{return m_word == other;}

◆ operator==() [2/2]

bool LArBadChannel::operator== ( LArBadChannel other)
inline

Definition at line 143 of file LArBadChannel.h.

143{return m_word == other.packedData();}

◆ operator|=()

LArBadChannel & LArBadChannel::operator|= ( LArBadChannel other)
inline

Definition at line 145 of file LArBadChannel.h.

145{m_word|=other.m_word; return *this;}

◆ packedData()

BitWord LArBadChannel::packedData ( ) const
inline

Definition at line 147 of file LArBadChannel.h.

147{return m_word;}

◆ packedDataRef()

BitWord & LArBadChannel::packedDataRef ( )
inlineprivate

Definition at line 156 of file LArBadChannel.h.

156{return m_word;}

◆ peculiarCalibrationLine()

bool LArBadChannel::peculiarCalibrationLine ( ) const
inline

Definition at line 127 of file LArBadChannel.h.

◆ pedestalJump()

bool LArBadChannel::pedestalJump ( ) const
inline

Definition at line 106 of file LArBadChannel.h.

◆ problematicForUnknownReason()

bool LArBadChannel::problematicForUnknownReason ( ) const
inline

◆ reallyNoisy()

bool LArBadChannel::reallyNoisy ( ) const
inline

Definition at line 136 of file LArBadChannel.h.

136 {return (highNoiseHG() || highNoiseMG() || highNoiseLG() ||
bool highNoiseHG() const
bool unstableNoiseMG() const
bool highNoiseMG() const
bool unstableNoiseHG() const
bool highNoiseLG() const
bool unstableNoiseLG() const

◆ reflaggedByLADIeS()

bool LArBadChannel::reflaggedByLADIeS ( ) const
inline

◆ SCAProblem()

bool LArBadChannel::SCAProblem ( ) const
inline

Definition at line 100 of file LArBadChannel.h.

◆ setSC()

void LArBadChannel::setSC ( )
inline

Definition at line 150 of file LArBadChannel.h.

150{m_isSC=true;}

◆ shortProblem()

bool LArBadChannel::shortProblem ( ) const
inline

Definition at line 114 of file LArBadChannel.h.

◆ sporadicBurstNoise()

bool LArBadChannel::sporadicBurstNoise ( ) const
inline

◆ statusBad()

bool LArBadChannel::statusBad ( PosType pb) const
inline

Returns true if corresponding status bit its set.

Definition at line 82 of file LArBadChannel.h.

82 {
83 BitWord mask = 1u << pb;
84 return ((m_word & mask) != 0);
85 }
unsigned int BitWord

◆ statusOK()

bool LArBadChannel::statusOK ( PosType pb) const
inline

Returns true if there is no problem in corresponding status bit.

Definition at line 88 of file LArBadChannel.h.

88{return !statusBad(pb);}

◆ transmissionErrorFibre()

bool LArBadChannel::transmissionErrorFibre ( ) const
inline

Definition at line 105 of file LArBadChannel.h.

◆ unflaggedByLADIeS()

bool LArBadChannel::unflaggedByLADIeS ( ) const
inline

◆ unstable()

bool LArBadChannel::unstable ( ) const
inline

Definition at line 115 of file LArBadChannel.h.

◆ unstableNoiseHG()

bool LArBadChannel::unstableNoiseHG ( ) const
inline

Definition at line 119 of file LArBadChannel.h.

◆ unstableNoiseLG()

bool LArBadChannel::unstableNoiseLG ( ) const
inline

Definition at line 125 of file LArBadChannel.h.

◆ unstableNoiseMG()

bool LArBadChannel::unstableNoiseMG ( ) const
inline

Definition at line 122 of file LArBadChannel.h.

◆ TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelEnum >

Definition at line 157 of file LArBadChannel.h.

◆ TLArBadChanBitPackingBase< LArBadChannel::LArBadChannelSCEnum >

Definition at line 157 of file LArBadChannel.h.

Member Data Documentation

◆ m_isSC

bool LArBadChannel::m_isSC
private

Definition at line 157 of file LArBadChannel.h.

◆ m_word

BitWord LArBadChannel::m_word
private

Definition at line 155 of file LArBadChannel.h.


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