CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PileupJetIDCutParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ###########################################################
4 ## Working points for the 81X training (completed in 80X with variable fixes)
5 ###########################################################
6 full_81x_chs_wp = cms.PSet(
7  #4 Eta Categories 0-2.5 2.5-2.75 2.75-3.0 3.0-5.0
8 
9  #Tight Id
10  Pt010_Tight = cms.vdouble( 0.69, -0.35, -0.26, -0.21),
11  Pt1020_Tight = cms.vdouble( 0.69, -0.35, -0.26, -0.21),
12  Pt2030_Tight = cms.vdouble( 0.69, -0.35, -0.26, -0.21),
13  Pt3040_Tight = cms.vdouble( 0.86, -0.10, -0.05, -0.01),
14  Pt4050_Tight = cms.vdouble( 0.86, -0.10, -0.05, -0.01),
15 
16  #Medium Id
17  Pt010_Medium = cms.vdouble( 0.18, -0.55, -0.42, -0.36),
18  Pt1020_Medium = cms.vdouble( 0.18, -0.55, -0.42, -0.36),
19  Pt2030_Medium = cms.vdouble( 0.18, -0.55, -0.42, -0.36),
20  Pt3040_Medium = cms.vdouble( 0.61, -0.35, -0.23, -0.17),
21  Pt4050_Medium = cms.vdouble( 0.61, -0.35, -0.23, -0.17),
22 
23  #Loose Id
24  Pt010_Loose = cms.vdouble(-0.97, -0.68, -0.53, -0.47),
25  Pt1020_Loose = cms.vdouble(-0.97, -0.68, -0.53, -0.47),
26  Pt2030_Loose = cms.vdouble(-0.97, -0.68, -0.53, -0.47),
27  Pt3040_Loose = cms.vdouble(-0.89, -0.52, -0.38, -0.30),
28  Pt4050_Loose = cms.vdouble(-0.89, -0.52, -0.38, -0.30)
29 )
30 
31 ###########################################################
32 ## Working points for the 102X training
33 ###########################################################
34 full_102x_chs_wp = full_81x_chs_wp.clone()
35 
36 ###########################################################
37 ## Working points for the 94X training
38 ###########################################################
39 full_94x_chs_wp = full_81x_chs_wp.clone()
40 
41 ##########################################################
42 ## Working points for the 106X UL17 training
43 ###########################################################
44 full_106x_UL17_chs_wp = cms.PSet(
45  # 4 Eta Categories 0-2.5 2.5-2.75 2.75-3.0 3.0-5.0
46  # 5 Pt Categories 0-10, 10-20, 20-30, 30-40, 40-50
47 
48  #Tight Id
49  Pt010_Tight = cms.vdouble( 0.77, 0.38, -0.31, -0.21),
50  Pt1020_Tight = cms.vdouble( 0.77, 0.38, -0.31, -0.21),
51  Pt2030_Tight = cms.vdouble( 0.90, 0.60, -0.12, -0.13),
52  Pt3040_Tight = cms.vdouble( 0.96, 0.82, 0.20, 0.09),
53  Pt4050_Tight = cms.vdouble( 0.98, 0.92, 0.47, 0.29),
54 
55  #Medium Id
56  Pt010_Medium = cms.vdouble( 0.26, -0.33, -0.54, -0.37),
57  Pt1020_Medium = cms.vdouble( 0.26, -0.33, -0.54, -0.37),
58  Pt2030_Medium = cms.vdouble( 0.68, -0.04, -0.43, -0.30),
59  Pt3040_Medium = cms.vdouble( 0.90, 0.36, -0.16, -0.09),
60  Pt4050_Medium = cms.vdouble( 0.96, 0.61, 0.14, 0.12),
61 
62  #Loose Id
63  Pt010_Loose = cms.vdouble(-0.95, -0.72, -0.68, -0.47),
64  Pt1020_Loose = cms.vdouble(-0.95, -0.72, -0.68, -0.47),
65  Pt2030_Loose = cms.vdouble(-0.88, -0.55, -0.60, -0.43),
66  Pt3040_Loose = cms.vdouble(-0.63, -0.18, -0.43, -0.24),
67  Pt4050_Loose = cms.vdouble(-0.19, 0.22, -0.13, -0.03)
68 )
69 
70 ##########################################################
71 ## Working points for the 106X UL18 training
72 ###########################################################
73 full_106x_UL18_chs_wp = full_106x_UL17_chs_wp.clone()
74 
75 ###########################################################
76 ## Working points for the 106X UL16 training
77 ###########################################################
78 full_106x_UL16_chs_wp = cms.PSet(
79  # 4 Eta Categories 0-2.5 2.5-2.75 2.75-3.0 3.0-5.0
80  # 5 Pt Categories 0-10, 10-20, 20-30, 30-40, 40-50
81 
82  #Tight Id
83  Pt010_Tight = cms.vdouble(0.71, -0.32, -0.30, -0.22),
84  Pt1020_Tight = cms.vdouble(0.71, -0.32, -0.30, -0.22),
85  Pt2030_Tight = cms.vdouble(0.87, -0.08, -0.16, -0.12),
86  Pt3040_Tight = cms.vdouble(0.94, 0.24, 0.05, 0.10),
87  Pt4050_Tight = cms.vdouble(0.97, 0.48, 0.26, 0.29),
88 
89  #Medium Id
90  Pt010_Medium = cms.vdouble(0.20, -0.56, -0.43, -0.38),
91  Pt1020_Medium = cms.vdouble(0.20, -0.56, -0.43, -0.38),
92  Pt2030_Medium = cms.vdouble(0.62, -0.39, -0.32, -0.29),
93  Pt3040_Medium = cms.vdouble(0.86, -0.10, -0.15, -0.08),
94  Pt4050_Medium = cms.vdouble(0.93, 0.19, 0.04, 0.12),
95 
96  #Loose Id
97  Pt010_Loose = cms.vdouble(-0.95, -0.70, -0.52, -0.49),
98  Pt1020_Loose = cms.vdouble(-0.95, -0.70, -0.52, -0.49),
99  Pt2030_Loose = cms.vdouble(-0.90, -0.57, -0.43, -0.42),
100  Pt3040_Loose = cms.vdouble(-0.71, -0.36, -0.29, -0.23),
101  Pt4050_Loose = cms.vdouble(-0.42, -0.09, -0.14, -0.02),
102 )
103 
104 ##########################################################
105 ## Working points for the 106X UL16 APV training
106 ###########################################################
107 full_106x_UL16APV_chs_wp = full_106x_UL16_chs_wp.clone()
108 
109 #########################################################
110 ## Empty cutbased WP for compatibility
111 ###########################################################
112 EmptyCutBased_wp = cms.PSet()
113 #4 Eta Categories 0-2.5 2.5-2.75 2.75-3.0 3.0-5.0
114 for pt in ["010", "1020", "2030", "3040", "4050"]:
115  for tp in ["BetaStar", "RMS"]:
116  for wp in ["Loose", "Medium", "Tight"]:
117  setattr(EmptyCutBased_wp, "Pt" + pt + "_" + tp + wp, cms.vdouble(-999.,-999.,-999.,-999.))