CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hfRecoEcalCandidate_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # HF RecoEcalCandidate Producer
4 #Values for specific electron cuts and "DataBase" version/vector format below code
5 hfRecoEcalCandidate = cms.EDProducer("HFRecoEcalCandidateProducer",
6  e9e25Cut = cms.double(0.94),
7  hfclusters = cms.InputTag("hfEMClusters"),
8  VertexCollection = cms.InputTag("offlinePrimaryVertices"),
9  intercept2DCut = cms.double(0.815),
10  intercept2DSlope = cms.double(0.475),
11  Correct = cms.bool(True),
12  e1e9Cut= cms.vdouble(-1,99),
13  eCOREe9Cut= cms.vdouble(-1,99),
14  eSeLCut= cms.vdouble(-1,99),
15  HFDBversion= cms.int32(1),
16  HFDBvector=cms.vdouble(
17  #energy corrections
18 
19  1.000,
20  1.000,0.899,0.994,0.958,
21  0.942,0.943,0.960,0.928,
22  0.922,0.896,0.812,1.000,
23  1.000,0.820,0.917,0.952,
24  0.929,0.975,0.984,1.012,
25  0.971,1.016,0.938,1.000,
26  1.000,
27 
28  #start pile up slopes
29  0.0,
30  0.0,-0.0036, -0.0087,-0.0049,
31  -0.0161,-0.0072,-0.0033,-0.0066,
32  -0.0062,-0.0045,-0.0090,0.0,
33  0.0,-0.0056,-0.0024,-0.0064,
34  -0.0063,-0.0078,-0.0079,-0.0075,
35  -0.0074,0.0009,-0.0180,0.0,
36  0.0,
37  #start pile up intercepts
38  1.0,
39  1.0,1.0565,1.0432,1.0714,
40  1.1140,1.0908,1.0576,1.0821,
41  1.0807,1.0885,1.1783,1.0,
42  1.0,1.1570,1.0631,1.0401,
43  1.0803,1.0506,1.0491,1.0235,
44  1.0643,0.9910,1.0489,1.0,
45  1.0)
46  )
47 
48 #Electron Cuts
49 ## hard cut
50 ## intercept2DCut = cms.double(0.92),
51 ## intercept2DSlope = cms.double(0.20),
52 
53 ## medium cut
54 ## intercept2DCut = cms.double(0.875),
55 ## intercept2DSlope = cms.double(0.275),
56 
57 ## loose cut
58 ## intercept2DCut = cms.double(0.815),
59 ## intercept2DSlope = cms.double(0.475),
60 
61 
62 ## "DataBase" vector guide:
63 ## version 0: only energy correction, no pileup.
64 ## version 1: energy correction AND pileup
65 ##for parts of the vector that depend on ieta, they follow this pattern.
66 ## -41,
67 ## -40,-39,-38,-37,
68 ## -36,-35,-34,-33,
69 ## -32,-31,-30,-29,
70 ## 29, 30, 31, 32,
71 ## 33, 34, 35, 36,
72 ## 37, 38, 39, 40,
73 ## 41
74 
75