ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/VHbbDataFormats/bin/updater.py
Revision: 1.3
Committed: Thu Nov 10 00:01:40 2011 UTC (13 years, 6 months ago) by arizzi
Content type: text/x-python
Branch: MAIN
CVS Tags: AR_Nov10Ntuple
Changes since 1.2: +4 -3 lines
Log Message:
- 3D PU reweighting with latest recipe and targetting the full 2011B run period
- PU reweight fixed in 2011A against Fall11 MC
- run boundary handling to properly handle the two periods of 2011B
- factorized MET triggers
- events failing the "at least 2 jets pt > 20" are recovered with a pt15 cut (NB: the election of higest dijet is first done with 20GeV threshold, the 15 GeV is consiered only if the 20 fails)
- apply JER smearing by default
- add leptons generator info
- add jet by jet btag SF info
- add electron id80NoIso

File Contents

# User Rev Content
1 arizzi 1.1 import FWCore.ParameterSet.Types as CfgTypes
2     import FWCore.ParameterSet.Config as cms
3    
4     process = cms.Process("FWLitePlots")
5    
6     #fileNames = cms.vstring('file:2l2bMetEdmNtuples.root'), ## mandatory
7 arizzi 1.3 fname = "DiJetPt_TTJets_TuneZ2_7TeV-madgraph-tauola.root"
8 arizzi 1.1
9     process.fwliteInput = cms.PSet(
10     fileName = cms.string(fname),
11     PUmcfileName = cms.string("ttbarPU_36bins.root"),
12 arizzi 1.3 PUmcfileName2011B= cms.string("Summer11_Generated.root"),
13     PUdatafileName2011B = cms.string("Cert_175832-180252_PromptReco_JSON.pileupTruth_v2_finebin.root"),
14 arizzi 1.1 PUdatafileName = cms.string("Pileup_2011_to_173692_LPLumiScale_68mb_36bins.root"),
15 arizzi 1.3 Weight3DfileName = cms.string(""),
16 arizzi 1.1 maxEvents = cms.int32(-1), ## optional
17     skipEvents = cms.int32(0), ## optional
18     outputEvery = cms.uint32(0), ## optional
19     )
20    
21     fnameOut = "Updated_"+fname
22     process.fwliteOutput = cms.PSet(
23     fileName = cms.string(fnameOut),## mandatory
24     )
25    
26     process.Analyzer = cms.PSet(
27     replaceWeights = cms.bool(True),
28 arizzi 1.2 redoPU = cms.bool(True),
29 arizzi 1.1 idMuFileName = cms.string("ScaleEffs42.root"),
30     hltMuFileName = cms.string("ScaleFactor_muonEffsOnlyIsoToHLT2.2fb_efficiency.root"),
31     hltEle1FileName = cms.string("Ele17.root"),
32     hltEle2FileName = cms.string("Ele8NotEle17.root"),
33     hltEle1AugFileName = cms.string("Ele17Aug5PromptRecoV6.root"),
34     hltEle2AugFileName = cms.string("Ele8NotEle17Aug5PromptRecoV6.root"),
35     idEle80FileName = cms.string("PFElectronToWP80.root"),
36     idEle95FileName = cms.string("PFElectronToWP95.root"),
37     hltJetEle1FileName = cms.string("TriggerEfficiency_Jet30_PromptV4Aug05PromptV6.root"),
38     hltJetEle2FileName = cms.string("TriggerEfficiency_JetNo30_Jet25_PromptV4Aug05PromptV6.root"),
39     recoEleFileName = cms.string("EleReco.root"),
40     hltSingleEleMayFileName = cms.string("TriggerEfficiency_Electrons_May10.root"),
41     hltSingleEleV4FileName = cms.string("TriggerEfficiency_Electrons_PromptV4Aug05PromptV6.root"),
42     idEleFileName = cms.string("ScaleFactor_PFElectrons_DataMontecarlo.root"),
43     hltMuOr30FileName = cms.string("ScaleFactor_muonEffsIsoToHLT2.2fb_efficiency.root"),
44     btagEffFileName = cms.string("btag_generic.txt")
45     )
46    
47    
48    
49    
50