#include <EcalChannelStatusCode.h>
Public Types | |
enum | Bits { kHV = 0, kLV, kDAQ, kTP, kTrigger, kTemperature, kNextToDead } |
enum | Code { kOk = 0, kDAC, kNoLaser, kNoisy, kNNoisy, kNNNoisy, kNNNNoisy, kNNNNNoisy, kFixedG6, kFixedG1, kFixedG0, kNonRespondingIsolated, kDeadVFE, kDeadFE, kNoDataNoTP } |
Public Member Functions | |
bool | checkBit (Bits bit) |
Check status of desired bit. More... | |
EcalChannelStatusCode () | |
EcalChannelStatusCode (const uint16_t &encodedStatus) | |
uint16_t | getEncodedStatusCode () const |
Return the encoded raw status. More... | |
Code | getStatusCode () const |
return decoded status More... | |
void | print (std::ostream &s) const |
Static Public Attributes | |
static const int | chStatusMask = 0x1F |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
uint16_t | status_ |
Static Private Attributes | |
static const int | kBitsOffset = 5 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Author: Paolo Meridiani Created: 14 Nov 2006
Definition at line 18 of file EcalChannelStatusCode.h.
Enumerator | |
---|---|
kHV | |
kLV | |
kDAQ | |
kTP | |
kTrigger | |
kTemperature | |
kNextToDead |
Definition at line 38 of file EcalChannelStatusCode.h.
Enumerator | |
---|---|
kOk | |
kDAC | |
kNoLaser | |
kNoisy | |
kNNoisy | |
kNNNoisy | |
kNNNNoisy | |
kNNNNNoisy | |
kFixedG6 | |
kFixedG1 | |
kFixedG0 | |
kNonRespondingIsolated | |
kDeadVFE | |
kDeadFE | |
kNoDataNoTP |
Definition at line 20 of file EcalChannelStatusCode.h.
|
inline |
Definition at line 41 of file EcalChannelStatusCode.h.
|
inline |
Definition at line 42 of file EcalChannelStatusCode.h.
|
inline |
Check status of desired bit.
Definition at line 53 of file EcalChannelStatusCode.h.
References kBitsOffset, and status_.
|
inline |
Return the encoded raw status.
Definition at line 50 of file EcalChannelStatusCode.h.
References status_.
|
inline |
return decoded status
Definition at line 47 of file EcalChannelStatusCode.h.
References chStatusMask, and status_.
Referenced by EcalTrivialObjectAnalyzer::analyze(), and EcalRecHitProducer::produce().
|
inline |
Definition at line 44 of file EcalChannelStatusCode.h.
References alignCSCRings::s, and status_.
|
private |
|
friend |
Definition at line 85 of file EcalChannelStatusCode.h.
|
friend |
Definition at line 85 of file EcalChannelStatusCode.h.
|
static |
Definition at line 55 of file EcalChannelStatusCode.h.
Referenced by getStatusCode().
|
staticprivate |
Definition at line 58 of file EcalChannelStatusCode.h.
Referenced by checkBit().
|
private |
Definition at line 83 of file EcalChannelStatusCode.h.
Referenced by checkBit(), getEncodedStatusCode(), getStatusCode(), and print().