Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # HF RecoEcalCandidate Producer
0004 #Values for specific electron cuts and "DataBase" version/vector format below code
0005 hfRecoEcalCandidate = cms.EDProducer("HFRecoEcalCandidateProducer",
0006                                      e9e25Cut = cms.double(0.94),
0007                                      hfclusters = cms.InputTag("hfEMClusters"),
0008                                      VertexCollection = cms.InputTag("offlinePrimaryVertices"),
0009                                      intercept2DCut = cms.double(0.815),
0010                                      intercept2DSlope = cms.double(0.475),
0011                                      Correct = cms.bool(True),
0012                                      e1e9Cut= cms.vdouble(-1,99),
0013                                      eCOREe9Cut= cms.vdouble(-1,99),
0014                                      eSeLCut= cms.vdouble(-1,99),
0015                                      HFDBversion= cms.int32(1),
0016                                      HFDBvector=cms.vdouble(
0017                                                                       #energy corrections
0018                                                                     
0019                                                                       1.000,
0020                                                                       1.000,0.899,0.994,0.958,
0021                                                                       0.942,0.943,0.960,0.928,
0022                                                                       0.922,0.896,0.812,1.000,
0023                                                                       1.000,0.820,0.917,0.952,
0024                                                                       0.929,0.975,0.984,1.012,
0025                                                                       0.971,1.016,0.938,1.000,
0026                                                                       1.000,
0027 
0028                                                                       #start pile up slopes
0029                                                                       0.0,
0030                                                                       0.0,-0.0036, -0.0087,-0.0049,
0031                                                                       -0.0161,-0.0072,-0.0033,-0.0066,
0032                                                                       -0.0062,-0.0045,-0.0090,0.0,
0033                                                                       0.0,-0.0056,-0.0024,-0.0064,
0034                                                                       -0.0063,-0.0078,-0.0079,-0.0075,
0035                                                                       -0.0074,0.0009,-0.0180,0.0,
0036                                                                       0.0,
0037                                                                       #start pile up intercepts
0038                                                                       1.0,
0039                                                                       1.0,1.0565,1.0432,1.0714,
0040                                                                       1.1140,1.0908,1.0576,1.0821,
0041                                                                       1.0807,1.0885,1.1783,1.0,
0042                                                                       1.0,1.1570,1.0631,1.0401,
0043                                                                       1.0803,1.0506,1.0491,1.0235,
0044                                                                       1.0643,0.9910,1.0489,1.0,
0045                                                                       1.0)
0046                                      )
0047 
0048 #Electron Cuts
0049 ##                                       hard cut
0050 ##                                      intercept2DCut = cms.double(0.92),
0051 ##                                      intercept2DSlope = cms.double(0.20),
0052 
0053 ##                                      medium cut
0054 ##                                      intercept2DCut = cms.double(0.875),
0055 ##                                      intercept2DSlope = cms.double(0.275),
0056 
0057 ##                                      loose cut
0058 ##                                      intercept2DCut = cms.double(0.815),
0059 ##                                      intercept2DSlope = cms.double(0.475),
0060 
0061 
0062 ## "DataBase" vector guide:
0063 ## version 0: only energy correction, no pileup.
0064 ## version 1: energy correction AND pileup
0065 ##for parts of the vector that depend on ieta, they follow this pattern.
0066 ## -41,
0067 ## -40,-39,-38,-37,
0068 ## -36,-35,-34,-33,
0069 ## -32,-31,-30,-29,
0070 ##  29, 30, 31, 32,
0071 ##  33, 34, 35, 36,
0072 ##  37, 38, 39, 40,
0073 ##  41
0074 
0075