Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 TTbarAnalyzeSpinCorr = cms.EDAnalyzer("TTbarSpinCorrHepMCAnalyzer",
00004 genEventInfoProductTag = cms.InputTag("generator"),
00005 genParticlesTag = cms.InputTag("genParticles")
00006 )
00007
00008 from GeneratorInterface.LHEInterface.lheCOMWeightProducer import *
00009 lheCOMWeightProducer.NewECMS = cms.double(8000)
00010
00011
00012 from TopQuarkAnalysis.TopEventProducers.sequences.ttGenEvent_cff import *
00013 decaySubset.fillMode = "kME"
00014 decaySubset.addRadiation = False
00015
00016
00017 analyzeTopKinematics = cms.EDAnalyzer('TTbar_Kinematics',
00018 SaveTree = cms.untracked.bool(False),
00019 genEventInfoProductTag = cms.InputTag("generator")
00020 )
00021
00022
00023 analyzeGenJets = cms.EDAnalyzer("TTbar_GenJetAnalyzer",
00024 jets = cms.InputTag('ak5GenJets' ),
00025 genEventInfoProductTag = cms.InputTag("generator")
00026 )
00027
00028
00029 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
00030
00031
00032
00033
00034 genParticlesShortList = cms.EDProducer("GenParticlePruner",
00035 src = cms.InputTag("genParticles",""),
00036 select = cms.vstring("drop * ",
00037 "keep pdgId = {mu+} & status = 1",
00038 "keep pdgId = {mu-} & status = 1",
00039 "keep pdgId = {e+} & status = 1",
00040 "keep pdgId = {e-} & status = 1",
00041 "keep pdgId = {nu_e} & status = 1",
00042 "keep pdgId = {nu_ebar} & status = 1",
00043 "keep pdgId = {nu_mu} & status = 1",
00044 "keep pdgId = {nu_mubar} & status = 1"
00045 )
00046 )
00047
00048
00049 genParticlesMuons = cms.EDProducer("GenParticlePruner",
00050 src = cms.InputTag("genParticlesShortList"),
00051 select = cms.vstring("drop * ",
00052 "keep pdgId = {mu+} & status = 1 & pt > 30 & abs(eta) < 2.5",
00053 "keep pdgId = {mu-} & status = 1 & pt > 30 & abs(eta) < 2.5"
00054 )
00055 )
00056
00057
00058 genParticlesElectrons = cms.EDProducer("GenParticlePruner",
00059 src = cms.InputTag("genParticlesShortList"),
00060 select = cms.vstring("drop * ",
00061 "keep pdgId = {e+} & status = 1 & pt > 30 & abs(eta) < 2.5",
00062 "keep pdgId = {e-} & status = 1 & pt > 30 & abs(eta) < 2.5"
00063 )
00064 )
00065
00066
00067 genParticlesNeutrinos = cms.EDProducer("GenParticlePruner",
00068 src = cms.InputTag("genParticlesShortList"),
00069 select = cms.vstring("drop * ",
00070 "keep pdgId = {nu_e} & status = 1",
00071 "keep pdgId = {nu_ebar} & status = 1",
00072 "keep pdgId = {nu_mu} & status = 1",
00073 "keep pdgId = {nu_mubar} & status = 1"
00074 )
00075 )
00076
00077
00078 analyzeGenMuons = cms.EDAnalyzer("TTbar_GenLepAnalyzer", leptons = cms.InputTag('genParticlesMuons' ))
00079 analyzeGenElecs = cms.EDAnalyzer("TTbar_GenLepAnalyzer", leptons = cms.InputTag('genParticlesElectrons' ))
00080 analyzeGenNtrns = cms.EDAnalyzer("TTbar_GenLepAnalyzer", leptons = cms.InputTag('genParticlesNeutrinos' ))
00081
00082
00083