Ejemplo n.º 1
0
from AthenaCommon.AppMgr import ServiceMgr
ServiceMgr.MessageSvc.OutputLevel = INFO

#from TruthExamples.TruthExamplesConf import *
from EvgenProdTools/EvgenProdToolsConfig import TestHepMC
from PyJobTransformsCore.runargs import *
runArgs = RunArguments()

outputFileName="RTT.MC12.108295.Herwigpp_UEEE3_CTEQ6L1_Zmumu.root"
print "Output file name: ", outputFileName

from AthenaCommon.AlgSequence import AlgSequence
topAlg = AlgSequence("TopAlg") 

from EvgenJobTransforms.EvgenConfig import *

# ----------------------------------------------------------------------
from AthenaServices.AthenaServicesConf import AtRndmGenSvc
ServiceMgr += AtRndmGenSvc()

# Add HepMCAnalysis algorithms
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file = outputFileName)
myHepMCAnalysis.JetAnalysis=True
myHepMCAnalysis.ZAnalysis=True
myHepMCAnalysis.EtmissAnalysis=True

topAlg += myHepMCAnalysis

# ----------------------------------------------------------------------
# JO file for RTT
# ----------------------------------------------------------------------

from AthenaCommon.AppMgr import ServiceMgr
ServiceMgr.MessageSvc.OutputLevel = INFO

from EvgenProdTools.EvgenProdToolsConf import *
from PyJobTransformsCore.runargs import *
runArgs = RunArguments()

outputFileName = "RTT_Pythia8_Ztautau_particle_content.root"
print "Output file name: ", outputFileName

from AthenaCommon.AlgSequence import AlgSequence
topAlg = AlgSequence("TopAlg")

from EvgenJobTransforms.EvgenConfig import *

# ----------------------------------------------------------------------
from AthenaServices.AthenaServicesConf import AtRndmGenSvc
ServiceMgr += AtRndmGenSvc()

# Add HepMCAnalysis algorithms
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file=outputFileName)
myHepMCAnalysis.ParticleContentAnalysis = True

topAlg += myHepMCAnalysis
job = AlgSequence()
from Pythia8_i.Pythia8_iConf import Pythia8_i

job += Pythia8_i()

include("pythia8.common.py")
include("pythia8.top.py")

#sj#from TruthExamples.TruthExamplesConf import DumpMC
#sj#job += DumpMC()

# start my own
#from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i",
                                  file='Pythia8_Process_ttbar_test.root')
#myHepMCAnalysis.JetAnalysis=True
#myHepMCAnalysis.WplusJetAnalysis=True
#myHepMCAnalysis.ZAnalysis=True
#myHepMCAnalysis.ZtautauAnalysis=True
#myHepMCAnalysis.WtaunuAnalysis=True
myHepMCAnalysis.ttbarAnalysis = True
#myHepMCAnalysis.bbbarAnalysis=True
#myHepMCAnalysis.UEAnalysis=True
#myHepMCAnalysis.EtmissAnalysis=True
#myHepMCAnalysis.ElasScatAnalysis=True
#myHepMCAnalysis.UserAnalysis=True

job += myHepMCAnalysis
# end my own
job = AlgSequence()
from Cascade_i.Cascade_iConf import Cascade

job += Cascade()

include("cascade.top.py")

from TruthExamples.TruthExamplesConf import DumpMC

job += DumpMC()

# start my own
#from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i",
                                  file='Cascade_Process_ttbar_test.root')
#myHepMCAnalysis.JetAnalysis=True
#myHepMCAnalysis.WplusJetAnalysis=True
#myHepMCAnalysis.ZAnalysis=True
#myHepMCAnalysis.ZtautauAnalysis=True
#myHepMCAnalysis.WtaunuAnalysis=True
myHepMCAnalysis.ttbarAnalysis = True
#myHepMCAnalysis.bbbarAnalysis=True
#myHepMCAnalysis.UEAnalysis=True
#myHepMCAnalysis.EtmissAnalysis=True
#myHepMCAnalysis.ElasScatAnalysis=True
#myHepMCAnalysis.UserAnalysis=True

job += myHepMCAnalysis
# end my own
Ejemplo n.º 5
0
from AthenaCommon.AppMgr import ServiceMgr

ServiceMgr.MessageSvc.OutputLevel = INFO

from TruthExamples.TruthExamplesConf import *
from PyJobTransformsCore.runargs import *

runArgs = RunArguments()

outputFileName = "file.root"
print "Output file name: ", outputFileName

from AthenaCommon.AlgSequence import AlgSequence

topAlg = AlgSequence("TopAlg")

from EvgenJobTransforms.EvgenConfig import *

# ----------------------------------------------------------------------
from AthenaServices.AthenaServicesConf import AtRndmGenSvc

ServiceMgr += AtRndmGenSvc()

# Add HepMCAnalysis algorithms
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file=outputFileName)

topAlg += myHepMCAnalysis
from AthenaCommon.AlgSequence import AlgSequence
job=AlgSequence()
from Pythia_i.Pythia_iConf import Pythia
job +=Pythia()

include("HepMCAnalysis_i/MC8_Pythia_Common_local_copy.py")
include("HepMCAnalysis_i/pythia6.DiJet.py")

#sj#from TruthExamples.TruthExamplesConf import DumpMC
#sj#job += DumpMC()

