|
||||
File indexing completed on 2024-04-06 12:10:17
0001 0002 import FWCore.ParameterSet.Config as cms 0003 import RecoEgamma.EgammaTools.calibratedElectronProducer_cfi as _mod 0004 0005 #============================================================================== 0006 # corrected pat electrons 0007 #============================================================================== 0008 0009 calibratedElectrons = _mod.calibratedElectronProducer.clone( 0010 0011 # input collections 0012 inputElectronsTag = cms.InputTag('gsfElectrons'), 0013 # name of the ValueMaps containing the regression outputs 0014 nameEnergyReg = cms.InputTag('eleRegressionEnergy:eneRegForGsfEle'), 0015 nameEnergyErrorReg = cms.InputTag('eleRegressionEnergy:eneErrorRegForGsfEle'), 0016 0017 outputGsfElectronCollectionLabel = cms.string('calibratedGsfElectrons'), 0018 # For conveniency the ValueMaps are re-created with the new collection as key. The label of the ValueMap are defined below 0019 nameNewEnergyReg = cms.string('eneRegForGsfEle'), 0020 nameNewEnergyErrorReg = cms.string('eneErrorRegForGsfEle'), 0021 0022 # data or MC corrections 0023 # if isMC is false, data corrections are applied 0024 isMC = cms.bool(False), 0025 0026 # set to True to get more printout 0027 verbose = cms.bool(False), 0028 0029 # set to True to get special "fake" smearing for synchronization. Use JUST in case of synchronization 0030 synchronization = cms.bool(False), 0031 0032 updateEnergyError = cms.bool(True), 0033 0034 # define the type of the scale corrections 0035 # described in details here: 0036 # https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_resolu 0037 correctionsType = cms.int32(2), 0038 # Apply or not the linearity correction on data 0039 # Can only be applied with combinationType = 3 0040 applyLinearityCorrection = cms.bool(True), 0041 # define the type of the E-p combination 0042 # described in details here: 0043 # https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_resolu 0044 combinationType = cms.int32(3), 0045 0046 # this variable is used only for Moriond 2013 analysis with old regression 0047 # see https://twiki.cern.ch/twiki/bin/viewauth/CMS/EgammaElectronEnergyScale#Electron_energy_scale_and_re_AN1 0048 # for the meaning 0049 lumiRatio = cms.double(0.0), 0050 0051 # input datasets 0052 # Prompt means May10+Promptv4+Aug05+Promptv6 for 2011 0053 # ReReco means Jul05+Aug05+Oct03 for 2011 0054 # Jan16ReReco means Jan16 for 2011 0055 # Summer11 means summer11 MC 0056 # etc. 0057 inputDataset = cms.string("22Jan2013ReReco"), 0058 0059 # input pathes should be set accordingly to the combinationType and regressionType 0060 combinationRegressionInputPath = cms.string("EgammaAnalysis/ElectronTools/data/eleEnergyRegWeights_WithSubClusters_VApr15.root"), 0061 scaleCorrectionsInputPath = cms.string("EgammaAnalysis/ElectronTools/data/scalesNewReg-May2013.csv"), 0062 linearityCorrectionsInputPath = cms.string("EgammaAnalysis/ElectronTools/data/linearityNewReg-May2013.csv") 0063 ) 0064 0065
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |