CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cutBasedElectronID_PHYS14_PU20bx25_V1_cff.py
Go to the documentation of this file.
1 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
2 
3 # Common functions and classes for ID definition are imported here:
5 
6 #
7 # This is the first version of PHYS14 cuts, optimized on PHYS14 samples.
8 #
9 # The ID cuts below are optimized IDs for PHYS14 Scenario PU 20, bx 25ns
10 # The cut values are taken from the twiki:
11 # https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedElectronIdentificationRun2
12 # (where they may not stay, if a newer version of cuts becomes available for these
13 # conditions)
14 # See also the presentation explaining these working points (this will not change):
15 # https://indico.cern.ch/event/292938/contribution/0/material/slides/1.pdf
16 
17 #
18 # First, define cut values
19 #
20 
21 # Veto working point Barrel and Endcap
22 idName = "cutBasedElectronID-PHYS14-PU20bx25-V1-standalone-veto"
23 WP_Veto_EB = EleWorkingPoint_V1(
24  idName , # idName
25  0.016315 , # dEtaInCut
26  0.252044 , # dPhiInCut
27  0.011100 , # full5x5_sigmaIEtaIEtaCut
28  0.345843 , # hOverECut
29  0.060279 , # dxyCut
30  0.800538 , # dzCut
31  0.248070 , # absEInverseMinusPInverseCut
32  0.164369 , # relCombIsolationWithDBetaLowPtCut
33  0.164369 , # relCombIsolationWithDBetaHighPtCut
34  # conversion veto cut needs no parameters, so not mentioned
35  2 # missingHitsCut
36  )
37 
38 WP_Veto_EE = EleWorkingPoint_V1(
39  idName , # idName
40  0.010671 , # dEtaInCut
41  0.245263 , # dPhiInCut
42  0.033987 , # full5x5_sigmaIEtaIEtaCut
43  0.134691 , # hOverECut
44  0.273097 , # dxyCut
45  0.885860 , # dzCut
46  0.157160 , # absEInverseMinusPInverseCut
47  0.212604 , # relCombIsolationWithDBetaLowPtCut
48  0.212604 , # relCombIsolationWithDBetaHighPtCut
49  # conversion veto cut needs no parameters, so not mentioned
50  3 # missingHitsCut
51  )
52 
53 # Loose working point Barrel and Endcap
54 idName = "cutBasedElectronID-PHYS14-PU20bx25-V1-standalone-loose"
55 WP_Loose_EB = EleWorkingPoint_V1(
56  idName , # idName
57  0.012442 , # dEtaInCut
58  0.072624 , # dPhiInCut
59  0.010557 , # full5x5_sigmaIEtaIEtaCut
60  0.121476 , # hOverECut
61  0.022664 , # dxyCut
62  0.173670 , # dzCut
63  0.221803 , # absEInverseMinusPInverseCut
64  0.120026 , # relCombIsolationWithDBetaLowPtCut
65  0.120026 , # relCombIsolationWithDBetaHighPtCut
66  # conversion veto cut needs no parameters, so not mentioned
67  1 # missingHitsCut
68  )
69 
70 WP_Loose_EE = EleWorkingPoint_V1(
71  idName , # idName
72  0.010654 , # dEtaInCut
73  0.145129 , # dPhiInCut
74  0.032602 , # full5x5_sigmaIEtaIEtaCut
75  0.131862 , # hOverECut
76  0.097358 , # dxyCut
77  0.198444 , # dzCut
78  0.142283 , # absEInverseMinusPInverseCut
79  0.162914 , # relCombIsolationWithDBetaLowPtCut
80  0.162914 , # relCombIsolationWithDBetaHighPtCut
81  # conversion veto cut needs no parameters, so not mentioned
82  1 # missingHitsCut
83  )
84 
85 # Medium working point Barrel and Endcap
86 idName = "cutBasedElectronID-PHYS14-PU20bx25-V1-standalone-medium"
87 WP_Medium_EB = EleWorkingPoint_V1(
88  idName , # idName
89  0.007641 , # dEtaInCut
90  0.032643 , # dPhiInCut
91  0.010399 , # full5x5_sigmaIEtaIEtaCut
92  0.060662 , # hOverECut
93  0.011811 , # dxyCut
94  0.070775 , # dzCut
95  0.153897 , # absEInverseMinusPInverseCut
96  0.097213 , # relCombIsolationWithDBetaLowPtCut
97  0.097213 , # relCombIsolationWithDBetaHighPtCut
98  # conversion veto cut needs no parameters, so not mentioned
99  1 # missingHitsCut
100  )
101 
102 WP_Medium_EE = EleWorkingPoint_V1(
103  idName , # idName
104  0.009285 , # dEtaInCut
105  0.042447 , # dPhiInCut
106  0.029524 , # full5x5_sigmaIEtaIEtaCut
107  0.104263 , # hOverECut
108  0.051682 , # dxyCut
109  0.180720 , # dzCut
110  0.137468 , # absEInverseMinusPInverseCut
111  0.116708 , # relCombIsolationWithDBetaLowPtCut
112  0.116708 , # relCombIsolationWithDBetaHighPtCut
113  # conversion veto cut needs no parameters, so not mentioned
114  1 # missingHitsCut
115  )
116 
117 # Tight working point Barrel and Endcap
118 idName = "cutBasedElectronID-PHYS14-PU20bx25-V1-standalone-tight"
119 WP_Tight_EB = EleWorkingPoint_V1(
120  idName , # idName
121  0.006574 , # dEtaInCut
122  0.022868 , # dPhiInCut
123  0.010181 , # full5x5_sigmaIEtaIEtaCut
124  0.037553 , # hOverECut
125  0.009924 , # dxyCut
126  0.015310 , # dzCut
127  0.131191 , # absEInverseMinusPInverseCut
128  0.074355 , # relCombIsolationWithDBetaLowPtCut
129  0.074355 , # relCombIsolationWithDBetaHighPtCut
130  # conversion veto cut needs no parameters, so not mentioned
131  1 # missingHitsCut
132  )
133 
134 WP_Tight_EE = EleWorkingPoint_V1(
135  idName , # idName
136  0.005681 , # dEtaInCut
137  0.032046 , # dPhiInCut
138  0.028766 , # full5x5_sigmaIEtaIEtaCut
139  0.081902 , # hOverECut
140  0.027261 , # dxyCut
141  0.147154 , # dzCut
142  0.106055 , # absEInverseMinusPInverseCut
143  0.090185 , # relCombIsolationWithDBetaLowPtCut
144  0.090185 , # relCombIsolationWithDBetaHighPtCut
145  # conversion veto cut needs no parameters, so not mentioned
146  1 # missingHitsCut
147  )
148 
149 #
150 # Set up VID configuration for all cuts and working points
151 #
152 
153 cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_veto = configureVIDCutBasedEleID_V1(WP_Veto_EB, WP_Veto_EE)
154 cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_loose = configureVIDCutBasedEleID_V1(WP_Loose_EB, WP_Loose_EE)
155 cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_medium = configureVIDCutBasedEleID_V1(WP_Medium_EB, WP_Medium_EE)
156 cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_tight = configureVIDCutBasedEleID_V1(WP_Tight_EB, WP_Tight_EE)
157 
158 
159 central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_veto.idName,
160  '23182e502012ea0c88986a0a6dae2ade')
161 central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_loose.idName,
162  '1ac79d48189ade31d89a2acc91f72cbf')
163 central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_medium.idName,
164  '08f53e341990e959ecf8e24cb0214f55')
165 central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V1_standalone_tight.idName,
166  '93e5e30a36f1fbdce074c110463481ab')