1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
import FWCore.ParameterSet.Config as cms
import RecoEgamma.EgammaTools.calibratedPatElectronProducer_cfi as _mod
#==============================================================================
# corrected pat electrons
#==============================================================================
calibratedPatElectrons = _mod.calibratedPatElectronProducer.clone(
# input collections
inputPatElectronsTag = cms.InputTag("eleRegressionEnergy"),
#inputPatElectronsTag = cms.InputTag("cleanPatElectrons"),
# data or MC corrections
# if isMC is false, data corrections are applied
isMC = cms.bool(False),
# set to True to get more printout
verbose = cms.bool(False),
# set to True to get special "fake" smearing for synchronization. Use JUST in case of synchronization
synchronization = cms.bool(False),
updateEnergyError = cms.bool(True),
# define the type of the scale corrections
# described in details here:
# https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_resolu
correctionsType = cms.int32(2),
# Apply or not the linearity correction on data
# Can only be applied with combinationType = 3
applyLinearityCorrection = cms.bool(True),
# define the type of the E-p combination
# described in details here:
# https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_resolu
combinationType = cms.int32(3),
# this variable is used only for Moriond 2013 analysis with old regression
# see https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_re_AN1
# for the meaning
lumiRatio = cms.double(0.0),
# input datasets
# Prompt means May10+Promptv4+Aug05+Promptv6 for 2011
# ReReco means Jul05+Aug05+Oct03 for 2011
# Jan16ReReco means Jan16 for 2011
# Summer11 means summer11 MC
# etc.
inputDataset = cms.string("22Jan2013ReReco"),
# input pathes should be set accordingly to the combinationType and regressionType
combinationRegressionInputPath = cms.string("EgammaAnalysis/ElectronTools/data/eleEnergyRegWeights_WithSubClusters_VApr15.root"),
scaleCorrectionsInputPath = cms.string("EgammaAnalysis/ElectronTools/data/scalesNewReg-May2013.csv"),
linearityCorrectionsInputPath = cms.string("EgammaAnalysis/ElectronTools/data/linearityNewReg-May2013.csv")
)
|