ATLAS Offline Software
Loading...
Searching...
No Matches
TileDCSTool.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_TILEDCSTOOL_H
8#define TILECONDITIONS_TILEDCSTOOL_H
9
10// Tile includes
13
14// Athena includes
17
22
23class TileDCSTool: public extends<AthAlgTool, ITileDCSTool> {
24
25 public:
26
27 TileDCSTool(const std::string& type, const std::string& name, const IInterface* parent);
28 virtual ~TileDCSTool();
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode finalize() override;
35 virtual float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
36
40 virtual float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
41
45 virtual int getDrawerStates(unsigned int ros, unsigned int drawer) const override;
46
50 virtual TileDCSState::TileDCSStatus getDCSHVStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
51
55 virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const override;
56
60 virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
61
65 virtual bool isStatusHVBad(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
66
70 virtual bool isStatusBad (unsigned int ros, unsigned int drawer) const override;
71
75 virtual bool isStatusBad(unsigned int ros, unsigned int drawer, unsigned int channel) const override;
76
77 private:
78
83 "TileDCS", "TileDCS", "Input Tile DCS status"};
84
85};
86
87
88
89#endif // TILECONDITIONS_TILEDCSTOOL_H
TileDCSStatus
Describes Tile DCS status.
virtual StatusCode initialize() override
virtual float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return measured HV reported by DCS for given Tile channel.
TileDCSTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return requested HV reported by DCS for given Tile channel.
virtual StatusCode finalize() override
virtual bool isStatusBad(unsigned int ros, unsigned int drawer) const override
Return true if given Tile drawer considered as bad by summary drawer states per LVPS otherwise return...
virtual TileDCSState::TileDCSStatus getDCSHVStatus(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return TileDCSstatus for given Tile channel determined by deviation between measured and requested HV...
SG::ReadCondHandleKey< TileDCSState > m_dcsStateKey
Name of TileDCSState object in condition store.
Definition TileDCSTool.h:82
virtual int getDrawerStates(unsigned int ros, unsigned int drawer) const override
Return Tile drawer summary states per LVPS reported by DCS.
virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const override
Return TileDCSstatus for given Tile drawer determined by summary states per LVPS.
virtual ~TileDCSTool()
virtual bool isStatusHVBad(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return true if given Tile channel considered as bad by deviation between measured and requested HV ot...