diff --git a/Derviation/DerivationAlgs/share/run_streaming.py b/Derviation/DerivationAlgs/share/run_streaming.py index 7ec4d11aa0f18643dfc8ee12e8ebf11e12b29166..3ebacb7892ab51e1d2b5c775bae917dd9e4fa6c3 100644 --- a/Derviation/DerivationAlgs/share/run_streaming.py +++ b/Derviation/DerivationAlgs/share/run_streaming.py @@ -13,6 +13,7 @@ if __name__ == "__main__": from CalypsoConfiguration.MainServicesConfig import MainServicesCfg from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg from AthenaPoolCnvSvc.PoolWriteConfig import PoolWriteCfg + from FaserGeoModel.FaserGeoModelConfig import FaserGeometryCfg # Set up logging and new style config log.setLevel(DEBUG) @@ -42,6 +43,7 @@ if __name__ == "__main__": cfg = MainServicesCfg(ConfigFlags) cfg.merge(PoolReadCfg(ConfigFlags)) cfg.merge(PoolWriteCfg(ConfigFlags)) + cfg.merge(FaserGeometryCfg(ConfigFlags)) # Derivations @@ -75,12 +77,12 @@ if __name__ == "__main__": ) -# # Hack to avoid problem with our use of MC databases when isMC = False -# replicaSvc = acc.getService("DBReplicaSvc") -# replicaSvc.COOLSQLiteVetoPattern = "" -# replicaSvc.UseCOOLSQLite = True -# replicaSvc.UseCOOLFrontier = False -# replicaSvc.UseGeomSQLite = True + # Hack to avoid problem with our use of MC databases when isMC = False + replicaSvc = cfg.getService("DBReplicaSvc") + replicaSvc.COOLSQLiteVetoPattern = "" + replicaSvc.UseCOOLSQLite = True + replicaSvc.UseCOOLFrontier = False + replicaSvc.UseGeomSQLite = True # Execute and finish cfg.printConfig(withDetails = True, summariseProps = True, printDefaults = True)