ATLAS Offline Software
Loading...
Searching...
No Matches
ITileDCSTool.h
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TILECONDITIONS_ITILEDCSTOOL_H
8#define TILECONDITIONS_ITILEDCSTOOL_H
9
10// Tile includes
12
13// Gaudi includes
14#include "GaudiKernel/IAlgTool.h"
15
20
21class ITileDCSTool: virtual public IAlgTool {
22
23 public:
24
25 virtual ~ITileDCSTool() {};
26
30 virtual float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
31
35 virtual float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
36
40 virtual int getDrawerStates(unsigned int ros, unsigned int drawer) const = 0;
41
45 virtual TileDCSState::TileDCSStatus getDCSHVStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
46
50 virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const = 0;
51
55 virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
56
60 virtual bool isStatusHVBad(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
61
65 virtual bool isStatusBad (unsigned int ros, unsigned int drawer) const = 0;
66
70 virtual bool isStatusBad(unsigned int ros, unsigned int drawer, unsigned int channel) const = 0;
71
73
74};
75
76
77
78#endif // TILECONDITIONS_ITILEDCSTOOL_H
An abstract interface to get Tile DCS information from DB.
virtual int getDrawerStates(unsigned int ros, unsigned int drawer) const =0
Return Tile drawer summary states per LVPS reported by DCS.
virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return TileDCSstatus for given Tile channel determined by summary states per LVPS and deviation betwe...
virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const =0
Return TileDCSstatus for given Tile drawer determined by summary states per LVPS.
virtual bool isStatusBad(unsigned int ros, unsigned int drawer) const =0
Return true if given Tile drawer considered as bad by summary drawer states per LVPS otherwise return...
virtual float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return measured HV reported by DCS for given Tile channel.
virtual bool isStatusBad(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return true if given Tile channel considered as bad by summary drawer states per LVPS and deviation b...
virtual bool isStatusHVBad(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return true if given Tile channel considered as bad by deviation between measured and requested HV ot...
DeclareInterfaceID(ITileDCSTool, 1, 0)
virtual float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return requested HV reported by DCS for given Tile channel.
virtual TileDCSState::TileDCSStatus getDCSHVStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const =0
Return TileDCSstatus for given Tile channel determined by deviation between measured and requested HV...
virtual ~ITileDCSTool()
TileDCSStatus
Describes Tile DCS status.