ATLAS Offline Software
Loading...
Searching...
No Matches
TileHid2RESrcIDCondAlg.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 TILEBYTESTREAM_TILEHID2RESRCIDCONDALG_H
6#define TILEBYTESTREAM_TILEHID2RESRCIDCONDALG_H
7
11
17
18#include "GaudiKernel/ToolHandle.h"
19#include "GaudiKernel/ServiceHandle.h"
20
21class TileHWID;
22
28 public:
29
30 using AthCondAlgorithm::AthCondAlgorithm;
31
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute(const EventContext& ctx) const override;
34
35 private:
36
37 Gaudi::Property<bool> m_forHLT{this, "ForHLT", false, "Produce TileHid2RESrcID conditions object for HLT"};
38
43 "TileHid2RESrcID", "TileHid2RESrcID", "Output TileHid2RESrcID conditions object"};
44
45 Gaudi::Property<unsigned int> m_fullTileRODs{this, "FullTileMode", 320000,
46 "Run from which to take the cabling (for the moment, either 320000 - full 2017 mode (default) - or 0 - 2016 mode)"};
47
48 Gaudi::Property<std::vector<std::string> > m_ROD2ROBmap{this,
49 "ROD2ROBmap",{},"","OrderedSet<std::string>"};
50
55 "ROBDataProviderSvc", "ROBDataProviderSvc", "The ROB data provider service"};
56
60 ToolHandle<ITileCondProxy<TileCalibDrawerInt> > m_rodStatusProxy{this,
61 "RODStatusProxy", "", "Tile ROD status proxy tool"};
62
63 const TileHWID* m_tileHWID{nullptr};
64 bool m_initFromEvent{false};
65 bool m_initFromDB{false};
66};
67
68
69#endif // TILEBYTESTREAM_TILEHID2RESRCIDCONDALG_H
Base class for conditions algorithms.
Property holding a SG store/key/clid from which a ReadHandle is made.
Base class for conditions algorithms.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Condition algorithm to prepare TileHid2RESrcID conditions object and put it into conditions store.
ToolHandle< ITileCondProxy< TileCalibDrawerInt > > m_rodStatusProxy
Tool to get Tile ROD status (e.g.: mapping from BS frag ID to drawer ID)
Gaudi::Property< std::vector< std::string > > m_ROD2ROBmap
ServiceHandle< IROBDataProviderSvc > m_robSvc
Name of ROB data provider service.
virtual StatusCode initialize() override
Gaudi::Property< unsigned int > m_fullTileRODs
SG::WriteCondHandleKey< TileHid2RESrcID > m_hid2ReSrcIdKey
Name of output TileHid2RESrcID.
Gaudi::Property< bool > m_forHLT
virtual StatusCode execute(const EventContext &ctx) const override