ATLAS Offline Software
Loading...
Searching...
No Matches
SCTSiPropertiesCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SCTSIPROPERTIESCONDALG
6#define SCTSIPROPERTIESCONDALG
7
9
16
17#include "GaudiKernel/ServiceHandle.h"
18#include "GaudiKernel/ToolHandle.h"
19
20class SCT_ID;
21
23{
24 public:
25 SCTSiPropertiesCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
26 virtual ~SCTSiPropertiesCondAlg() = default;
27 virtual StatusCode initialize() override final;
28 virtual StatusCode execute(const EventContext& ctx) const override;
29 virtual StatusCode finalize() override final;
30
31 private:
32 DoubleProperty m_temperatureMin{this, "TemperatureMin", -80., "Minimum temperature allowed in Celcius."};
33 DoubleProperty m_temperatureMax{this, "TemperatureMax", 100., "Maximum temperature allowed in Celcius."};
34 DoubleProperty m_temperatureDefault{this, "TemperatureDefault", -7., "Default temperature in Celcius."};
35 BooleanProperty m_forceGeoModel{this, "ForceUseGeoModel", false, "Flag to avoid using HV and temp from conditions"};
36 SG::ReadCondHandleKey<SCT_DCSFloatCondData> m_readKeyTemp{this, "ReadKeyeTemp", "SCT_SiliconTempCondData", "Key of input sensor temperature conditions folder"};
37 SG::ReadCondHandleKey<SCT_DCSFloatCondData> m_readKeyHV{this, "ReadKeyHV", "SCT_SiliconBiasVoltCondData", "Key of input bias voltage conditions folder"};
38 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_SCTDetEleCollKey{this, "SCTDetEleCollKey", "SCT_DetectorElementCollection", "Key of SiDetectorElementCollection for SCT"};
39 SG::WriteCondHandleKey<InDet::SiliconPropertiesVector> m_writeKey{this, "WriteKey", "SCTSiliconPropertiesVector", "Key of output silicon properties conditions folder"};
40
41 ToolHandle<ISiliconConditionsTool> m_siCondTool{this, "SiConditionsTool", "SCT_SiliconConditionsTool", "SiConditionsTool to be used"};
43};
44
45#endif // SCTSIPROPERTIESCONDALG
Base class for conditions algorithms.
header file for data object for SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
Base class for conditions algorithms.
ToolHandle< ISiliconConditionsTool > m_siCondTool
const SCT_ID * m_pHelper
ID helper for SCT.
virtual StatusCode finalize() override final
SCTSiPropertiesCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteCondHandleKey< InDet::SiliconPropertiesVector > m_writeKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
virtual StatusCode initialize() override final
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyHV
virtual ~SCTSiPropertiesCondAlg()=default
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyTemp
virtual StatusCode execute(const EventContext &ctx) const override
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
#define private