ATLAS Offline Software
Loading...
Searching...
No Matches
TRTHWMapCondAlg.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 TRTHWMAPCONDALG_H
6#define TRTHWMAPCONDALG_H
7
8#include <string>
9#include <vector>
10
14#include "Gaudi/Property.h"
16
18{
19 public:
20 TRTHWMapCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
21 virtual ~TRTHWMapCondAlg() override;
22
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute() override;
25 virtual StatusCode finalize() override;
26
27 StatusCode build_BarrelHVLinePadMaps(EventIDRange& range, TRTCond::HWMap* writeCdo) const;
28 StatusCode build_EndcapHVLinePadMaps(EventIDRange& range, TRTCond::HWMap* writeCdo) const;
29 int hashThisBarrelPad( int sector, int module, int padNum ) const;
30 int hashThisEndcapCell( int sector, int wheel, int layer, int cellNum ) const;
31
32 private:
33 SG::ReadCondHandleKey<CondAttrListCollection> m_BarrelReadKey{this,"BarrelHWReadKey","TRT/DCS/HV/BARREL","Barrel HV in-key"};
34 SG::ReadCondHandleKey<CondAttrListCollection> m_EndAReadKey{this,"EndcapAHWReadKey","TRT/DCS/HV/ENDCAPA","EndcapA HV in-key"};
35 SG::ReadCondHandleKey<CondAttrListCollection> m_EndCReadKey{this,"EndcapCHWReadKey","TRT/DCS/HV/ENDCAPC","EndcapC HV in-key"};
36 SG::WriteCondHandleKey<TRTCond::HWMap> m_WriteKey{this,"HWMapWriteKey","HWMap","HWMap out-key"};
37
38};
39#endif
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual ~TRTHWMapCondAlg() override
StatusCode build_BarrelHVLinePadMaps(EventIDRange &range, TRTCond::HWMap *writeCdo) const
Build HV-line/pad map for Barrel //.
SG::ReadCondHandleKey< CondAttrListCollection > m_EndCReadKey
virtual StatusCode finalize() override
SG::WriteCondHandleKey< TRTCond::HWMap > m_WriteKey
virtual StatusCode execute() override
virtual StatusCode initialize() override
StatusCode build_EndcapHVLinePadMaps(EventIDRange &range, TRTCond::HWMap *writeCdo) const
Build HV-line/pad maps for Endcaps //.
int hashThisEndcapCell(int sector, int wheel, int layer, int cellNum) const
Hash an endcap HV cell by sector/wheel/layer/cell# //.
int hashThisBarrelPad(int sector, int module, int padNum) const
Hash an HV pad by sector/module/pad# //.
SG::ReadCondHandleKey< CondAttrListCollection > m_BarrelReadKey
SG::ReadCondHandleKey< CondAttrListCollection > m_EndAReadKey
TRTHWMapCondAlg(const std::string &name, ISvcLocator *pSvcLocator)