This class implements.. More...
#include <interface/PixelROCStatus.h>
Public Types | |
enum | ROCstatus { off = 0, noHits, noInit, noAnalogSignal, nStatus } |
Public Member Functions | |
void | clear (ROCstatus stat) |
bool | get (ROCstatus stat) const |
PixelROCStatus (const std::set< ROCstatus > &stat) | |
PixelROCStatus () | |
void | reset (void) |
void | set (ROCstatus stat) |
void | set (ROCstatus stat, bool mode) |
void | set (const std::string &statName) |
std::string | statusName (ROCstatus stat) const |
std::string | statusName () const |
virtual | ~PixelROCStatus () |
Private Attributes | |
uint32_t | bits_ |
This class implements..
A longer explanation will be placed here later
Definition at line 20 of file PixelROCStatus.h.
Definition at line 30 of file PixelROCStatus.h.
{off=0, noHits, noInit, noAnalogSignal, nStatus};
PixelROCStatus::PixelROCStatus | ( | ) |
Definition at line 19 of file PixelROCStatus.cc.
: bits_(0) {}
PixelROCStatus::PixelROCStatus | ( | const std::set< ROCstatus > & | stat | ) |
PixelROCStatus::~PixelROCStatus | ( | ) | [virtual] |
Definition at line 36 of file PixelROCStatus.cc.
{}
void PixelROCStatus::clear | ( | ROCstatus | stat | ) |
Definition at line 45 of file PixelROCStatus.cc.
References bits_, and testRegression::stat.
Referenced by set().
bool PixelROCStatus::get | ( | ROCstatus | stat | ) | const |
Definition at line 67 of file PixelROCStatus.cc.
References bits_, and testRegression::stat.
Referenced by pos::PixelConfigurationVerifier::checkChannelEnable(), pos::PixelDetectorConfig::PixelDetectorConfig(), and pos::PixelDACSettings::rocIsDisabled().
void PixelROCStatus::reset | ( | void | ) |
Definition at line 51 of file PixelROCStatus.cc.
References bits_.
Referenced by pos::PixelDetectorConfig::addROC(), and set().
{ bits_=0; }
void PixelROCStatus::set | ( | ROCstatus | stat | ) |
Definition at line 39 of file PixelROCStatus.cc.
References bits_, reset(), and testRegression::stat.
Referenced by pos::PixelDetectorConfig::PixelDetectorConfig(), and pos::PixelDetectorConfig::removeROC().
void PixelROCStatus::set | ( | ROCstatus | stat, |
bool | mode | ||
) |
Definition at line 56 of file PixelROCStatus.cc.
References clear(), reset(), and testRegression::stat.
void pos::PixelROCStatus::set | ( | const std::string & | statName | ) |
string PixelROCStatus::statusName | ( | ) | const |
Definition at line 83 of file PixelROCStatus.cc.
References nStatus, off, and query::result.
string PixelROCStatus::statusName | ( | ROCstatus | stat | ) | const |
Definition at line 72 of file PixelROCStatus.cc.
References noAnalogSignal, noHits, noInit, and off.
uint32_t pos::PixelROCStatus::bits_ [private] |