ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibStreamCnvSvcConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def 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
14def MuonCalibStreamCnvSvcCfg(flags, name = 'MuonCalibStreamCnvSvc'):
15
16 result = ComponentAccumulator()
17
18 result.addService(CompFactory.MuonCalibStreamCnvSvc(name), primary = True)
19
20 return result
21
22def MuonCalibStreamAddressProviderSvcCfg(flags, name = 'MuonCalibStreamAddressProviderSvc'):
23
24 result = ComponentAccumulator()
25
26 result.addService(CompFactory.MuonCalibStreamAddressProviderSvc(name), primary = True)
27
28 return result
29
30def 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
37def EventSelectorMuonCalibStreamCfg(flags, name = 'EventSelectorMuonCalibStream'):
38
39 result = ComponentAccumulator()
40 result.addService(CompFactory.EventSelectorMuonCalibStream(name), primary = True)
41
42 return result
43
44def MuonCalibRunLumiBlockCoolSvcCfg(flags, name = 'MuonCalibRunLumiBlockCoolSvc'):
45
46 result = ComponentAccumulator()
47 result.addService(CompFactory.MuonCalibRunLumiBlockCoolSvc(name), primary = True)
48
49 return result
50
MuonCalibRunLumiBlockCoolSvcCfg(flags, name='MuonCalibRunLumiBlockCoolSvc')
MuonCalibStreamFileInputSvcCfg(flags, name='MuonCalibStreamFileInputSvc')
MuonCalibStreamCnvSvcCfg(flags, name='MuonCalibStreamCnvSvc')
MuonCalibStreamDataProviderSvcCfg(flags, name='MuonCalibStreamDataProviderSvc')
EventSelectorMuonCalibStreamCfg(flags, name='EventSelectorMuonCalibStream')
MuonCalibStreamAddressProviderSvcCfg(flags, name='MuonCalibStreamAddressProviderSvc')