6def LArPulseShapeRunCfg(flags):
7
8 result=ComponentAccumulator()
9
10 from LArGeoAlgsNV.LArGMConfig import LArGMCfg
11 result.merge(LArGMCfg(flags))
12 from TileGeoModel.TileGMConfig import TileGMCfg
13 result.merge(TileGMCfg(flags))
14
15
16 from LArCabling.LArCablingConfig import LArOnOffIdMappingCfg
17 result.merge(LArOnOffIdMappingCfg(flags))
18
19 from LArByteStream.LArRawDataReadingConfig import LArRawDataReadingCfg
20 result.merge(LArRawDataReadingCfg(flags))
21
22 from TrigT1ResultByteStream.TrigT1ResultByteStreamConfig import L1TriggerByteStreamDecoderCfg
23 result.merge(L1TriggerByteStreamDecoderCfg(flags))
24
25 from TrigDecisionTool.TrigDecisionToolConfig import TrigDecisionToolCfg
26 tdt=result.getPrimaryAndMerge(TrigDecisionToolCfg(flags))
27
28
29 from xAODEventInfoCnv.xAODEventInfoCnvConfig import EventInfoCnvAlgCfg
30 result.merge(EventInfoCnvAlgCfg(flags, disableBeamSpot=True))
31
32 from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
33 result.merge(LuminosityCondAlgCfg(flags))
34
36 result.addService(CompFactory.NTupleSvc(Output=["PULSE DATAFILE='pulse_shape.root' OPT='RECREATE'",],OutputLevel=DEBUG))
37 result.setAppProperty("HistogramPersistency","ROOT")
38
39 result.addEventAlgo(CompFactory.LArPulseShape(TrigDecisionTool=tdt))
40
41 return result
42