10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
15 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 from Campaigns.Utils
import Campaign
19 flags.Exec.MaxEvents = 1
20 flags.Input.isMC =
True
21 flags.IOVDb.DBConnection = f
'sqlite://;schema=${coolfile};dbname=OFLP200'
22 flags.IOVDb.GlobalTag =
'None'
23 flags.IOVDb.DatabaseInstance =
''
24 flags.Input.MCCampaign = Campaign.Unknown
35 from RegistrationServices.OutputConditionsAlgConfig
import OutputConditionsAlgCfg
36 cfg.merge (OutputConditionsAlgCfg (flags,
37 outputFile = poolfile,
38 ObjectList = corr_output_list,
40 IOVTagList = tag_list))
42 from IOVDbSvc.IOVDbSvcConfig
import IOVDbSvcCfg
43 cfg.merge (IOVDbSvcCfg (flags))
45 cfg.addService (CompFactory.IOVRegistrationSvc (writeKeyInfo =
False))