Skip to content

Commit

Permalink
store pdf weights
Browse files Browse the repository at this point in the history
  • Loading branch information
jhgoh committed Feb 12, 2014
1 parent 0263006 commit 0a7ec5a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Configuration/python/ntuple_template_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
fileName = cms.string("ntuple.root"),
)

pdfWeight = cms.EDProducer("PDFWeightsProducer")

from KrAFT.GenericNtuple.genericNtupleMaker_cfi import *
event.eventCounters = ["nEventsTotal", "nEventsClean", "nEventsPAT",]

Expand All @@ -35,7 +37,7 @@
nEventsNtupleElJets = cms.EDProducer("EventCountProducer")

ntupleSequenceElEl = cms.Sequence(
pileupWeight
pileupWeight + pdfWeight
+ nEventsNtupleElEl
+ jetUnc
+ goodMuons + goodElectrons * goodJets
Expand All @@ -44,7 +46,7 @@
)

ntupleSequenceMuMu = cms.Sequence(
pileupWeight
pileupWeight + pdfWeight
+ nEventsNtupleMuMu
+ jetUnc
+ goodMuons + goodElectrons * goodJets
Expand All @@ -53,7 +55,7 @@
)

ntupleSequenceMuEl = cms.Sequence(
pileupWeight
pileupWeight + pdfWeight
+ nEventsNtupleMuEl
+ jetUnc
+ goodMuons + goodElectrons * goodJets
Expand All @@ -62,7 +64,7 @@
)

ntupleSequenceMuJets = cms.Sequence(
pileupWeight
pileupWeight + pdfWeight
+ nEventsNtupleMuJets
+ jetUnc
+ goodMuons + goodElectrons * goodJets
Expand All @@ -71,7 +73,7 @@
)

ntupleSequenceElJets = cms.Sequence(
pileupWeight
pileupWeight + pdfWeight
+ nEventsNtupleElJets
+ jetUnc
+ goodMuons + goodElectrons * goodJets
Expand Down

0 comments on commit 0a7ec5a

Please sign in to comment.