ATLAS Offline Software
Loading...
Searching...
No Matches
PixelDCSCondTempAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
10
11#ifndef PIXELDCSCONDTEMPALG
12#define PIXELDCSCONDTEMPALG
13
14#include "AthenaBaseComps/AthCondAlgorithm.h" //base class
15
16#include "StoreGate/ReadCondHandleKey.h" //templated member
17#include "AthenaPoolUtilities/CondAttrListCollection.h" //template argument
18
19#include "StoreGate/WriteCondHandleKey.h" //templated member
20#include "PixelConditionsData/PixelDCSTempData.h" //template argument
21
22
23class PixelID;
24
26 public:
27 PixelDCSCondTempAlg(const std::string& name, ISvcLocator* pSvcLocator);
28 virtual ~PixelDCSCondTempAlg() = default;
29
30 virtual StatusCode initialize() override final;
31 virtual StatusCode execute(const EventContext& ctx) const override final;
32
33 private:
35
36 Gaudi::Property<float> m_defaultTemperature
37 {this, "DefaultTemperature", -7.0, "Default module temperature when no measured value is available"};
38
40 {this, "ReadKey", "/PIXEL/DCS/TEMPERATURE", "Key of input (raw) temperature conditions folder"};
41
43 {this, "WriteKey", "PixelDCSTempCondData", "Key of output (derived) temperature conditions folder"};
44
45};
46
47#endif
Base class for conditions algorithms.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Store pixel temperature data in PixelDCSTempData.
Base class for conditions algorithms.
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
virtual StatusCode execute(const EventContext &ctx) const override final
const PixelID * m_pixelID
SG::WriteCondHandleKey< PixelDCSTempData > m_writeKey
virtual ~PixelDCSCondTempAlg()=default
virtual StatusCode initialize() override final
Gaudi::Property< float > m_defaultTemperature
PixelDCSCondTempAlg(const std::string &name, ISvcLocator *pSvcLocator)
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
#define private