ATLAS Offline Software
Loading...
Searching...
No Matches
MuonNSW_CablingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
9
10#ifndef MuonNSW_CABLING_MuonNSW_CABLINGALG_H
11#define MuonNSW_CABLING_MuonNSW_CABLINGALG_H
12
17
20
21
23 public:
24 MuonNSW_CablingAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~MuonNSW_CablingAlg() = default;
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& ctx) const override;
28
29 virtual bool isReEntrant() const override final { return false; }
30
31 private:
32 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
33 SG::ReadCondHandleKeyArray<CondAttrListCollection> m_readCablingKeys{this, "CablingFolder", { "/MDT/MM/CABLING"},
34 "Keys of the input conditions folder for MM & sTGC cabling map"};
35 SG::WriteCondHandleKey<Nsw_CablingMap> m_writeKey{this, "WriteKey", "NswCabling", "Key of output NSW cabling map"};
36
37 Gaudi::Property<std::string> m_JSONFile{this, "JSONFile", "", "External path to read the cabling from"};
38
39 StatusCode loadCablingSchema(const std::string& payload,
40 Nsw_CablingMap& cabling_map) const;
41};
42
43#endif
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
An algorithm that can be simultaneously executed in multiple threads.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< std::string > m_JSONFile
virtual ~MuonNSW_CablingAlg()=default
StatusCode loadCablingSchema(const std::string &payload, Nsw_CablingMap &cabling_map) const
MuonNSW_CablingAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_readCablingKeys
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteCondHandleKey< Nsw_CablingMap > m_writeKey
virtual StatusCode initialize() override
virtual bool isReEntrant() const override final
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray