ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileConditions
src
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
11
#include "
TileConditions/ITileDCSTool.h
"
12
#include "
TileConditions/TileDCSState.h
"
13
14
// Athena includes
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
22
23
class
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
82
SG::ReadCondHandleKey<TileDCSState>
m_dcsStateKey
{
this
,
83
"TileDCS"
,
"TileDCS"
,
"Input Tile DCS status"
};
84
85
};
86
87
88
89
#endif
// TILECONDITIONS_TILEDCSTOOL_H
AthAlgTool.h
ITileDCSTool.h
ReadCondHandleKey.h
TileDCSState.h
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TileDCSState::TileDCSStatus
TileDCSStatus
Describes Tile DCS status.
Definition
TileDCSState.h:32
TileDCSTool::initialize
virtual StatusCode initialize() override
Definition
TileDCSTool.cxx:29
TileDCSTool::getChannelHV
virtual float getChannelHV(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return measured HV reported by DCS for given Tile channel.
Definition
TileDCSTool.cxx:49
TileDCSTool::TileDCSTool
TileDCSTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TileDCSTool.cxx:15
TileDCSTool::getChannelHVSet
virtual float getChannelHVSet(unsigned int ros, unsigned int drawer, unsigned int channel) const override
Return requested HV reported by DCS for given Tile channel.
Definition
TileDCSTool.cxx:56
TileDCSTool::finalize
virtual StatusCode finalize() override
Definition
TileDCSTool.cxx:41
TileDCSTool::isStatusBad
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...
Definition
TileDCSTool.cxx:100
TileDCSTool::getDCSHVStatus
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...
Definition
TileDCSTool.cxx:71
TileDCSTool::m_dcsStateKey
SG::ReadCondHandleKey< TileDCSState > m_dcsStateKey
Name of TileDCSState object in condition store.
Definition
TileDCSTool.h:82
TileDCSTool::getDrawerStates
virtual int getDrawerStates(unsigned int ros, unsigned int drawer) const override
Return Tile drawer summary states per LVPS reported by DCS.
Definition
TileDCSTool.cxx:63
TileDCSTool::getDCSStatus
virtual TileDCSState::TileDCSStatus getDCSStatus(unsigned int ros, unsigned int drawer) const override
Return TileDCSstatus for given Tile drawer determined by summary states per LVPS.
Definition
TileDCSTool.cxx:78
TileDCSTool::~TileDCSTool
virtual ~TileDCSTool()
Definition
TileDCSTool.cxx:24
TileDCSTool::isStatusHVBad
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...
Definition
TileDCSTool.cxx:93
type
Generated on
for ATLAS Offline Software by
1.17.0