CMS 3D CMS Logo

heepElectronID_HEEPV71_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
3 
4 # Common functions and classes for ID definition are imported here:
5 from RecoEgamma.ElectronIdentification.Identification.heepElectronID_tools import HEEP_WorkingPoint_V1,configureHEEPElectronID_V71
6 from RecoEgamma.ElectronIdentification.Identification.heepElectronID_HEEPV70_cff import WP_HEEP70_EB,WP_HEEP70_EE
7 import copy
8 #the same HEEP V70 but now has calo et cut of >5 GeV and isolation cut is relaxed vs calo et
9 
10 # The cut values for the Barrel and Endcap
11 idName = "heepElectronID-HEEPV71"
12 WP_HEEP71_EB = copy.deepcopy(WP_HEEP70_EB)
13 WP_HEEP71_EB.idName = str(idName)
14 WP_HEEP71_EE = copy.deepcopy(WP_HEEP70_EE)
15 WP_HEEP71_EE.idName = str(idName)
16 #
17 # Finally, set up VID configuration for all cuts
18 #
19 heepElectronID_HEEPV71 = configureHEEPElectronID_V71 (idName, WP_HEEP71_EB, WP_HEEP71_EE, 5. )
20 
21 #
22 # The MD5 sum numbers below reflect the exact set of cut variables
23 # and values above. If anything changes, one has to
24 # 1) comment out the lines below about the registry,
25 # 2) run "calculateMD5 <this file name> <one of the VID config names just above>
26 # 3) update the MD5 sum strings below and uncomment the lines again.
27 #
28 
29 #central_id_registry.register(heepElectronID_HEEPV71.idName,"49b6b60e9f16727f241eb34b9d345a8f")
30 heepElectronID_HEEPV71.isPOGApproved = cms.untracked.bool(True)
31 
#define str(s)