3if __name__==
"__main__":
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
7 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
8 flags=initConfigFlags()
10 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
11 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
16 flags.IOVDb.DBConnection =
"COOLONL_LAR/CONDBR2"
20 cfg=MainServicesCfg(flags)
22 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
23 cfg.merge(McEventSelectorCfg(flags,
31 from IOVDbSvc.IOVDbSvcConfig
import addFolders
32 cfg.merge(addFolders(flags,
"/LAR/Align<tag>LARAlign-RUN2-UPD1-01</tag>"))
34 cfg.addEventAlgo(CompFactory.LArAlignDbAlg())
36 cfg.getService(
"PoolSvc").ReadCatalog += [
"xmlcatalog_file:/afs/cern.ch/atlas/conditions/poolcond/catalogue/poolcond/PoolCat_comcond.xml"]