![]() |
ATLAS Offline Software
|
Condition object to keep Tile DCS status from DB. More...
#include <TileDCSState.h>
Public Types | |
| enum | TileDCSStatus { NON_EXISTING = 0, UNKNOWN = 1, OK_DRAWER = 10, OK_KNOWNBADPMT, OK, WARNING_DRAWER = 20, WARNING_KNOWNBADPMT, WARNING, ALERT_DRAWER = 30, ALERT_KNOWNBADPMT, ALERT } |
| Describes Tile DCS status. More... | |
Public Member Functions | |
| TileDCSState () | |
| virtual | ~TileDCSState () |
| float | getChannelHV (unsigned int ros, unsigned int drawer, unsigned int channel) const |
| Return measured HV reported by DCS for given Tile channel. More... | |
| void | setChannelHV (unsigned int ros, unsigned int drawer, unsigned int channel, float hv) |
| Store measured HV reported by DCS for given Tile channel. More... | |
| float | getChannelHVSet (unsigned int ros, unsigned int drawer, unsigned int channel) const |
| Return requested HV reported by DCS for given Tile channel. More... | |
| void | setChannelHVSet (unsigned int ros, unsigned int drawer, unsigned int channel, float hvSet) |
| Store requested HV reported by DCS for given Tile channel. More... | |
| int | getDrawerStates (unsigned int ros, unsigned int drawer) const |
| Return Tile drawer summary states per LVPS reported by DCS. More... | |
| void | setDrawerStates (unsigned int ros, unsigned int drawer, int states) |
| Store Tile drawer summary states per LVPS reported by DCS. More... | |
| TileDCSStatus | getDCSHVStatus (unsigned int ros, unsigned int drawer, unsigned int channel) const |
| Return TileDCSstatus for given Tile channel determined by deviation between measured and requested HV. More... | |
| void | setDCSHVStatus (unsigned int ros, unsigned int drawer, unsigned int channel, TileDCSStatus status) |
| Store TileDCSstatus for given Tile channel determined by deviation between measured and requested HV. More... | |
| TileDCSStatus | getDCSStatus (unsigned int ros, unsigned int drawer) const |
| Return TileDCSstatus for given Tile drawer determined by summary states per LVPS. More... | |
| TileDCSStatus | getDCSStatus (unsigned int ros, unsigned int drawer, unsigned int channel) const |
| Return TileDCSstatus for given Tile channel determined by summary states per LVPS and deviation between measured and requested HV. More... | |
| TileDCSStatus | setDCSStatus (unsigned int ros, unsigned int drawer, unsigned int channel, TileDCSStatus status) |
| Store TileDCSstatus for given Tile channel determined by summary states per LVPS and deviation between measured and requested HV. More... | |
| bool | isStatusHVBad (unsigned int ros, unsigned int drawer, unsigned int channel) const |
Return true if given Tile channel considered as bad by deviation between measured and requested HV otherwise return false. More... | |
| bool | isStatusBad (unsigned int ros, unsigned int drawer) const |
Return true if given Tile drawer considered as bad by summary drawer states per LVPS otherwise return false. More... | |
| bool | isStatusBad (unsigned int ros, unsigned int drawer, unsigned int channel) const |
Return true if given Tile channel considered as bad by summary drawer states per LVPS and deviation between measured and requested HV otherwise return false. More... | |
| void | setGoodDrawer (int goodDrawer) |
| Store good Tile drawer summary states per LVPS as reference. More... | |
| void | setWarningDrawer (const std::vector< int > &warningDrawer) |
| Store vector of warning Tile drawer summary states per LVPS as reference. More... | |
Private Types | |
| enum | TileLimits { NUMBER_OF_ROSES = 4, NUMBER_OF_CHANNELS = 48, NUMBER_OF_HV_CHANNELS = 55, NUMBER_OF_HVSET_CHANNELS = 68, NUMBER_OF_DRAWERS = 64 } |
Private Member Functions | |
| void | checkDrawer (const std::string &description, unsigned int ros, unsigned int drawer) const |
| void | checkChannel (const std::string &description, unsigned int ros, unsigned int drawer, unsigned int channel, unsigned int maxChannel) const |
Private Attributes | |
| int | m_states [NUMBER_OF_ROSES][NUMBER_OF_DRAWERS] |
| float | m_hv [NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_HV_CHANNELS] |
| float | m_hvSet [NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_HVSET_CHANNELS] |
| TileDCSStatus | m_status [NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_CHANNELS] |
| TileDCSStatus | m_hvStatus [NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_CHANNELS] |
| int | m_goodDrawer |
| std::vector< int > | m_warningDrawer |
| int | m_unknownValue |
Condition object to keep Tile DCS status from DB.
See Tile Calorimeter DCS on the twiki
Definition at line 24 of file TileDCSState.h.
Describes Tile DCS status.
| Enumerator | |
|---|---|
| NON_EXISTING | |
| UNKNOWN | |
| OK_DRAWER | |
| OK_KNOWNBADPMT | |
| OK | |
| WARNING_DRAWER | |
| WARNING_KNOWNBADPMT | |
| WARNING | |
| ALERT_DRAWER | |
| ALERT_KNOWNBADPMT | |
| ALERT | |
Definition at line 32 of file TileDCSState.h.
|
private |
| Enumerator | |
|---|---|
| NUMBER_OF_ROSES | Number of Tile ROSes. |
| NUMBER_OF_CHANNELS | Number of Tile channels. |
| NUMBER_OF_HV_CHANNELS | Number of Tile "channels" in DCS HV folder. |
| NUMBER_OF_HVSET_CHANNELS | Number of Tile "channels" in DCS HVSET folder. |
| NUMBER_OF_DRAWERS | Number of Tile drawers in one ROS. |
Definition at line 193 of file TileDCSState.h.
| TileDCSState::TileDCSState | ( | ) |
Definition at line 12 of file TileDCSState.cxx.
|
inlinevirtual |
Definition at line 38 of file TileDCSState.h.
|
inlineprivate |
Definition at line 356 of file TileDCSState.h.
|
inlineprivate |
Definition at line 341 of file TileDCSState.h.
|
inline |
Return measured HV reported by DCS for given Tile channel.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
Definition at line 227 of file TileDCSState.h.
|
inline |
Return requested HV reported by DCS for given Tile channel.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
Definition at line 243 of file TileDCSState.h.
|
inline |
Return TileDCSstatus for given Tile channel determined by deviation between measured and requested HV.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
Definition at line 275 of file TileDCSState.h.
| TileDCSState::TileDCSStatus TileDCSState::getDCSStatus | ( | unsigned int | ros, |
| unsigned int | drawer | ||
| ) | const |
|
inline |
Return TileDCSstatus for given Tile channel determined by summary states per LVPS and deviation between measured and requested HV.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
Definition at line 294 of file TileDCSState.h.
|
inline |
|
inline |
Return true if given Tile drawer considered as bad by summary drawer states per LVPS otherwise return false.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
TileDCSstatus for given channel Definition at line 320 of file TileDCSState.h.
|
inline |
Return true if given Tile channel considered as bad by summary drawer states per LVPS and deviation between measured and requested HV otherwise return false.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
TileDCSstatus for given channel Definition at line 325 of file TileDCSState.h.
|
inline |
Return true if given Tile channel considered as bad by deviation between measured and requested HV otherwise return false.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
TileDCSstatus for given channel Definition at line 315 of file TileDCSState.h.
|
inline |
Store measured HV reported by DCS for given Tile channel.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
| hv | measured HV reported by DCS for given Tile channel |
Definition at line 235 of file TileDCSState.h.
|
inline |
Store requested HV reported by DCS for given Tile channel.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
| hvSet | requested HV reported by DCS for given Tile channel |
Definition at line 251 of file TileDCSState.h.
|
inline |
Store TileDCSstatus for given Tile channel determined by deviation between measured and requested HV.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
| status | TileDCSstatus for given Tile channel determined by deviation between measured and requested HV |
Definition at line 285 of file TileDCSState.h.
|
inline |
Store TileDCSstatus for given Tile channel determined by summary states per LVPS and deviation between measured and requested HV.
| ros | Tile ROS number: 1 == LBA, 2 == LBC, 3 == EBA, 4 == EBC |
| drawer | Tile drawer number in range [0..63] |
| channel | Tile channel number in range [0..47] |
| status | TileDCSstatus for given Tile channel |
Definition at line 304 of file TileDCSState.h.
|
inline |
|
inline |
Store good Tile drawer summary states per LVPS as reference.
| goodDrawer | Tile drawer states considered as good |
Definition at line 333 of file TileDCSState.h.
|
inline |
Store vector of warning Tile drawer summary states per LVPS as reference.
| warningDrawer | vector of Tile drawer states considered as warning |
Definition at line 336 of file TileDCSState.h.
|
private |
Definition at line 211 of file TileDCSState.h.
|
private |
Definition at line 206 of file TileDCSState.h.
|
private |
Definition at line 207 of file TileDCSState.h.
|
private |
Definition at line 209 of file TileDCSState.h.
|
private |
Definition at line 205 of file TileDCSState.h.
|
private |
Definition at line 208 of file TileDCSState.h.
|
private |
Definition at line 213 of file TileDCSState.h.
|
private |
Definition at line 212 of file TileDCSState.h.
1.8.18