ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
PixelConditionsAlgorithms
src
PixelDCSCondStateAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
10
11
#ifndef PIXELDCSCONDSTATEALG
12
#define PIXELDCSCONDSTATEALG
13
14
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
15
16
#include "
StoreGate/ReadCondHandleKey.h
"
17
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
18
19
#include "
StoreGate/WriteCondHandleKey.h
"
20
#include "
PixelConditionsData/PixelDCSStateData.h
"
21
22
#include "
InDetIdentifier/PixelID.h
"
23
24
#include "Gaudi/Property.h"
25
26
class
PixelDCSCondStateAlg
:
public
AthCondAlgorithm
{
27
public
:
28
PixelDCSCondStateAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
29
virtual
~PixelDCSCondStateAlg
() =
default
;
30
31
virtual
StatusCode
initialize
() override final;
32
virtual StatusCode
execute
(
const
EventContext& ctx)
const
override final;
33
34
private
:
35
const
PixelID
*
m_pixelID
{
nullptr
};
36
37
SG::ReadCondHandleKey<CondAttrListCollection>
m_readKeyState
38
{
this
,
"ReadKeyState"
,
""
,
"Key of input DCS state conditions folder"
};
39
40
SG::WriteCondHandleKey<PixelDCSStateData>
m_writeKeyState
41
{
this
,
"WriteKeyState"
,
"PixelDCSStateCondData"
,
"Key of output DCS state data"
};
42
43
std::unordered_map<std::string, PixelDCSStateData::DCSModuleState>
m_stateMap
;
44
45
};
46
47
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
PixelDCSStateData.h
Store pixel DCS module state in PixelDCSStateData.
PixelID.h
This is an Identifier helper class for the Pixel subdetector.
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
PixelDCSCondStateAlg::m_writeKeyState
SG::WriteCondHandleKey< PixelDCSStateData > m_writeKeyState
Definition
PixelDCSCondStateAlg.h:41
PixelDCSCondStateAlg::PixelDCSCondStateAlg
PixelDCSCondStateAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
PixelDCSCondStateAlg.cxx:11
PixelDCSCondStateAlg::m_stateMap
std::unordered_map< std::string, PixelDCSStateData::DCSModuleState > m_stateMap
Definition
PixelDCSCondStateAlg.h:43
PixelDCSCondStateAlg::m_readKeyState
SG::ReadCondHandleKey< CondAttrListCollection > m_readKeyState
Definition
PixelDCSCondStateAlg.h:38
PixelDCSCondStateAlg::m_pixelID
const PixelID * m_pixelID
Definition
PixelDCSCondStateAlg.h:35
PixelDCSCondStateAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
PixelDCSCondStateAlg.cxx:36
PixelDCSCondStateAlg::~PixelDCSCondStateAlg
virtual ~PixelDCSCondStateAlg()=default
PixelDCSCondStateAlg::initialize
virtual StatusCode initialize() override final
Definition
PixelDCSCondStateAlg.cxx:16
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
const
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0