ATLAS Offline Software
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 
21 class TileHWID;
22 
28  public:
29 
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileHid2RESrcIDCondAlg::initialize
virtual StatusCode initialize() override
Definition: TileHid2RESrcIDCondAlg.cxx:15
TileHid2RESrcIDCondAlg::m_initFromEvent
bool m_initFromEvent
Definition: TileHid2RESrcIDCondAlg.h:64
WriteCondHandleKey.h
TileHid2RESrcIDCondAlg
Condition algorithm to prepare TileHid2RESrcID conditions object and put it into conditions store.
Definition: TileHid2RESrcIDCondAlg.h:27
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileCalibDrawerInt.h
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
TileHid2RESrcIDCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TileHid2RESrcIDCondAlg.cxx:36
TileHid2RESrcIDCondAlg::m_fullTileRODs
Gaudi::Property< unsigned int > m_fullTileRODs
Definition: TileHid2RESrcIDCondAlg.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileHid2RESrcIDCondAlg::m_rodStatusProxy
ToolHandle< ITileCondProxy< TileCalibDrawerInt > > m_rodStatusProxy
Tool to get Tile ROD status (e.g.
Definition: TileHid2RESrcIDCondAlg.h:60
ITileCondProxy.h
AthReentrantAlgorithm.h
TileHid2RESrcID.h
TileHid2RESrcIDCondAlg::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileHid2RESrcIDCondAlg.h:63
TileHid2RESrcIDCondAlg::m_ROD2ROBmap
Gaudi::Property< std::vector< std::string > > m_ROD2ROBmap
Definition: TileHid2RESrcIDCondAlg.h:48
EventInfo.h
TileHid2RESrcIDCondAlg::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Name of ROB data provider service.
Definition: TileHid2RESrcIDCondAlg.h:54
TileHid2RESrcIDCondAlg::m_hid2ReSrcIdKey
SG::WriteCondHandleKey< TileHid2RESrcID > m_hid2ReSrcIdKey
Name of output TileHid2RESrcID.
Definition: TileHid2RESrcIDCondAlg.h:42
TileHid2RESrcIDCondAlg::m_initFromDB
bool m_initFromDB
Definition: TileHid2RESrcIDCondAlg.h:65
TileHid2RESrcIDCondAlg::m_forHLT
Gaudi::Property< bool > m_forHLT
Definition: TileHid2RESrcIDCondAlg.h:37
SG::WriteCondHandleKey< TileHid2RESrcID >
IROBDataProviderSvc.h
ServiceHandle< IROBDataProviderSvc >