ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsServices
TRT_ConditionsServices
ITRT_DCS_ConditionsSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ITRT_DCS_CONDITIONSSVC_H
6
#define ITRT_DCS_CONDITIONSSVC_H
7
12
13
#include "GaudiKernel/IService.h"
14
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
15
class
Identifier
;
16
17
#ifndef TRT_DCS_FLAGS
18
#define TRT_DCS_FLAGS
19
namespace
InDet
{
21
enum
TRT_DCS_StatusFlag
{
22
TRT_DCS_NOINFO
,
23
TRT_DCS_GREEN
,
24
TRT_DCS_YELLOW
,
25
TRT_DCS_RED
26
};
27
28
enum
TRT_DCS_DataType
{
29
TRT_DCS_HV_VOLTAGE
30
};
31
32
typedef
float
TRT_DCS_ValueType
;
34
enum
TRT_DCS_DetectorType
{
35
TRT_DCS_BARREL
,
36
TRT_DCS_ENDCAPA
,
37
TRT_DCS_ENDCAPC
38
};
39
}
40
#endif
// TRT_DCS_FLAGS
41
43
class
ITRT_DCS_ConditionsSvc
:
virtual
public
IService {
44
45
public
:
47
DeclareInterfaceID
(
ITRT_DCS_ConditionsSvc
,1,0);
48
50
virtual
InDet::TRT_DCS_StatusFlag
getFlag
(
const
Identifier
) = 0;
51
53
55
virtual
StatusCode
getValue
(
const
Identifier
,
const
InDet::TRT_DCS_DataType,
56
InDet::TRT_DCS_ValueType& ) = 0;
57
59
61
virtual
StatusCode
getValue
(
const
std::string & folderName,
const
std::string & channelName,
62
InDet::TRT_DCS_ValueType& ) = 0;
63
65
67
virtual
StatusCode
getValue
(
const
std::string & folderName,
const
int
chanNum,
68
InDet::TRT_DCS_ValueType& ) = 0;
69
70
virtual
const
CondAttrListCollection
*
getCollection
(
const
std::string & collName) =0;
71
72
virtual
void
monitorBarrel
() = 0;
73
virtual
void
monitorEndcapA
() = 0;
74
virtual
void
monitorEndcapC
() = 0;
75
};
76
77
#endif
// ITRT_DCS_CONDITIONSSVC_H
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
ITRT_DCS_ConditionsSvc
Service Interface for TRT_DCS_ConditionsTool.
Definition
ITRT_DCS_ConditionsSvc.h:43
ITRT_DCS_ConditionsSvc::getValue
virtual StatusCode getValue(const Identifier, const InDet::TRT_DCS_DataType, InDet::TRT_DCS_ValueType &)=0
Returns the value for a given identifier and data type.
ITRT_DCS_ConditionsSvc::monitorEndcapA
virtual void monitorEndcapA()=0
ITRT_DCS_ConditionsSvc::getFlag
virtual InDet::TRT_DCS_StatusFlag getFlag(const Identifier)=0
Returns the DCS conditions StatusFlag for a given identifier.
ITRT_DCS_ConditionsSvc::monitorEndcapC
virtual void monitorEndcapC()=0
ITRT_DCS_ConditionsSvc::getValue
virtual StatusCode getValue(const std::string &folderName, const std::string &channelName, InDet::TRT_DCS_ValueType &)=0
Returns the value for a given folder/channel name.
ITRT_DCS_ConditionsSvc::getCollection
virtual const CondAttrListCollection * getCollection(const std::string &collName)=0
ITRT_DCS_ConditionsSvc::DeclareInterfaceID
DeclareInterfaceID(ITRT_DCS_ConditionsSvc, 1, 0)
Interface ID.
ITRT_DCS_ConditionsSvc::getValue
virtual StatusCode getValue(const std::string &folderName, const int chanNum, InDet::TRT_DCS_ValueType &)=0
Returns the value for a given folder and COOL channel number.
ITRT_DCS_ConditionsSvc::monitorBarrel
virtual void monitorBarrel()=0
InDet::TRT_DCS_StatusFlag
TRT_DCS_StatusFlag
status flags derived from DCS conditions data
Definition
ITRT_DCS_ConditionsSvc.h:21
InDet::TRT_DCS_NOINFO
@ TRT_DCS_NOINFO
Definition
ITRT_DCS_ConditionsSvc.h:22
InDet::TRT_DCS_RED
@ TRT_DCS_RED
Definition
ITRT_DCS_ConditionsSvc.h:25
InDet::TRT_DCS_GREEN
@ TRT_DCS_GREEN
Definition
ITRT_DCS_ConditionsSvc.h:23
InDet::TRT_DCS_YELLOW
@ TRT_DCS_YELLOW
Definition
ITRT_DCS_ConditionsSvc.h:24
InDet::TRT_DCS_DataType
TRT_DCS_DataType
DCS data available in COOL offline database.
Definition
ITRT_DCS_ConditionsSvc.h:28
InDet::TRT_DCS_HV_VOLTAGE
@ TRT_DCS_HV_VOLTAGE
Definition
ITRT_DCS_ConditionsSvc.h:29
InDet::TRT_DCS_ValueType
float TRT_DCS_ValueType
data type stored in COOL DCS tables (usually float)
Definition
ITRT_DCS_ConditionsSvc.h:32
InDet::TRT_DCS_DetectorType
TRT_DCS_DetectorType
Detector Components (for mapping db).
Definition
ITRT_DCS_ConditionsSvc.h:34
InDet::TRT_DCS_ENDCAPA
@ TRT_DCS_ENDCAPA
Definition
ITRT_DCS_ConditionsSvc.h:36
InDet::TRT_DCS_BARREL
@ TRT_DCS_BARREL
Definition
ITRT_DCS_ConditionsSvc.h:35
InDet::TRT_DCS_ENDCAPC
@ TRT_DCS_ENDCAPC
Definition
ITRT_DCS_ConditionsSvc.h:37
Identifier
Definition
IdentifierFieldParser.cxx:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0