from RecExConfig.RecFlags import rec from AthenaCommon.BeamFlags import jobproperties from AthenaCommon.AthenaCommonFlags import athenaCommonFlags from AthenaCommon.GlobalFlags import globalflags jobproperties.Beam.beamType.set_Value_and_Lock("cosmics") #Minimally required flags for commissioning include("RecExCommission/MinimalCommissioningSetup.py") athenaCommonFlags.PoolESDInput.set_Value_and_Lock(['TAG.root']) rec.Commissioning.set_Value_and_Lock(True) # choose what detector to turn on: rec.doInDet.set_Value_and_Lock(True) rec.doLArg.set_Value_and_Lock(True) rec.doTile.set_Value_and_Lock(True) rec.doMuon.set_Value_and_Lock(True) rec.doMuonCombined.set_Value_and_Lock(True) rec.doTrigger.set_Value_and_Lock(False) # Solenoid OFF, toroid ON globalflags.DetDescrVersion.set_Value_and_Lock('ATLAS-GEO-03-00-00') from AthenaCommon.BFieldFlags import jobproperties jobproperties.BField.solenoidOn=True jobproperties.BField.barrelToroidOn=True jobproperties.BField.endcapToroidOn=True from LArConditionsCommon.LArCondFlags import larCondFlags larCondFlags.LArCoolChannelSelection="3:238,306,313,319,325,331,338,344,350,1001:1012,1021,1022" #ATLASCosmicFlags.doLAr3nsOFCs = True larCondFlags.OFCShapeFolder='5samples3bins17phases' #Database #ATLASCosmicFlags.IOVDbSvcGlobalTagData = 'COMCOND-ES1C-000-00' globalflags.ConditionsTag.set_Value_and_Lock('COMCOND-ES1C-000-00') #globalflags.DetDescrVersion.set_Value_and_Lock('ATLAS-GEO-04-00-00') #globalflags.ConditionsTag.set_Value_and_Lock('COMCOND-ES1C-000-00') # for running over data with field on need this to be setto true #from AthenaCommon.BFieldFlags import jobproperties #jobproperties.BField.solenoidOn.set_Value_and_Lock(False) #jobproperties.BField.barrelToroidOn.set_Value_and_Lock(True) #jobproperties.BField.endcapToroidOn.set_Value_and_Lock(True) #hardcoded output specification (corresponds to optional flags from runArgs in transform skeleton) rec.RootNtupleOutput.set_Value_and_Lock("newcommission.ntuple.root") #rec.RootHistoOutput.set_Value_and_Lock("monitoring.root") athenaCommonFlags.EvtMax.set_Value_and_Lock(10) #athenaCommonFlags.SkipEvents = 0 rec.doJiveXML.set_Value_and_Lock(True) athenaCommonFlags.PoolInputQuery.set_Value_and_Lock("PixelTracks==1&&SCTTracks==1&&TRTTracks==1&&TileMuonFitter>0&&MooreTracks>0&&ConvertedMBoyTracks>0") #uncomment to do egamma #rec.doEgamma.set_Value_and_Lock(True) #from egammaRec.egammaRecFlags import jobproperties #jobproperties.egammaRecFlags.Enabled.set_Value_and_Lock(True) #but not others rec.doJetMissingETTag.set_Value_and_Lock(False) from JetRec.JetRecFlags import jetFlags jetFlags.Enabled.set_Value_and_Lock(False) from RecExConfig.RecAlgsFlags import recAlgs recAlgs.doMissingET.set_Value_and_Lock(False) rec.doTau.set_Value_and_Lock(False) recAlgs.doMuonSpShower.set_Value_and_Lock(False) rec.doHist.set_Value_and_Lock(False) rec.doCBNT.set_Value_and_Lock(False) rec.doWriteTAGCOM.set_Value_and_Lock(False) rec.doWriteTAG.set_Value_and_Lock(False) rec.doWriteAOD.set_Value_and_Lock(False) rec.doAOD.set_Value_and_Lock(False) rec.doMonitoring.set_Value_and_Lock(False) rec.readESD.set_Value_and_Lock(True) rec.doESD.set_Value_and_Lock(False) rec.doWriteESD.set_Value_and_Lock(False) globalflags.InputFormat.set_Value_and_Lock('pool') if not 'Debug' in dir(): Debug=False # change to True to have printout information if Debug: # DEBUG/VERBOSE options # rec.doNameAuditor=True rec.doPerfMon=True rec.doDetailedPerfMon=True rec.doDumpProperties=True # rec.doDumpTES=True rec.OutputLevel = DEBUG # the main jobOpt include("RecExCommission/RecExCommission.py") from AthenaMonitoring.DQMonFlags import DQMonFlags DQMonFlags.monType='BS_ESD' DQMonFlags.histogramFile.set_Value_and_Lock( "myMonitoringESD.root" ) include ("RecExCommon/RecExCommon_topOptions.py") svcMgr.EventSelector.CollectionType="ExplicitROOT" svcMgr.EventSelector.Query=athenaCommonFlags.PoolInputQuery()