theApp.EvtMax = 20 from xAODEventInfoCnv.xAODEventInfoCreator import xAODMaker__EventInfoCnvAlg topSequence+=xAODMaker__EventInfoCnvAlg() #---------------------------------------------------------------------------------# # NEW Conditions access infrastructure # from IOVSvc.IOVSvcConf import CondInputLoader topSequence += CondInputLoader( "CondInputLoader", OutputLevel=DEBUG, ) import StoreGate.StoreGateConf as StoreGateConf svcMgr += StoreGateConf.StoreGateSvc("ConditionStore") from IOVSvc.IOVSvcConf import CondSvc svcMgr += CondSvc() # NEW Conditions access infrastructure #---------------------------------------------------------------------------------# # Make sure PerfMon is off include( "PerfMonGPerfTools/DisablePerfMon_jobOFragment.py" ) # Input file dataFile = "/afs/cern.ch/atlas/project/rig/referencefiles/MC/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.e3099_s2578/RDO.04919495._000958.pool.root.1" from AthenaCommon.AthenaCommonFlags import athenaCommonFlags athenaCommonFlags.FilesInput=[dataFile,dataFile] # AutoConfiguration from RecExConfig.RecFlags import rec rec.AutoConfiguration = ['everything']
# Read material step file import AthenaPoolCnvSvc.ReadAthenaPool ServiceMgr.EventSelector.InputCollections = ["MaterialStepFile.root"] from AthenaCommon.AlgScheduler import AlgScheduler AlgScheduler.OutputLevel( INFO ) AlgScheduler.ShowControlFlow( True ) AlgScheduler.ShowDataDependencies( True ) AlgScheduler.EnableConditions( True ) # AlgScheduler.setDataLoaderAlg( "SGInputLoader" ) from IOVSvc.IOVSvcConf import CondSvc svcMgr += CondSvc( OutputLevel=INFO ) # ServiceMgr += CfgMgr.THistSvc() # ServiceMgr.THistSvc.Output += ["MATTRACKVAL DATAFILE='MaterialTracks.root' OPT='RECREATE'"] # ServiceMgr.ToolSvc.OutputLevel = VERBOSE # Set up ACTS tracking geometry service from ActsGeometry.ActsGeometryConf import ActsTrackingGeometrySvc trkGeomSvc = ActsTrackingGeometrySvc() trkGeomSvc.OutputLevel = INFO trkGeomSvc.BarrelMaterialBins = [40, 60] # phi z trkGeomSvc.EndcapMaterialBins = [50, 20] # phi r trkGeomSvc.BuildSubDetectors = [ "Pixel", "SCT",
from StoreGate.StoreGateConf import SG__HiveMgrSvc # svcMgr.EventDataSvc.OutputLevel = INFO from GaudiHive.GaudiHiveConf import AlgResourcePool # svcMgr += AlgResourcePool( OutputLevel = INFO ); from AthenaCommon.AlgScheduler import AlgScheduler AlgScheduler.OutputLevel(INFO) AlgScheduler.ShowControlFlow(True) AlgScheduler.ShowDataDependencies(True) AlgScheduler.EnableConditions(True) AlgScheduler.setDataLoaderAlg("SGInputLoader") from IOVSvc.IOVSvcConf import CondSvc svcMgr += CondSvc(OutputLevel=VERBOSE) #-----------------------------------------------------------------------------# # ## Uncomment following to avoid long waits when segfaulting, ## and add "Root.Stacktrace: no" to your .rootrc file # # import ROOT # ROOT.SetSignalPolicy( ROOT.kSignalFast ) #-----------------------------------------------------------------------------# # from StoreGate.StoreGateConf import StoreGateSvc # theApp.CreateSvc += ["StoreGateSvc/ConditionStore"]
DetFlags.makeRIO.all_setOff() DetFlags.writeBS.all_setOff() DetFlags.readRDOBS.all_setOff() DetFlags.readRIOBS.all_setOff() DetFlags.readRIOPool.all_setOff() DetFlags.writeRIOPool.all_setOff() import AtlasGeoModel.SetGeometryVersion import AtlasGeoModel.GeoModelInit #-------------------------------------------------------------- # Load conditions services and alg #-------------------------------------------------------------- from IOVSvc.IOVSvcConf import CondSvc ServiceMgr += CondSvc() from AthenaCommon.AlgSequence import AthSequencer condSeq = AthSequencer("AthCondSeq") #-------------------------------------------------------------- # Load alg #-------------------------------------------------------------- from AthenaCommon.AlgSequence import AlgSequence job = AlgSequence() #-------------------------------------------------------------- # Load IOVDbSvc #-------------------------------------------------------------- IOVDbSvc = Service("IOVDbSvc")