Angular analysis of B+->K*+(K+pi0)mumu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.9 KiB

  1. #
  2. # Options specific for a given job
  3. # ie. setting of random number seed and name of output files
  4. #
  5. event_type = "12113100" #SigMC
  6. #event_type = "12143401" #RefMC
  7. #event_type = "12113446" #PHSP
  8. from Gauss.Configuration import *
  9. importOptions("$APPCONFIGOPTS/Gauss/Beam6500GeV-md100-2017-nu1.6.py")
  10. importOptions("$DECFILESROOT/options/"+event_type+".py")
  11. importOptions("$LBPYTHIA8ROOT/options/Pythia8.py")
  12. #--Generator phase, set random numbers
  13. GaussGen = GenInit("GaussGen")
  14. GaussGen.FirstEventNumber = 1
  15. GaussGen.RunNumber = 1234
  16. #--Number of events
  17. LHCbApp().EvtMax = 100000
  18. LHCbApp().DDDBtag = 'dddb-20170721-3'
  19. LHCbApp().CondDBtag = 'sim-20170721-2-vc-md100'
  20. LHCbApp().OutputLevel = WARNING
  21. MessageSvc().OutputLevel = WARNING
  22. #Gauss().OutputType = 'NONE'
  23. #Gauss().Histograms = 'NONE'
  24. #--Set name of output files for given job (uncomment the lines)
  25. # Note that if you do not set it Gauss will make a name based on event type,
  26. # number of events and the date
  27. #idFile = 'GaussTest'
  28. #HistogramPersistencySvc().OutputFile = idFile+'-histos.root'
  29. #
  30. #OutputStream("GaussTape").Output = "DATAFILE='PFN:%s.sim' TYP='POOL_ROOTTREE' OPT='RECREATE'"%idFile
  31. #GenMonitor = GaudiSequencer( "GenMonitor" )
  32. #SimMonitor = GaudiSequencer( "SimMonitor" )
  33. #GenMonitor.Members += [ "GaussMonitor::CheckLifeTimeHepMC/HepMCLifeTime" ]
  34. #SimMonitor.Members += [ "GaussMonitor::CheckLifeTimeMC/MCLifeTime" ]
  35. gtos = GenerationToSimulation()
  36. gtos.SkipGeant = True
  37. gs = GaudiSequencer("GenMonitor")
  38. MCTruthStream = OutputStream("MCTruthStream")
  39. MCTruthStream.ItemList += [ "/Event/Gen#1", "/Event/Gen/HepMCEvents#1", "/Event/MC#1", "/Event/MC/Header#1", "/Event/MC/Particles#1", "/Event/MC/Vertices#1" ]
  40. MCTruthStream.Output = "DATAFILE='MCTruth.sim' TYP='POOL_ROOTTREE' OPT='RECREATE'"
  41. gs.Members += [ SimInit(), gtos, MCTruthStream ]
  42. Gauss().Phases = ["Generator"]
  43. #Gauss().Phases = ["Generator","GenToMCTree"]
  44. Gauss().OutputType = 'NONE'
  45. Gauss().Histograms = 'NONE'