# instanciate explicitely the DetDescr manager here include("DetDescrCnvSvc/DetStore_joboptions.py") DetDescrCnvSvc = Service("DetDescrCnvSvc") DetDescrCnvSvc.DecodeIdDict = TRUE include("CaloIdCnv/CaloIdCnv_joboptions.py") include("G4Svc/jobOptions.G4Svc.py") # GeoModel initialization include("AtlasGeoModel/GeoModelCommon.py") theApp.ExtSvc += ["AtRndmGenSvc"] from AthenaServices.AthenaServicesConf import AtRndmGenSvc RndmGenSvc = AtRndmGenSvc() RndmGenSvc.Seeds = ["SINGLE 2040160768 443921183"] ServiceMgr += RndmGenSvc # OUTPUT PRINTOUT LEVEL # Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL ) # you can override this for individual modules if necessary MessageSvc = Service("MessageSvc") MessageSvc.OutputLevel = 3 #-------------------------------------------------------------- # Event related parameters #-------------------------------------------------------------- # Number of events to be processed (default is 10) theApp.EvtMax = 1 # ----------------- # -----------------
atMars.Seeds = [ "MARS 1 2", "MARSOFF OFFSET 73 1 2", "MARS_INIT 3 4", "TEST 5 6"]; ServiceMgr += atMars atLux = AtRanluxGenSvc() atLux.OutputLevel=VERBOSE atLux.UseOldBrokenSeeding=False atLux.EventReseeding=True atLux.Seeds = [ "LUX 1 2", "LUXOFF OFFSET 73 1 2", "LUX_INIT LUXURY 0 3 4", "TEST 5 6"]; ServiceMgr += atLux atRnd = AtRndmGenSvc() atRnd.OutputLevel=VERBOSE atRnd.UseOldBrokenSeeding=False atRnd.EventReseeding=True atRnd.ReseedStreamNames = [ "TEST", "RNDM", "RNDMOFF" ] atRnd.Seeds = [ "RNDM 11 12", "RNDMOFF OFFSET 73 11 12", "RNDM_INIT 13 14", "TEST 15 16"]; ServiceMgr += atRnd atLuxNN = AtRanluxGenSvc("LuxOld") atLuxNN.OutputLevel=VERBOSE atLuxNN.UseOldBrokenSeeding=True atLuxNN.EventReseeding=False atLuxNN.Seeds = [ "LUX 1 2", "LUX_INIT LUXURY 0 3 4", "TEST 5 6"]; ServiceMgr += atLuxNN atRndOR = AtRndmGenSvc("RndNoReseed") atRndOR.OutputLevel=VERBOSE atRndOR.UseOldBrokenSeeding=False atRndOR.EventReseeding=False atRndOR.Seeds = [ "RNDM 11 12", "RNDM_INIT 13 14", "TEST 15 16"]; ServiceMgr += atRndOR
atLux = AtRanluxGenSvc() atLux.OutputLevel = VERBOSE atLux.UseOldBrokenSeeding = False atLux.EventReseeding = True atLux.Seeds = [ "LUX 1 2", "LUXOFF OFFSET 73 1 2", "LUX_INIT LUXURY 0 3 4", "TEST 5 6" ] ServiceMgr += atLux atRnd = AtRndmGenSvc() atRnd.OutputLevel = VERBOSE atRnd.UseOldBrokenSeeding = False atRnd.EventReseeding = True atRnd.ReseedStreamNames = ["TEST", "RNDM", "RNDMOFF"] atRnd.Seeds = [ "RNDM 11 12", "RNDMOFF OFFSET 73 11 12", "RNDM_INIT 13 14", "TEST 15 16" ] ServiceMgr += atRnd atLuxNN = AtRanluxGenSvc("LuxOld") atLuxNN.OutputLevel = VERBOSE atLuxNN.UseOldBrokenSeeding = True atLuxNN.EventReseeding = False atLuxNN.Seeds = ["LUX 1 2", "LUX_INIT LUXURY 0 3 4", "TEST 5 6"] ServiceMgr += atLuxNN atRndOR = AtRndmGenSvc("RndNoReseed") atRndOR.OutputLevel = VERBOSE atRndOR.UseOldBrokenSeeding = False atRndOR.EventReseeding = False atRndOR.Seeds = ["RNDM 11 12", "RNDM_INIT 13 14", "TEST 15 16"]
#------------------------------------------------------------------------------ theApp.EvtMax = 100 ServiceMgr.EventSelector.RunNumber = 108524 ServiceMgr.EventSelector.FirstEvent = 1 #------------------------------------------------------------------------------ # Random seeds initialization #------------------------------------------------------------------------------ from AthenaServices.AthenaServicesConf import AtRndmGenSvc AtRndmGenSvc = AtRndmGenSvc() ServiceMgr += AtRndmGenSvc # See EvgenJobTransforms/Evgen_randomseeds.py AtRndmGenSvc.Seeds = ['PYTHIA 47898993 0', 'PYTHIA_INIT 820021 2347532'] #------------------------------------------------------------------------------ # Output level threshold: 1=VERBOSE 2=DEBUG 3=INFO 4=WARNING 5=ERROR 6=FATAL #------------------------------------------------------------------------------ ServiceMgr.MessageSvc.OutputLevel = INFO ServiceMgr.MessageSvc.defaultLimit = 9999999 # all messages #------------------------------------------------------------------------------ # HERE INCLUDE THE PRODUCTION JOB-OPTIONS FRAGMENT #------------------------------------------------------------------------------ include("MC11.108424.PythiaB_Bs_Jpsi_mu0mu0_phi_KK_nopTcuts_PhysAngles.py") # Set CMS energy