ATLAS Offline Software
MuonCalibStreamCnvSvcConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def MuonCalibStreamFileInputSvcCfg(flags, name = 'MuonCalibStreamFileInputSvc'):
7 
8  result = ComponentAccumulator()
9 
10  result.addService(CompFactory.MuonCalibStreamFileInputSvc(name, InputFiles = flags.Input.Files, DumpStream = 1),primary =True)
11 
12  return result
13 
14 def MuonCalibStreamCnvSvcCfg(flags, name = 'MuonCalibStreamCnvSvc'):
15 
16  result = ComponentAccumulator()
17 
18  result.addService(CompFactory.MuonCalibStreamCnvSvc(name), primary = True)
19 
20  return result
21 
22 def MuonCalibStreamAddressProviderSvcCfg(flags, name = 'MuonCalibStreamAddressProviderSvc'):
23 
24  result = ComponentAccumulator()
25 
26  result.addService(CompFactory.MuonCalibStreamAddressProviderSvc(name), primary = True)
27 
28  return result
29 
30 def MuonCalibStreamDataProviderSvcCfg(flags, name = 'MuonCalibStreamDataProviderSvc'):
31 
32  result = ComponentAccumulator()
33  result.addService(CompFactory.MuonCalibStreamDataProviderSvc(name,RunNumber = flags.Input.RunNumbers[0],LumiBlockNumberFromCool = False, RunNumberFromCool=False), primary = True)
34 
35  return result
36 
37 def EventSelectorMuonCalibStreamCfg(flags, name = 'EventSelectorMuonCalibStream'):
38 
39  result = ComponentAccumulator()
40  result.addService(CompFactory.EventSelectorMuonCalibStream(name), primary = True)
41 
42  return result
43 
44 def MuonCalibRunLumiBlockCoolSvcCfg(flags, name = 'MuonCalibRunLumiBlockCoolSvc'):
45 
46  result = ComponentAccumulator()
47  result.addService(CompFactory.MuonCalibRunLumiBlockCoolSvc(name), primary = True)
48 
49  return result
50 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
MuonCalibStreamCnvSvcConfig.MuonCalibStreamFileInputSvcCfg
def MuonCalibStreamFileInputSvcCfg(flags, name='MuonCalibStreamFileInputSvc')
Definition: MuonCalibStreamCnvSvcConfig.py:6
MuonCalibStreamCnvSvcConfig.EventSelectorMuonCalibStreamCfg
def EventSelectorMuonCalibStreamCfg(flags, name='EventSelectorMuonCalibStream')
Definition: MuonCalibStreamCnvSvcConfig.py:37
MuonCalibStreamCnvSvcConfig.MuonCalibStreamDataProviderSvcCfg
def MuonCalibStreamDataProviderSvcCfg(flags, name='MuonCalibStreamDataProviderSvc')
Definition: MuonCalibStreamCnvSvcConfig.py:30
MuonCalibStreamCnvSvcConfig.MuonCalibStreamCnvSvcCfg
def MuonCalibStreamCnvSvcCfg(flags, name='MuonCalibStreamCnvSvc')
Definition: MuonCalibStreamCnvSvcConfig.py:14
MuonCalibStreamCnvSvcConfig.MuonCalibRunLumiBlockCoolSvcCfg
def MuonCalibRunLumiBlockCoolSvcCfg(flags, name='MuonCalibRunLumiBlockCoolSvc')
Definition: MuonCalibStreamCnvSvcConfig.py:44
MuonCalibStreamCnvSvcConfig.MuonCalibStreamAddressProviderSvcCfg
def MuonCalibStreamAddressProviderSvcCfg(flags, name='MuonCalibStreamAddressProviderSvc')
Definition: MuonCalibStreamCnvSvcConfig.py:22