3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 """Set up to read from a muon calibration stream bytestream file
10 The function adds the components required to read events and metadata from
11 bytestream input. May be used to read events from a secondary input as well
15 flags: Job configuration flags
16 Fix the type_names for MDT, TGC and RPC in this configuration
19 MuonCalibStreamCnvSvcCfg
20 MuonCalibStreamDataProviderSvcCfg
21 MuonCalibStreamFileInputSvcCfg
22 MuonCalibStreamAddressProviderSvcCfg (comment out after changing from converter to alg)
23 EventSelectorMuonCalibStreamCfg
24 MuonCalibRunLumiBlockCoolSvcCfg (to be fixed)
27 A component accumulator fragment containing the components required to read
28 from Muon calibration stream bytestream data. Should be merged into main job configuration.
33 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg,MuonGeoModelCfg
37 from MuonCalibStreamCnvSvc.MuonCalibStreamCnvSvcConfig
import MuonCalibStreamCnvSvcCfg,\
38 MuonCalibStreamDataProviderSvcCfg,\
39 MuonCalibStreamFileInputSvcCfg,\
40 EventSelectorMuonCalibStreamCfg,\
41 MuonCalibRunLumiBlockCoolSvcCfg
45 event_persistency = CompFactory.EvtPersistencySvc(name=
"EventPersistencySvc", CnvServices=[
"MuonCalibStreamCnvSvc"])
46 result.addService(event_persistency)
50 result.setAppProperty(
"EvtSel",
"EventSelector")
64 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg,MuonGeoModelCfg
68 result.addEventAlgo(CompFactory.MuonCalibStreamTestAlg(name, **kwargs))
75 result.addEventAlgo(CompFactory.EventInfoCalibRawDataProvider(name, lb_from_cool =
False, **kwargs))
83 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg,MuonGeoModelCfg
87 result.addEventAlgo(CompFactory.MdtCalibRawDataProvider(name,**kwargs))
94 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg,MuonGeoModelCfg
98 result.addEventAlgo(CompFactory.RpcCalibRawDataProvider(name,**kwargs))
105 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg,MuonGeoModelCfg
109 result.addEventAlgo(CompFactory.TgcCalibRawDataProvider(name,**kwargs))