ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonNSW_Cabling
src
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
13
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
14
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
15
#include "
MuonCablingData/Nsw_CablingMap.h
"
16
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
17
18
#include "
StoreGate/CondHandleKeyArray.h
"
19
#include "
StoreGate/WriteCondHandleKey.h
"
20
21
22
class
MuonNSW_CablingAlg
:
public
AthCondAlgorithm
{
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
30
private
:
31
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
32
SG::ReadCondHandleKeyArray<CondAttrListCollection>
m_readCablingKeys
{
this
,
"CablingFolder"
, {
"/MDT/MM/CABLING"
},
33
"Keys of the input conditions folder for MM & sTGC cabling map"
};
34
SG::WriteCondHandleKey<Nsw_CablingMap>
m_writeKey
{
this
,
"WriteKey"
,
"NswCabling"
,
"Key of output NSW cabling map"
};
35
36
Gaudi::Property<std::string>
m_JSONFile
{
this
,
"JSONFile"
,
""
,
"External path to read the cabling from"
};
37
38
StatusCode
loadCablingSchema
(
const
std::string& payload,
39
Nsw_CablingMap
& cabling_map)
const
;
40
};
41
42
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
CondHandleKeyArray.h
IMuonIdHelperSvc.h
Nsw_CablingMap.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
MuonNSW_CablingAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonNSW_CablingAlg.h:31
MuonNSW_CablingAlg::m_JSONFile
Gaudi::Property< std::string > m_JSONFile
Definition
MuonNSW_CablingAlg.h:36
MuonNSW_CablingAlg::~MuonNSW_CablingAlg
virtual ~MuonNSW_CablingAlg()=default
MuonNSW_CablingAlg::loadCablingSchema
StatusCode loadCablingSchema(const std::string &payload, Nsw_CablingMap &cabling_map) const
Definition
MuonNSW_CablingAlg.cxx:95
MuonNSW_CablingAlg::MuonNSW_CablingAlg
MuonNSW_CablingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
MuonNSW_CablingAlg.cxx:23
MuonNSW_CablingAlg::m_readCablingKeys
SG::ReadCondHandleKeyArray< CondAttrListCollection > m_readCablingKeys
Definition
MuonNSW_CablingAlg.h:32
MuonNSW_CablingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonNSW_CablingAlg.cxx:35
MuonNSW_CablingAlg::m_writeKey
SG::WriteCondHandleKey< Nsw_CablingMap > m_writeKey
Definition
MuonNSW_CablingAlg.h:34
MuonNSW_CablingAlg::initialize
virtual StatusCode initialize() override
Definition
MuonNSW_CablingAlg.cxx:27
Nsw_CablingMap
Definition
Nsw_CablingMap.h:18
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
SG::ReadCondHandleKeyArray
HandleKeyArray< ReadCondHandle< T >, CondHandleDefault::Key< ReadCondHandleKey< T > >, Gaudi::DataHandle::Reader > ReadCondHandleKeyArray
Definition
CondHandleKeyArray.h:30
Generated on
for ATLAS Offline Software by
1.17.0