|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TILECONDITIONS_TILEDCSSTATE_H
8 #define TILECONDITIONS_TILEDCSSTATE_H
203 unsigned int channel,
unsigned int maxChannel)
const;
229 checkChannel(
"TileDCSState::getChannelHV()",
ros,
drawer,
channel, NUMBER_OF_HV_CHANNELS);
342 unsigned int ros,
unsigned int drawer)
const {
358 unsigned int channel,
unsigned int maxChannel)
const {
368 #endif // TILECONDITIONS_TILEDCSSTATE_H
float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const
Return requested HV reported by DCS for given Tile channel.
void checkDrawer(const std::string &description, unsigned int ros, unsigned int drawer) const
Thrown if an index is out of range.
Hold mappings of ranges to condition objects.
float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const
Return measured HV reported by DCS for given Tile channel.
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.
float m_hvSet[NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_HVSET_CHANNELS]
void setChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel, float hv)
Store measured HV reported by DCS for given Tile channel.
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...
float m_hv[NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_HV_CHANNELS]
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...
TileDCSStatus m_status[NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_CHANNELS]
void setDrawerStates(unsigned int ros, unsigned int drawer, int states)
Store Tile drawer summary states per LVPS reported by DCS.
TileDCSStatus
Describes Tile DCS status.
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 ot...
CONDCONT_MIXED_DEF(TileDCSState, 38603143)
@ NUMBER_OF_HVSET_CHANNELS
Number of Tile "channels" in DCS HVSET folder.
void setChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel, float hvSet)
Store requested HV reported by DCS for given Tile channel.
void setGoodDrawer(int goodDrawer)
Store good Tile drawer summary states per LVPS as reference.
void setWarningDrawer(const std::vector< int > &warningDrawer)
Store vector of warning Tile drawer summary states per LVPS as reference.
@ NUMBER_OF_DRAWERS
Number of Tile drawers in one ROS.
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 betwee...
TileDCSStatus m_hvStatus[NUMBER_OF_ROSES][NUMBER_OF_DRAWERS][NUMBER_OF_CHANNELS]
int getDrawerStates(unsigned int ros, unsigned int drawer) const
Return Tile drawer summary states per LVPS reported by DCS.
@ NUMBER_OF_HV_CHANNELS
Number of Tile "channels" in DCS HV folder.
@ NUMBER_OF_CHANNELS
Number of Tile channels.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Condition object to keep Tile DCS status from DB.
macros to associate a CLID to a type
@ NUMBER_OF_ROSES
Number of Tile ROSes.
void checkChannel(const std::string &description, unsigned int ros, unsigned int drawer, unsigned int channel, unsigned int maxChannel) const
std::string description
glabal timer - how long have I taken so far?
std::vector< int > m_warningDrawer
TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const
Return TileDCSstatus for given Tile drawer determined by summary states per LVPS.
int m_states[NUMBER_OF_ROSES][NUMBER_OF_DRAWERS]