# start my own
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file = 'Pythia6_Process_Jet_test.root')
myHepMCAnalysis.JetAnalysis=True
#myHepMCAnalysis.WplusJetAnalysis=True
#myHepMCAnalysis.ZAnalysis=True
#myHepMCAnalysis.ZtautauAnalysis=True
#myHepMCAnalysis.WtaunuAnalysis=True
#myHepMCAnalysis.ttbarAnalysis=True
#myHepMCAnalysis.bbbarAnalysis=True
#myHepMCAnalysis.UEAnalysis=True
#myHepMCAnalysis.EtmissAnalysis=True
#myHepMCAnalysis.ElasScatAnalysis=True
#myHepMCAnalysis.UserAnalysis=True

job += myHepMCAnalysis
# end my own
# JO file for RTT
# ----------------------------------------------------------------------

from AthenaCommon.AppMgr import ServiceMgr
ServiceMgr.MessageSvc.OutputLevel = INFO

from EvgenProdTools.EvgenProdToolsConf import *
from PyJobTransformsCore.runargs import *
runArgs = RunArguments()

outputFileName = "RTT_Pythia8_Zee_lepton_jet.root"
print "Output file name: ", outputFileName

from AthenaCommon.AlgSequence import AlgSequence
topAlg = AlgSequence("TopAlg")

from EvgenJobTransforms.EvgenConfig import *

# ----------------------------------------------------------------------
from AthenaServices.AthenaServicesConf import AtRndmGenSvc
ServiceMgr += AtRndmGenSvc()

# Add HepMCAnalysis algorithms
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file=outputFileName)
myHepMCAnalysis.PdfAnalysis = True
myHepMCAnalysis.LeptonJetAnalysis = True

topAlg += myHepMCAnalysis
#herwigpp = job.Herwigpp
cmds = []

include("herwigpp.common.py")
include("herwigpp.DiJet.py")

job.Herwigpp.Commands += cmds

#sj#from TruthExamples.TruthExamplesConf import DumpMC
#sj#job += DumpMC()

# start my own
#from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i",
                                  file='Herwigpp_Process_Jet_test.root')
myHepMCAnalysis.JetAnalysis = True
#myHepMCAnalysis.WplusJetAnalysis=True
#myHepMCAnalysis.ZAnalysis=True
#myHepMCAnalysis.ZtautauAnalysis=True
#myHepMCAnalysis.WtaunuAnalysis=True
#myHepMCAnalysis.ttbarAnalysis=True
#myHepMCAnalysis.bbbarAnalysis=True
#myHepMCAnalysis.UEAnalysis=True
#myHepMCAnalysis.EtmissAnalysis=True
#myHepMCAnalysis.ElasScatAnalysis=True
#myHepMCAnalysis.UserAnalysis=True

job += myHepMCAnalysis
# end my own
Ejemplo n.º 9
0
from AthenaCommon.AlgSequence import AlgSequence
job=AlgSequence()

### include print MC
#from TruthExamples.TruthExamplesConf import PrintMC
#topSequence += PrintMC()

### include dump MC
#from TruthExamples.TruthExamplesConf import DumpMC
#job += DumpMC()

# start my own
#from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file = 'EvGen_test.root')
myHepMCAnalysis.JetAnalysis=False
myHepMCAnalysis.WplusJetAnalysis=False
myHepMCAnalysis.ZAnalysis=False
myHepMCAnalysis.ZtautauAnalysis=False
myHepMCAnalysis.WtaunuAnalysis=False
myHepMCAnalysis.ttbarAnalysis=False
myHepMCAnalysis.bbbarAnalysis=False
myHepMCAnalysis.UEAnalysis=False
myHepMCAnalysis.EtmissAnalysis=False
myHepMCAnalysis.ElasScatAnalysis=False
#myHepMCAnalysis.UserAnalysis=True

myHepMCAnalysis.ParticleContentAnalysis=True
myHepMCAnalysis.LeptonJetAnalysis=True
myHepMCAnalysis.PdfAnalysis=True
Ejemplo n.º 10
0
from AthenaCommon.AlgSequence import AlgSequence
job=AlgSequence()
from Herwig_i.Herwig_iConf import Herwig
job +=Herwig()

include("herwig.common_14TeV.py")
include("herwig.top.py")

#sj#from TruthExamples.TruthExamplesConf import DumpMC
#sj#job += DumpMC()

# start my own
#from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis
from HepMCAnalysis_i.HepMCAnalysis_iConfig import HepMCAnalysis_i

myHepMCAnalysis = HepMCAnalysis_i("HepMCAnalysis_i", file = 'Herwig_Process_ttbar_test.root')
#myHepMCAnalysis.JetAnalysis=True
#myHepMCAnalysis.WplusJetAnalysis=True
#myHepMCAnalysis.ZAnalysis=True
#myHepMCAnalysis.ZtautauAnalysis=True
#myHepMCAnalysis.WtaunuAnalysis=True
myHepMCAnalysis.ttbarAnalysis=True
#myHepMCAnalysis.bbbarAnalysis=True
#myHepMCAnalysis.UEAnalysis=True
#myHepMCAnalysis.EtmissAnalysis=True
#myHepMCAnalysis.ElasScatAnalysis=True
#myHepMCAnalysis.UserAnalysis=True

job += myHepMCAnalysis
# end my own