1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
5 genEventInfoProductTag = cms.InputTag(
"generator"),
6 genParticlesTag = cms.InputTag(
"genParticles")
10 lheCOMWeightProducer.NewECMS = cms.double(8000)
15 SaveTree = cms.untracked.bool(
False),
16 hepmcCollection = cms.InputTag(
"generatorSmeared"),
17 genEventInfoProductTag = cms.InputTag(
"generator")
22 jets = cms.InputTag(
'ak4GenJets' ),
23 genEventInfoProductTag = cms.InputTag(
"generator")
32 genParticlesShortList = cms.EDProducer(
"GenParticlePruner",
33 src = cms.InputTag(
"genParticles",
""),
34 select = cms.vstring(
"drop * ",
35 "keep pdgId = {mu+} & status = 1",
36 "keep pdgId = {mu-} & status = 1",
37 "keep pdgId = {e+} & status = 1",
38 "keep pdgId = {e-} & status = 1",
39 "keep pdgId = {nu_e} & status = 1",
40 "keep pdgId = {nu_ebar} & status = 1",
41 "keep pdgId = {nu_mu} & status = 1",
42 "keep pdgId = {nu_mubar} & status = 1"
47 genParticlesMuons = cms.EDProducer(
"GenParticlePruner",
48 src = cms.InputTag(
"genParticlesShortList"),
49 select = cms.vstring(
"drop * ",
50 "keep pdgId = {mu+} & status = 1 & pt > 30 & abs(eta) < 2.5",
51 "keep pdgId = {mu-} & status = 1 & pt > 30 & abs(eta) < 2.5"
56 genParticlesElectrons = cms.EDProducer(
"GenParticlePruner",
57 src = cms.InputTag(
"genParticlesShortList"),
58 select = cms.vstring(
"drop * ",
59 "keep pdgId = {e+} & status = 1 & pt > 30 & abs(eta) < 2.5",
60 "keep pdgId = {e-} & status = 1 & pt > 30 & abs(eta) < 2.5"
65 genParticlesNeutrinos = cms.EDProducer(
"GenParticlePruner",
66 src = cms.InputTag(
"genParticlesShortList"),
67 select = cms.vstring(
"drop * ",
68 "keep pdgId = {nu_e} & status = 1",
69 "keep pdgId = {nu_ebar} & status = 1",
70 "keep pdgId = {nu_mu} & status = 1",
71 "keep pdgId = {nu_mubar} & status = 1"
76 analyzeGenMuons =
DQMEDAnalyzer(
'TTbar_GenLepAnalyzer', leptons = cms.InputTag(
'genParticlesMuons' ))
77 analyzeGenElecs =
DQMEDAnalyzer(
'TTbar_GenLepAnalyzer', leptons = cms.InputTag(
'genParticlesElectrons' ))
78 analyzeGenNtrns =
DQMEDAnalyzer(
'TTbar_GenLepAnalyzer', leptons = cms.InputTag(
'genParticlesNeutrinos' ))