cms.PSet( cutName = cms.string('GsfEleDxyCut'), dxyCutValueEB = cms.double(0.02), dxyCutValueEE = cms.double(0.05), vertexSrc = cms.InputTag("offlinePrimaryVertices"), vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(True), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleMissingHitsCut'), maxMissingHitsEB = cms.uint32(1), maxMissingHitsEE = cms.uint32(1), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleDzCut'), dzCutValueEB = cms.double(0.1), dzCutValueEE = cms.double(0.1), vertexSrc = cms.InputTag("offlinePrimaryVertices"), vertexSrcMiniAOD = cms.InputTag("offlineSlimmedPrimaryVertices"), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(True), isIgnored = cms.bool(True)) ) ) central_id_registry.register(heepElectronID_HEEPV50_CSA14_25ns.idName, 'bed2a5c57a7cc8c99035db42a9f2c3db')
# This MVA uses conversion info, so configure several data items on that beamSpot = cms.InputTag('offlineBeamSpot'), conversionsAOD = cms.InputTag('allConversions'), conversionsMiniAOD = cms.InputTag('reducedEgamma:reducedConversions'), # weightFileNames = mvaSpring16WeightFiles_V1 ) # Create the VPset's for VID cuts mvaEleID_Spring16_V1_wpLoose = configureVIDMVAEleID_V1( MVA_WPLoose ) mvaEleID_Spring16_V1_wp90 = configureVIDMVAEleID_V1( MVA_WP90 ) mvaEleID_Spring16_V1_wp80 = configureVIDMVAEleID_V1( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring16_V1_wpLoose.idName, '10ff36834c4342110d84ea2350a1229c') central_id_registry.register(mvaEleID_Spring16_V1_wp90.idName, '104fdc160eefe9eae7338601c02ed4bb') central_id_registry.register(mvaEleID_Spring16_V1_wp80.idName, '103c47ceaea0fa687b8bd6d880eb4957') mvaEleID_Spring16_V1_wpLoose.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring16_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring16_V1_wp80.isPOGApproved = cms.untracked.bool(True)
# phoIsolationMapName "photonIDValueMapProducer:phoPhotonIsolation" , # phoIsolationEffAreas "RecoEgamma/PhotonIdentification/data/Spring15/effAreaPhotons_cone03_pfPhotons_50ns.txt" ) # # Finally, set up VID configuration for all cuts # cutBasedPhotonID_Spring15_50ns_V1_standalone_loose = configureVIDCutBasedPhoID_V3 ( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedPhotonID_Spring15_50ns_V1_standalone_medium = configureVIDCutBasedPhoID_V3 ( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedPhotonID_Spring15_50ns_V1_standalone_tight = configureVIDCutBasedPhoID_V3 ( WP_Tight_EB, WP_Tight_EE, isoInputs) ## The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_loose.idName, '3d50a36a9fe1a807fefffe0e6712210a') central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_medium.idName, '63a4ab695fabdae62764db5c55f57b10') central_id_registry.register(cutBasedPhotonID_Spring15_50ns_V1_standalone_tight.idName, 'cb046b1400392c9f5db251b5316a87cb') cutBasedPhotonID_Spring15_50ns_V1_standalone_loose.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Spring15_50ns_V1_standalone_medium.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Spring15_50ns_V1_standalone_tight.isPOGApproved = cms.untracked.bool(True)
WP_Veto_EB, WP_Veto_EE, isoEffAreas) cutBasedElectronID_Fall17_94X_V2_loose = configureVIDCutBasedEleID_V5( WP_Loose_EB, WP_Loose_EE, isoEffAreas) cutBasedElectronID_Fall17_94X_V2_medium = configureVIDCutBasedEleID_V5( WP_Medium_EB, WP_Medium_EE, isoEffAreas) cutBasedElectronID_Fall17_94X_V2_tight = configureVIDCutBasedEleID_V5( WP_Tight_EB, WP_Tight_EE, isoEffAreas) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry and the isPOGApproved lines, # 2) run "calculateIdMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronID_Fall17_94X_V2_veto.idName, '74e217e3ece16b49bd337026a29fc3e9') central_id_registry.register(cutBasedElectronID_Fall17_94X_V2_loose.idName, '5547e2c8b5c222192519c41bff05bc2e') central_id_registry.register(cutBasedElectronID_Fall17_94X_V2_medium.idName, '48702f025a8df2c527f53927af8b66d0') central_id_registry.register(cutBasedElectronID_Fall17_94X_V2_tight.idName, 'c06761e199f084f5b0f7868ac48a3e19') ### for now until we have a database... cutBasedElectronID_Fall17_94X_V2_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V2_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V2_medium.isPOGApproved = cms.untracked.bool( True) cutBasedElectronID_Fall17_94X_V2_tight.isPOGApproved = cms.untracked.bool(True)
cutBasedMuonId_MuonPOG_V0_soft = cms.PSet( idName=cms.string("cutBasedMuonId-MuonPOG-V0-soft"), isPOGApproved=cms.untracked.bool(True), cutFlow=cms.VPSet( cms.PSet(cutName=cms.string("MuonPOGStandardCut"), idName=cms.string("soft"), vertexSrc=cms.InputTag("offlinePrimaryVertices"), needsAdditionalProducts=cms.bool(True), isIgnored=cms.bool(False)), )) cutBasedMuonId_MuonPOG_V0_highpt = cms.PSet( idName=cms.string("cutBasedMuonId-MuonPOG-V0-highpt"), isPOGApproved=cms.untracked.bool(True), cutFlow=cms.VPSet( cms.PSet(cutName=cms.string("MuonPOGStandardCut"), idName=cms.string("highpt"), vertexSrc=cms.InputTag("offlinePrimaryVertices"), needsAdditionalProducts=cms.bool(True), isIgnored=cms.bool(False)), )) central_id_registry.register(cutBasedMuonId_MuonPOG_V0_loose.idName, '2e3bc4052d5d56c437b9285185f42ed9') central_id_registry.register(cutBasedMuonId_MuonPOG_V0_medium.idName, 'd32c5dcaba417ed7ea85c5e2bd7dacb4') central_id_registry.register(cutBasedMuonId_MuonPOG_V0_tight.idName, '0437a4837f36ede6837c68e2369820b1') central_id_registry.register(cutBasedMuonId_MuonPOG_V0_soft.idName, 'b32cfe957062d29291b325ad34841caf') central_id_registry.register(cutBasedMuonId_MuonPOG_V0_highpt.idName, '0cab98049677819d3e7ddf54ed3922f7')
# Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring15_25ns_nonTrig_V1_producer_config = cms.PSet( mvaName = cms.string(mvaSpring15NonTrigClassName), mvaTag = cms.string(mvaTag), # This MVA uses conversion info, so configure several data items on that beamSpot = cms.InputTag('offlineBeamSpot'), conversionsAOD = cms.InputTag('allConversions'), conversionsMiniAOD = cms.InputTag('reducedEgamma:reducedConversions'), # weightFileNames = mvaSpring15NonTrigWeightFiles_V1 ) # Create the VPset's for VID cuts mvaEleID_Spring15_25ns_nonTrig_V1_wp90 = configureVIDMVAEleID_V1( MVA_WP90 ) mvaEleID_Spring15_25ns_nonTrig_V1_wp80 = configureVIDMVAEleID_V1( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp90.idName, 'ac4fdc160eefe9eae7338601c02ed4bb') central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp80.idName, '113c47ceaea0fa687b8bd6d880eb4957') mvaEleID_Spring15_25ns_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring15_25ns_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
} """ string_value = """ double value(const reco::CandidatePtr& obj) const override final { return obj->pt(); } """ trivialCutFlow = cms.PSet(idName=cms.string("trivialCutFlow"), cutFlow=cms.VPSet( cms.PSet(cutName=cms.string("MinPtCut"), minPt=cms.double(10.0), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False)), cms.PSet(cutName=cms.string("MaxAbsEtaCut"), maxEta=cms.double(2.5), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False)), cms.PSet( cutName=cms.string("ExpressionEvaluatorCut"), realCutName=cms.string("StringMinPtCut"), candidateType=cms.string("NONE"), functionDef=cms.string(string_func), valueDef=cms.string(string_value), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False)))) central_id_registry.register(trivialCutFlow.idName, '406a42716bb40f14256446a98e25c1de')
# # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config = cms.PSet( mvaName=cms.string(mvaPhys14NonTrigClassName), mvaTag=cms.string(mvaTag), weightFileNames=mvaPhys14NonTrigWeightFiles_V1) # Create the VPset's for VID cuts mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80 = configureVIDMVAEleID_V1(MVA_WP80) mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAEleID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80.idName, '768465d41956da069c83bf245398d5e6') central_id_registry.register(mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, '7d091368510c32f0ab29a53323cae95a') mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool( False) mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool( False)
"RecoEgamma/PhotonIdentification/data/Fall17/effAreaPhotons_cone03_pfPhotons_90percentBased_TrueVtx.txt" ) # # Finally, set up VID configuration for all cuts # cutBasedPhotonID_Fall17_94X_V1_loose = configureVIDCutBasedPhoID_V5( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedPhotonID_Fall17_94X_V1_medium = configureVIDCutBasedPhoID_V5( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedPhotonID_Fall17_94X_V1_tight = configureVIDCutBasedPhoID_V5( WP_Tight_EB, WP_Tight_EE, isoInputs) ## The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_loose.idName, '45515ee95e01fa36972ff7ba69186c97') central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_medium.idName, '772f7921fa146b630e4dbe79e475a421') central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_tight.idName, 'e260fee6f9011fb13ff56d45cccd21c5') cutBasedPhotonID_Fall17_94X_V1_loose.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Fall17_94X_V1_medium.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Fall17_94X_V1_tight.isPOGApproved = cms.untracked.bool(True)
# All the value maps: these are expected to be produced by the # PhotonIDValueMapProducer running upstream # full5x5SigmaIEtaIEtaMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap = cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation = cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho = cms.InputTag("fixedGridRhoFastjetAll") ) # Create the VPset's for VID cuts mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, '6919edf9f82a78f675d9dec796fd5fab')
# cutBasedElectronID_Summer16_80X_V1_veto = configureVIDCutBasedEleID_V3(WP_Veto_EB, WP_Veto_EE, isoInputs) cutBasedElectronID_Summer16_80X_V1_loose = configureVIDCutBasedEleID_V3(WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_Summer16_80X_V1_medium = configureVIDCutBasedEleID_V3(WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedElectronID_Summer16_80X_V1_tight = configureVIDCutBasedEleID_V3(WP_Tight_EB, WP_Tight_EE, isoInputs) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_veto.idName, '0025c1841da1ab64a08d703ded72409b') central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_loose.idName, 'c1c4c739f1ba0791d40168c123183475') central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_medium.idName, '71b43f74a27d2fd3d27416afd22e8692') central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_tight.idName, 'ca2a9db2976d80ba2c13f9bfccdc32f2') ### for now until we have a database... cutBasedElectronID_Summer16_80X_V1_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Summer16_80X_V1_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Summer16_80X_V1_medium.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Summer16_80X_V1_tight.isPOGApproved = cms.untracked.bool(True)
# full5x5SigmaIEtaIEtaMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap = cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation = cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho = cms.InputTag("fixedGridRhoFastjetAll") ) # Create the VPset's for VID cuts mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, '6919edf9f82a78f675d9dec796fd5fab') mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True)
isoCutEEHighPt = cms.double(0.208), isRelativeIso = cms.bool(True), deltaBetaConstant = cms.double(0.5), ptCutOff = cms.double(20.0), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleConversionVetoCut'), conversionSrc = cms.InputTag('allConversions'), conversionSrcMiniAOD = cms.InputTag('reducedEgamma:reducedConversions'), beamspotSrc = cms.InputTag('offlineBeamSpot'), needsAdditionalProducts = cms.bool(True), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleMissingHitsCut'), maxMissingHitsEB = cms.uint32(1), maxMissingHitsEE = cms.uint32(1), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)) ) ) central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_veto.idName, 'b586fcaf622b62aba7c4f116b124acdd') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_loose.idName, '1cbd1e330465a9a4a162919a43e7153d') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_medium.idName, '5b5feed01e73f3eaf1d04a0b08df5f16') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_tight.idName, '0d43744e2356c476d9551638fb4434f1')
'photonIDValueMapProducer:phoNeutralHadronIsolation' , # neuHadIsolationEffAreas "EgammaAnalysis/PhotonTools/data/PHYS14/effAreaPhotons_cone03_pfNeutralHadrons.txt" , # phoIsolationMapName "photonIDValueMapProducer:phoPhotonIsolation" , # phoIsolationEffAreas "EgammaAnalysis/PhotonTools/data/PHYS14/effAreaPhotons_cone03_pfPhotons.txt" ) # # Finally, set up VID configuration for all cuts # cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_loose = configureVIDCutBasedPhoID_V1 ( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_medium = configureVIDCutBasedPhoID_V1 ( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_tight = configureVIDCutBasedPhoID_V1 ( WP_Tight_EB, WP_Tight_EE, isoInputs) # # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_loose.idName, '28dabb0be297b7a5eb26df8ffeef22b9') central_id_registry.register(cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_medium.idName, 'd3d464d7b45f94f3944de95a1c0f498e') central_id_registry.register(cutBasedPhotonID_PHYS14_PU20bx25_V1_standalone_tight.idName, 'c61288dd4defe947df67dafc2e868d15')
# # Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring15_25ns_nonTrig_V1_producer_config = cms.PSet( mvaName=cms.string(mvaSpring15NonTrigClassName), mvaTag=cms.string(mvaTag), # This MVA uses conversion info, so configure several data items on that beamSpot=cms.InputTag('offlineBeamSpot'), conversionsAOD=cms.InputTag('allConversions'), conversionsMiniAOD=cms.InputTag('reducedEgamma:reducedConversions'), # weightFileNames=mvaSpring15NonTrigWeightFiles_V1) # Create the VPset's for VID cuts mvaEleID_Spring15_25ns_nonTrig_V1_wp90 = configureVIDMVAEleID_V1(MVA_WP90) mvaEleID_Spring15_25ns_nonTrig_V1_wp80 = configureVIDMVAEleID_V1(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp90.idName, 'ac4fdc160eefe9eae7338601c02ed4bb') central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp80.idName, '113c47ceaea0fa687b8bd6d880eb4957') mvaEleID_Spring15_25ns_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring15_25ns_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
# Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring15_25ns_Trig_V1_producer_config = cms.PSet( mvaName = cms.string(mvaClassName), mvaTag = cms.string(mvaTag), # Category parameters nCategories = cms.int32(3), categoryCuts = cms.vstring(*EleMVA_3CategoriesCuts), # Weight files and variable definitions weightFileNames = mvaSpring15TrigWeightFiles_V1, variableDefinition = cms.string(mvaVariablesFile) ) # Create the VPset's for VID cuts mvaEleID_Spring15_25ns_Trig_V1_wp90 = configureVIDMVAEleID( MVA_WP90 ) mvaEleID_Spring15_25ns_Trig_V1_wp80 = configureVIDMVAEleID( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring15_25ns_Trig_V1_wp90.idName, 'bb430b638bf3a4d970627021b0da63ae') central_id_registry.register(mvaEleID_Spring15_25ns_Trig_V1_wp80.idName, '81046ab478185af337be1be9b30948ae') mvaEleID_Spring15_25ns_Trig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring15_25ns_Trig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
# iso = max( photon_isolation_raw - rho*effArea - coeff*pt, cutoff) # as discussed in the indico presentations listed in the beginning of this file. # effAreasConfigFile = cms.FileInPath(effAreasPath_pho), # The coefficients "coeff" for the formula above for linear pt scaling correction # the first value is for EB, the second is for EE # NOTE: even though the EB coefficient is provided, it is not presently used in the MVA. # For EB, the uncorrected raw photon isolation is used instead. phoIsoPtScalingCoeff = cms.vdouble(0.0053,0.0034), # The cutoff for the formula above phoIsoCutoff = cms.double(2.5) ) # Create the VPset's for VID cuts mvaPhoID_Spring16_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) mvaPhoID_Spring16_nonTrig_V1_wp80 = configureVIDMVAPhoID_V1( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring16_nonTrig_V1_wp90.idName, '36efe663348f95de0bc1cfa8dc7fa8fe') central_id_registry.register( mvaPhoID_Spring16_nonTrig_V1_wp80.idName, 'beb95233f7d1e033ad9e20cf3d804ba0') mvaPhoID_Spring16_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaPhoID_Spring16_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag( "photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag( "photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll")) # Create the VPset's for VID cuts mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, 'f3ff6ade4680f277c31deb921aa370e4') mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool( True)
useValueMaps = cms.bool(False), full5x5SigmaIEtaIEtaMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap = cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation = cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho = cms.InputTag("fixedGridRhoFastjetAll") ) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.idName, '9b03aa4412c43fdbd72ea55f2e1a16bc') mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.isPOGApproved = cms.untracked.bool(True)
"RecoEgamma/PhotonIdentification/data/Fall17/effAreaPhotons_cone03_pfNeutralHadrons_90percentBased.txt" , # phoIsolationMapName "photonIDValueMapProducer:phoPhotonIsolation" , # phoIsolationEffAreas "RecoEgamma/PhotonIdentification/data/Fall17/effAreaPhotons_cone03_pfPhotons_90percentBased.txt" ) # # Finally, set up VID configuration for all cuts # cutBasedPhotonID_Fall17_94X_V1_loose = configureVIDCutBasedPhoID_V5 ( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedPhotonID_Fall17_94X_V1_medium = configureVIDCutBasedPhoID_V5 ( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedPhotonID_Fall17_94X_V1_tight = configureVIDCutBasedPhoID_V5 ( WP_Tight_EB, WP_Tight_EE, isoInputs) ## The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_loose.idName, '08547098f52eb608b545953f02583c3f') central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_medium.idName, 'fb58ccd713d6be1f86f1d2e48c69e401') central_id_registry.register(cutBasedPhotonID_Fall17_94X_V1_tight.idName, '296da1cdbf6f35a99287c5a527472ed3') cutBasedPhotonID_Fall17_94X_V1_loose.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Fall17_94X_V1_medium.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Fall17_94X_V1_tight.isPOGApproved = cms.untracked.bool(True)
mvaCategoriesMapName = mvaCategoriesMapName, # map with category index for all particles cutCategory0 = 0.374, # EB cutCategory1 = 0.336 # EE ) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaPhoID_Spring15_25ns_nonTrig_V2_producer_config = cms.PSet( mvaName = cms.string(mvaSpring15NonTrigClassName), mvaTag = cms.string(mvaTag), weightFileNames = mvaSpring15NonTrigWeightFiles_V2, variableDefinition = cms.string(mvaVariablesFile) ) # Create the VPset's for VID cuts mvaPhoID_Spring15_25ns_nonTrig_V2_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring15_25ns_nonTrig_V2_wp90.idName, '8a6870b7182e5aeee51b71cdba3c3fce') mvaPhoID_Spring15_25ns_nonTrig_V2_wp90.isPOGApproved = cms.untracked.bool(True)
# cut = constTerm if value < slopeStart # cut = slopeTerm * (value - slopeStart) + constTerm if value >= slopeStart # Also for the same cut, the effective area for the rho correction of the isolation ehIsoSlopeTerm=0.03, ehIsoSlopeStart=50.0, ehIsoConstTerm=2.50, effAreaForEHIso=0.28, # other cuts dxyCut=0.05, maxMissingHitsCut=1, ecalDrivenCut=1 ) # # Finally, set up VID configuration for all cuts # heepElectronID_HEEPV60 = configureHEEPElectronID_V60 ( WP_HEEP60_EB, WP_HEEP60_EE ) # # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(heepElectronID_HEEPV60.idName,"df10ac7e3a9c22f63fa7936573beaafb") heepElectronID_HEEPV60.isPOGApproved = cms.untracked.bool(True)
isoCutEELowPt = cms.double(0.208), isoCutEEHighPt = cms.double(0.208), isRelativeIso = cms.bool(True), deltaBetaConstant = cms.double(0.5), ptCutOff = cms.double(20.0), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleConversionVetoCut'), conversionSrc = cms.InputTag('reducedEgamma:reducedConversions'), beamspotSrc = cms.InputTag('offlineBeamSpot'), needsAdditionalProducts = cms.bool(True), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleMissingHitsCut'), maxMissingHitsEB = cms.uint32(1), maxMissingHitsEE = cms.uint32(1), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)) ) ) central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V0_miniAOD_standalone_veto.idName, 'ee73e19af1ec4bf4f71f46013791e98b') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V0_miniAOD_standalone_loose.idName, 'd6fc42108cefce6e0177c80b40860382') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V0_miniAOD_standalone_medium.idName, '7491d788175df497b06f5922579d2ae2') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V0_miniAOD_standalone_tight.idName, '2fec01235da5321c4116ddef9a8bd0ff')
# PhotonIDValueMapProducer running upstream # full5x5SigmaIEtaIEtaMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll"), ) # Create the VPset's for VID cuts mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, "f3ff6ade4680f277c31deb921aa370e4") mvaPhoID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True)
# full5x5SigmaIEtaIEtaMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap = cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation = cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho = cms.InputTag("fixedGridRhoFastjetAll") ) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V0_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V0_wp90.idName, 'f7632ecc85a3b775335fd9bf78f468df') mvaPhoID_Spring15_50ns_nonTrig_V0_wp90.isPOGApproved = cms.untracked.bool(False)
# effAreasConfigFile = cms.FileInPath(effAreasPath_pho), # The coefficients "coeff" for the formula above for linear pt scaling correction # the first value is for EB, the second is for EE # NOTE: even though the EB coefficient is provided, it is not presently used in the MVA. # For EB, the uncorrected raw photon isolation is used instead. phoIsoPtScalingCoeff = cms.vdouble(0.0035,0.0040) # The cutoff for the formula above # phoIsoCutoff = cms.double(2.5) ) # Create the VPset's for VID cuts mvaPhoID_RunIIFall17_v1p1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) mvaPhoID_RunIIFall17_v1p1_wp80 = configureVIDMVAPhoID_V1( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateIdMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_RunIIFall17_v1p1_wp90.idName, '1120f91d15f68bf61b5f08958bf4f435') central_id_registry.register( mvaPhoID_RunIIFall17_v1p1_wp80.idName, '56138c4a3ac3c0bffc7f01c187063102') mvaPhoID_RunIIFall17_v1p1_wp90.isPOGApproved = cms.untracked.bool(True) mvaPhoID_RunIIFall17_v1p1_wp80.isPOGApproved = cms.untracked.bool(True)
# isoEffAreas "RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_HLT_ecalPFClusterIso.txt" ) isoInputsHcal = IsolationCutInputs_V2( # isoEffAreas "RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_HLT_hcalPFClusterIso.txt" ) # # Set up VID configuration for all cuts and working points # cutBasedElectronHLTPreselection_Summer16_V1 = configureVIDCutBasedEleHLTPreselection_V1( WP_HLTSafe_EB, WP_HLTSafe_EE, isoInputsEcal, isoInputsHcal) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronHLTPreselection_Summer16_V1.idName, 'aef5f00cc25a63b44192c6fc449f7dc0') ### for now until we have a database... cutBasedElectronHLTPreselection_Summer16_V1.isPOGApproved = cms.untracked.bool(True)
# phoIsolationEffAreas "RecoEgamma/ElectronIdentification/data/PHYS14/effAreaElectrons_cone03_pfNeuHadronsAndPhotons.txt" ) # # Set up VID configuration for all cuts and working points # cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_veto = configureVIDCutBasedEleID_V2(WP_Veto_EB, WP_Veto_EE, isoInputs) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_loose = configureVIDCutBasedEleID_V2(WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_medium = configureVIDCutBasedEleID_V2(WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_tight = configureVIDCutBasedEleID_V2(WP_Tight_EB, WP_Tight_EE, isoInputs) central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_veto.idName, '1f322690ebc601ee190dd97f60371272') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_loose.idName, 'fce6cef3a2c73849c527549af6a0dd86') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_medium.idName, 'a8c98f61148e0d989e436a46497df86a') central_id_registry.register(cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_tight.idName, '26d5a314fe762b4927150f37a23d3e71') # for now until we have a database... cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_medium.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_PHYS14_PU20bx25_V2_standalone_tight.isPOGApproved = cms.untracked.bool(True)
ptCutOff=cms.double(20.0), barrelCutOff=cms.double(ebCutOff), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False)), cms.PSet(cutName=cms.string('GsfEleConversionVetoCut'), conversionSrc=cms.InputTag('allConversions'), conversionSrcMiniAOD=cms.InputTag( 'reducedEgamma:reducedConversions'), beamspotSrc=cms.InputTag('offlineBeamSpot'), needsAdditionalProducts=cms.bool(True), isIgnored=cms.bool(False)), cms.PSet(cutName=cms.string('GsfEleMissingHitsCut'), maxMissingHitsEB=cms.uint32(1), maxMissingHitsEE=cms.uint32(1), barrelCutOff=cms.double(ebCutOff), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False)))) central_id_registry.register( cutBasedElectronID_CSA14_50ns_V1_standalone_veto.idName, '0443b6d07f602b4ee4ccabd851e4d364') central_id_registry.register( cutBasedElectronID_CSA14_50ns_V1_standalone_loose.idName, '078717cbe5967273b808379cf4319e6c') central_id_registry.register( cutBasedElectronID_CSA14_50ns_V1_standalone_medium.idName, '6ae65b48e6f5efcc468fcad883a599fb') central_id_registry.register( cutBasedElectronID_CSA14_50ns_V1_standalone_tight.idName, '767014939fe5066f79e4d9b9dc92bb09')
) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config = cms.PSet( mvaName = cms.string(mvaPhys14NonTrigClassName), mvaTag = cms.string(mvaTag), weightFileNames = mvaPhys14NonTrigWeightFiles_V1 ) # Create the VPset's for VID cuts mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80 = configureVIDMVAEleID_V1( MVA_WP80 ) mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAEleID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80.idName, '768465d41956da069c83bf245398d5e6') central_id_registry.register( mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, '7d091368510c32f0ab29a53323cae95a') mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(False) mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(False)
# Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring16_GeneralPurpose_V1_producer_config = cms.PSet( mvaName=cms.string(mvaClassName), mvaTag=cms.string(mvaTag), # Category parameters nCategories=cms.int32(3), categoryCuts=EleMVA_3CategoriesCuts, # Weight files and variable definitions weightFileNames=mvaSpring16WeightFiles_V1, variableDefinition=cms.string(mvaVariablesFile)) # Create the VPset's for VID cuts mvaEleID_Spring16_GeneralPurpose_V1_wp90 = configureVIDMVAEleID(MVA_WP90) mvaEleID_Spring16_GeneralPurpose_V1_wp80 = configureVIDMVAEleID(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring16_GeneralPurpose_V1_wp90.idName, '14c153aaf3c207deb3ad4932586647a7') central_id_registry.register(mvaEleID_Spring16_GeneralPurpose_V1_wp80.idName, 'b490bc0b0af2d5f3e9efea562370af2a') mvaEleID_Spring16_GeneralPurpose_V1_wp90.isPOGApproved = cms.untracked.bool( True) mvaEleID_Spring16_GeneralPurpose_V1_wp80.isPOGApproved = cms.untracked.bool( True)
cutName=cms.string("GsfEleDxyCut"), dxyCutValueEB=cms.double(0.02), dxyCutValueEE=cms.double(0.05), vertexSrc=cms.InputTag("offlinePrimaryVertices"), barrelCutOff=cms.double(ebCutOff), needsAdditionalProducts=cms.bool(True), isIgnored=cms.bool(False), ), cms.PSet( cutName=cms.string("GsfEleMissingHitsCut"), maxMissingHitsEB=cms.uint32(1), maxMissingHitsEE=cms.uint32(1), barrelCutOff=cms.double(ebCutOff), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False), ), cms.PSet( cutName=cms.string("GsfEleDzCut"), dzCutValueEB=cms.double(0.1), dzCutValueEE=cms.double(0.1), vertexSrc=cms.InputTag("offlinePrimaryVertices"), barrelCutOff=cms.double(ebCutOff), needsAdditionalProducts=cms.bool(True), isIgnored=cms.bool(True), ), ), ) central_id_registry.register(heepElectronID_HEEPV50_CSA14_startup.idName, "6263b722071c650fe885b31db4ebe20c")
full5x5E1x3Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag( "photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag( "photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll")) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V2_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.idName, '541536b38c6a01f2ceded658477ff570') mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.isPOGApproved = cms.untracked.bool(True)
mvaCategoriesMapName, # map with category index for all particles cutCategory0=0.284, # EB cutCategory1=0.432 # EE ) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaPhoID_Spring15_50ns_nonTrig_V1_producer_config = cms.PSet( mvaName=cms.string(mvaSpring15NonTrigClassName), mvaTag=cms.string(mvaTag), weightFileNames=mvaSpring15NonTrigWeightFiles_V1, variableDefinition=cms.string(mvaVariablesFile)) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring15_50ns_nonTrig_V1_wp90.idName, '48415c18fe032ac6838a5eb1650574b0') mvaPhoID_Spring15_50ns_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool( False)
# # Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring15_50ns_Trig_V1_producer_config = cms.PSet( mvaName=cms.string(mvaSpring15TrigClassName), mvaTag=cms.string(mvaTag), # This MVA uses conversion info, so configure several data items on that beamSpot=cms.InputTag('offlineBeamSpot'), conversionsAOD=cms.InputTag('allConversions'), conversionsMiniAOD=cms.InputTag('reducedEgamma:reducedConversions'), # weightFileNames=mvaSpring15TrigWeightFiles_V1) # Create the VPset's for VID cuts mvaEleID_Spring15_50ns_Trig_V1_wp90 = configureVIDMVAEleID_V1(MVA_WP90) mvaEleID_Spring15_50ns_Trig_V1_wp80 = configureVIDMVAEleID_V1(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp90.idName, 'b2c90992b008ddca2daf74fe578e7e1b') central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp80.idName, 'e9127ba0788d88aa64abe68b13749519') mvaEleID_Spring15_50ns_Trig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring15_50ns_Trig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag( "photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag( "photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll")) # Create the VPset's for VID cuts mvaPhoID_Spring15_25ns_nonTrig_V2p1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring15_25ns_nonTrig_V2p1_wp90.idName, '62eb8da6a5e26164d52d36cb81f952fc') mvaPhoID_Spring15_25ns_nonTrig_V2p1_wp90.isPOGApproved = cms.untracked.bool( True)
# Three constants for the GsfEleEmHadD1IsoRhoCut: # cut = constTerm if value < slopeStart # cut = slopeTerm * (value - slopeStart) + constTerm if value >= slopeStart # Also for the same cut, the effective area for the rho correction of the isolation ehIsoSlopeTerm=0.03, ehIsoSlopeStart=50.0, ehIsoConstTerm=2.50, effAreaForEHIso=0.28, # other cuts dxyCut=0.05, maxMissingHitsCut=1, ecalDrivenCut=1) # # Finally, set up VID configuration for all cuts # heepElectronID_HEEPV70 = configureHEEPElectronID_V70(idName, WP_HEEP70_EB, WP_HEEP70_EE) # # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(heepElectronID_HEEPV70.idName, "45d49ea5f46f3f13f579d208e5e3412b") heepElectronID_HEEPV70.isPOGApproved = cms.untracked.bool(True)
# cut = constTerm if value < slopeStart # cut = slopeTerm * (value - slopeStart) + constTerm if value >= slopeStart # Also for the same cut, the effective area for the rho correction of the isolation ehIsoSlopeTerm=0.03, ehIsoSlopeStart=50.0, ehIsoConstTerm=2.50, effAreaForEHIso=0.28, # other cuts dxyCut=0.05, maxMissingHitsCut=1, ecalDrivenCut=1 ) # # Finally, set up VID configuration for all cuts # heepElectronID_HEEPV51 = configureHEEPElectronID_V51 ( WP_HEEP51_EB, WP_HEEP51_EE ) # # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(heepElectronID_HEEPV51.idName,"b0e84f87acbc411de145ab2b8187ef1c") heepElectronID_HEEPV51.isPOGApproved = cms.untracked.bool(False)
mvaCategoriesMapName = mvaCategoriesMapName, # map with category index for all particles cutCategory0 = 0.29538, # EB cutCategory1 = 0.45837 # EE ) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaPhoID_Spring15_50ns_nonTrig_V2p1_producer_config = cms.PSet( mvaName = cms.string(mvaSpring15NonTrigClassName), mvaTag = cms.string(mvaTag), weightFileNames = mvaSpring15NonTrigWeightFiles_V2p1, variableDefinition = cms.string(mvaVariablesFile) ) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.idName, '9b03aa4412c43fdbd72ea55f2e1a16bc') mvaPhoID_Spring15_50ns_nonTrig_V2p1_wp90.isPOGApproved = cms.untracked.bool(True)
# as discussed in the indico presentations listed in the beginning of this file. # effAreasConfigFile=cms.FileInPath(effAreasPath_pho), # The coefficients "coeff" for the formula above for linear pt scaling correction # the first value is for EB, the second is for EE # NOTE: even though the EB coefficient is provided, it is not presently used in the MVA. # For EB, the uncorrected raw photon isolation is used instead. phoIsoPtScalingCoeff=cms.vdouble(0.0035, 0.0040) # The cutoff for the formula above # phoIsoCutoff = cms.double(2.5) ) # Create the VPset's for VID cuts mvaPhoID_RunIIFall17_v1p1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) mvaPhoID_RunIIFall17_v1p1_wp80 = configureVIDMVAPhoID_V1(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateIdMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_RunIIFall17_v1p1_wp90.idName, '1120f91d15f68bf61b5f08958bf4f435') central_id_registry.register(mvaPhoID_RunIIFall17_v1p1_wp80.idName, '56138c4a3ac3c0bffc7f01c187063102') mvaPhoID_RunIIFall17_v1p1_wp90.isPOGApproved = cms.untracked.bool(True) mvaPhoID_RunIIFall17_v1p1_wp80.isPOGApproved = cms.untracked.bool(True)
import FWCore.ParameterSet.Config as cms from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry globalMuonPromptTight_V0 = cms.PSet( idName=cms.string("globalMuonPromptTight-V0"), cutFlow=cms.VPSet( cms.PSet( cutName=cms.string("GlobalMuonPromptTightCut"), needsAdditionalProducts=cms.bool(False), isIgnored=cms.bool(False), ) ), ) central_id_registry.register(globalMuonPromptTight_V0, "4e200c57c24487498e1673f21c0e682e")
WP_Veto_EB, WP_Veto_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_loose = configureVIDCutBasedEleID_V4( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_medium = configureVIDCutBasedEleID_V4( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_tight = configureVIDCutBasedEleID_V4( WP_Tight_EB, WP_Tight_EE, isoInputs) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateIdMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_veto.idName, '43be9b381a8d9b0910b7f81a5ad8ff3a') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_loose.idName, '0b8456d622494441fe713a6858e0f7c1') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_medium.idName, 'a238ee70910de53d36866e89768500e9') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_tight.idName, '4acb2d2796efde7fba75380ce8823fc2') ### for now until we have a database... cutBasedElectronID_Fall17_94X_V1_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V1_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V1_medium.isPOGApproved = cms.untracked.bool( True) cutBasedElectronID_Fall17_94X_V1_tight.isPOGApproved = cms.untracked.bool(True)
workingPoints = dict(wpLoose=MVA_WPLoose) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring16_HZZ_V1_producer_config = cms.PSet( mvaName=cms.string(mvaClassName), mvaTag=cms.string(mvaTag), # Category parameters nCategories=cms.int32(6), categoryCuts=cms.vstring(*EleMVA_6CategoriesCuts), # Weight files and variable definitions weightFileNames=mvaSpring16WeightFiles_V1, variableDefinition=cms.string(mvaVariablesFile)) # Create the VPset's for VID cuts mvaEleID_Spring16_HZZ_V1_wpLoose = configureVIDMVAEleID(MVA_WPLoose) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring16_HZZ_V1_wpLoose.idName, '1797cc03eb62387e10266fca72ea10cd') mvaEleID_Spring16_HZZ_V1_wpLoose.isPOGApproved = cms.untracked.bool(True)
# Second, define what effective areas to use for pile-up correction isoInputsEcal = IsolationCutInputs_V2( # isoEffAreas "RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_HLT_ecalPFClusterIso.txt" ) isoInputsHcal = IsolationCutInputs_V2( # isoEffAreas "RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_HLT_hcalPFClusterIso.txt" ) # # Set up VID configuration for all cuts and working points # cutBasedElectronHLTPreselection_Summer16_V1 = configureVIDCutBasedEleHLTPreselection_V1( WP_HLTSafe_EB, WP_HLTSafe_EE, isoInputsEcal, isoInputsHcal) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( cutBasedElectronHLTPreselection_Summer16_V1.idName, 'aef5f00cc25a63b44192c6fc449f7dc0') ### for now until we have a database... cutBasedElectronHLTPreselection_Summer16_V1.isPOGApproved = cms.untracked.bool( True)
# # Category parameters nCategories=cms.int32(6), categoryCuts=EleMVA_6CategoriesCuts, # Weight files and variable definitions weightFileNames=mvaSpring15NonTrigWeightFiles_V1, variableDefinition=cms.string(mvaVariablesFile)) # Create the VPset's for VID cuts mvaEleID_Spring15_25ns_nonTrig_V1_wpLoose = configureVIDMVAEleID(MVA_WPLoose) mvaEleID_Spring15_25ns_nonTrig_V1_wp90 = configureVIDMVAEleID(MVA_WP90) mvaEleID_Spring15_25ns_nonTrig_V1_wp80 = configureVIDMVAEleID(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wpLoose.idName, '99ff36834c4342110d84ea2350a1229c') central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp90.idName, 'ac4fdc160eefe9eae7338601c02ed4bb') central_id_registry.register(mvaEleID_Spring15_25ns_nonTrig_V1_wp80.idName, '113c47ceaea0fa687b8bd6d880eb4957') mvaEleID_Spring15_25ns_nonTrig_V1_wpLoose.isPOGApproved = cms.untracked.bool( True) mvaEleID_Spring15_25ns_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring15_25ns_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
cutBasedElectronID_Spring15_50ns_V2_standalone_loose = configureVIDCutBasedEleID_V2( WP_Loose_EB, WP_Loose_EE, isoEffAreas) cutBasedElectronID_Spring15_50ns_V2_standalone_medium = configureVIDCutBasedEleID_V2( WP_Medium_EB, WP_Medium_EE, isoEffAreas) cutBasedElectronID_Spring15_50ns_V2_standalone_tight = configureVIDCutBasedEleID_V2( WP_Tight_EB, WP_Tight_EE, isoEffAreas) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( cutBasedElectronID_Spring15_50ns_V2_standalone_veto.idName, '3edb92d2aee3dcf1e366a927a5660155') central_id_registry.register( cutBasedElectronID_Spring15_50ns_V2_standalone_loose.idName, '527c1b1ddcf9061dc4093dc95590e2bb') central_id_registry.register( cutBasedElectronID_Spring15_50ns_V2_standalone_medium.idName, '6837f1ac82974f19d2a15041a2e52ebb') central_id_registry.register( cutBasedElectronID_Spring15_50ns_V2_standalone_tight.idName, 'ab050ff2bd30d832881bfac03c9d3a8a') # for now until we have a database... cutBasedElectronID_Spring15_50ns_V2_standalone_veto.isPOGApproved = cms.untracked.bool( True) cutBasedElectronID_Spring15_50ns_V2_standalone_loose.isPOGApproved = cms.untracked.bool(
cutBasedElectronID_Spring15_25ns_V1_standalone_loose = configureVIDCutBasedEleID_V2(WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_Spring15_25ns_V1_standalone_medium = configureVIDCutBasedEleID_V2( WP_Medium_EB, WP_Medium_EE, isoInputs ) cutBasedElectronID_Spring15_25ns_V1_standalone_tight = configureVIDCutBasedEleID_V2(WP_Tight_EB, WP_Tight_EE, isoInputs) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( cutBasedElectronID_Spring15_25ns_V1_standalone_veto.idName, "202030579ee3eec90fdc2d236ba3de7e" ) central_id_registry.register( cutBasedElectronID_Spring15_25ns_V1_standalone_loose.idName, "4fab9e4d09a2c1a36cbbd2279deb3627" ) central_id_registry.register( cutBasedElectronID_Spring15_25ns_V1_standalone_medium.idName, "aa291aba714c148fcba156544907c440" ) central_id_registry.register( cutBasedElectronID_Spring15_25ns_V1_standalone_tight.idName, "4e13b87c0573d3c8ebf91d446fa1d90f" ) ### for now until we have a database... cutBasedElectronID_Spring15_25ns_V1_standalone_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Spring15_25ns_V1_standalone_loose.isPOGApproved = cms.untracked.bool(True)
# PhotonIDValueMapProducer running upstream # full5x5SigmaIEtaIEtaMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll"), ) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V2_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.idName, "541536b38c6a01f2ceded658477ff570") mvaPhoID_Spring15_50ns_nonTrig_V2_wp90.isPOGApproved = cms.untracked.bool(True)
useValueMaps = cms.bool(True), full5x5SigmaIEtaIEtaMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta"), full5x5SigmaIEtaIPhiMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5SigmaIEtaIPhi"), full5x5E1x3Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E1x3"), full5x5E2x2Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap = cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map = cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap = cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation = cms.InputTag("photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation = cms.InputTag("photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho = cms.InputTag("fixedGridRhoFastjetAll") ) # Create the VPset's for VID cuts mvaPhoID_Spring15_50ns_nonTrig_V0_wp90 = configureVIDMVAPhoID_V1( MVA_WP90 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register( mvaPhoID_Spring15_50ns_nonTrig_V0_wp90.idName, 'f7632ecc85a3b775335fd9bf78f468df') mvaPhoID_Spring15_50ns_nonTrig_V0_wp90.isPOGApproved = cms.untracked.bool(False)
# # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaEleID_Spring16_HZZ_V1_producer_config = cms.PSet( mvaName = cms.string(mvaClassName), mvaTag = cms.string(mvaTag), # Category parameters nCategories = cms.int32(6), categoryCuts = EleMVA_6CategoriesCuts, # Weight files and variable definitions weightFileNames = mvaSpring16WeightFiles_V1, variableDefinition = cms.string(mvaVariablesFile) ) # Create the VPset's for VID cuts mvaEleID_Spring16_HZZ_V1_wpLoose = configureVIDMVAEleID( MVA_WPLoose ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring16_HZZ_V1_wpLoose.idName, '1797cc03eb62387e10266fca72ea10cd') mvaEleID_Spring16_HZZ_V1_wpLoose.isPOGApproved = cms.untracked.bool(True)
# phoIsolationMapName "photonIDValueMapProducer:phoPhotonIsolation" , # phoIsolationEffAreas "RecoEgamma/PhotonIdentification/data/Spring15/effAreaPhotons_cone03_pfPhotons_25ns_90percentBased.txt" ) # # Finally, set up VID configuration for all cuts # cutBasedPhotonID_Spring15_25ns_V1_standalone_loose = configureVIDCutBasedPhoID_V5 ( WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedPhotonID_Spring15_25ns_V1_standalone_medium = configureVIDCutBasedPhoID_V5 ( WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedPhotonID_Spring15_25ns_V1_standalone_tight = configureVIDCutBasedPhoID_V5 ( WP_Tight_EB, WP_Tight_EE, isoInputs) ## The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedPhotonID_Spring15_25ns_V1_standalone_loose.idName, '3dbb7c6922f3e1b9eb9cf1c679ff70bb') central_id_registry.register(cutBasedPhotonID_Spring15_25ns_V1_standalone_medium.idName, '3c31de4198e6c34a0668e11fae83ac21') central_id_registry.register(cutBasedPhotonID_Spring15_25ns_V1_standalone_tight.idName, '82ed54bcaf3c8d0ac4f2ae51aa8ff37d') cutBasedPhotonID_Spring15_25ns_V1_standalone_loose.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Spring15_25ns_V1_standalone_medium.isPOGApproved = cms.untracked.bool(True) cutBasedPhotonID_Spring15_25ns_V1_standalone_tight.isPOGApproved = cms.untracked.bool(True)
cutCategory1=-0.267, # EB2 low pt cutCategory2=-0.323, # EE low pt cutCategory3=0.933, # EB1 cutCategory4=0.825, # EB2 cutCategory5=0.337 # EE ) # # Finally, set up VID configuration for all cuts # # Create the PSet that will be fed to the MVA value map producer mvaEleID_PHYS14_PU20bx25_nonTrig_V1_producer_config = cms.PSet( mvaName=cms.string(mvaPhys14NonTrigClassName), weightFileNames=mvaPhys14NonTrigWeightFiles_V1) # Create the VPset's for VID cuts mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80 = configureVIDMVAEleID_V1(MVA_WP80) mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90 = configureVIDMVAEleID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp80.idName, '8b587a6315d6808df7af9d3471d22a20') central_id_registry.register(mvaEleID_PHYS14_PU20bx25_nonTrig_V1_wp90.idName, 'a01428d36d3d0e6b1f89ab772aa606a1')
full5x5E2x2Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E2x2"), full5x5E2x5MaxMap=cms.InputTag( "photonIDValueMapProducer:phoFull5x5E2x5Max"), full5x5E5x5Map=cms.InputTag("photonIDValueMapProducer:phoFull5x5E5x5"), esEffSigmaRRMap=cms.InputTag("photonIDValueMapProducer:phoESEffSigmaRR"), phoChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoChargedIsolation"), phoPhotonIsolation=cms.InputTag( "photonIDValueMapProducer:phoPhotonIsolation"), phoWorstChargedIsolation=cms.InputTag( "photonIDValueMapProducer:phoWorstChargedIsolation"), # # Original event content: pileup in this case # rho=cms.InputTag("fixedGridRhoFastjetAll")) # Create the VPset's for VID cuts mvaPhoID_Spring15_25ns_nonTrig_V0_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring15_25ns_nonTrig_V0_wp90.idName, '0db3574f257ba9082ffc4874ba6cee99') mvaPhoID_Spring15_25ns_nonTrig_V0_wp90.isPOGApproved = cms.untracked.bool( False)
mvaEleID_Spring16_GeneralPurpose_V1_producer_config = cms.PSet( mvaName = cms.string(mvaSpring16ClassName), mvaTag = cms.string(mvaTag), # This MVA uses conversion info, so configure several data items on that beamSpot = cms.InputTag('offlineBeamSpot'), conversionsAOD = cms.InputTag('allConversions'), conversionsMiniAOD = cms.InputTag('reducedEgamma:reducedConversions'), # weightFileNames = mvaSpring16WeightFiles_V1 ) # Create the VPset's for VID cuts mvaEleID_Spring16_GeneralPurpose_V1_wp90 = configureVIDMVAEleID_V1( MVA_WP90 ) mvaEleID_Spring16_GeneralPurpose_V1_wp80 = configureVIDMVAEleID_V1( MVA_WP80 ) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaEleID_Spring16_GeneralPurpose_V1_wp90.idName, '14c153aaf3c207deb3ad4932586647a7') central_id_registry.register(mvaEleID_Spring16_GeneralPurpose_V1_wp80.idName, 'b490bc0b0af2d5f3e9efea562370af2a') mvaEleID_Spring16_GeneralPurpose_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaEleID_Spring16_GeneralPurpose_V1_wp80.isPOGApproved = cms.untracked.bool(True)
# cutBasedElectronID_Fall17_94X_V1_veto = configureVIDCutBasedEleID_V4(WP_Veto_EB, WP_Veto_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_loose = configureVIDCutBasedEleID_V4(WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_medium = configureVIDCutBasedEleID_V4(WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedElectronID_Fall17_94X_V1_tight = configureVIDCutBasedEleID_V4(WP_Tight_EB, WP_Tight_EE, isoInputs) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateIdMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_veto.idName, '43be9b381a8d9b0910b7f81a5ad8ff3a') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_loose.idName, '0b8456d622494441fe713a6858e0f7c1') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_medium.idName, 'a238ee70910de53d36866e89768500e9') central_id_registry.register(cutBasedElectronID_Fall17_94X_V1_tight.idName, '4acb2d2796efde7fba75380ce8823fc2') ### for now until we have a database... cutBasedElectronID_Fall17_94X_V1_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V1_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V1_medium.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Fall17_94X_V1_tight.isPOGApproved = cms.untracked.bool(True)
isoCutEELowPt = cms.double(0.208), isoCutEEHighPt = cms.double(0.208), isRelativeIso = cms.bool(True), deltaBetaConstant = cms.double(0.5), ptCutOff = cms.double(20.0), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleConversionVetoCut'), conversionSrc = cms.InputTag('conversions'), beamspotSrc = cms.InputTag('offlineBeamSpot'), needsAdditionalProducts = cms.bool(True), isIgnored = cms.bool(False)), cms.PSet( cutName = cms.string('GsfEleMissingHitsCut'), maxMissingHitsEB = cms.uint32(1), maxMissingHitsEE = cms.uint32(1), barrelCutOff = cms.double(ebCutOff), needsAdditionalProducts = cms.bool(False), isIgnored = cms.bool(False)) ) ) central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_veto.idName, '9e8d58540652f213ed829f6102a9b9f1') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_loose.idName, '4f0c7134f86a650343320e8d7ce12794') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_medium.idName, '1ff66749ef4e9a11ccd2ffe4584f0e55') central_id_registry.register(cutBasedElectronID_CSA14_PU20bx25_V0_standalone_tight.idName, '70b86b7fb50fe6dedc9c02cc385d47c4')
# In this MVA for endcap the corrected photon isolation is defined as # iso = max( photon_isolation_raw - rho*effArea - coeff*pt, cutoff) # as discussed in the indico presentations listed in the beginning of this file. # effAreasConfigFile=cms.FileInPath(effAreasPath_pho), # The coefficients "coeff" for the formula above for linear pt scaling correction # the first value is for EB, the second is for EE # NOTE: even though the EB coefficient is provided, it is not presently used in the MVA. # For EB, the uncorrected raw photon isolation is used instead. phoIsoPtScalingCoeff=cms.vdouble(0.0053, 0.0034), # The cutoff for the formula above phoIsoCutoff=cms.double(2.5)) # Create the VPset's for VID cuts mvaPhoID_Spring16_nonTrig_V1_wp90 = configureVIDMVAPhoID_V1(MVA_WP90) mvaPhoID_Spring16_nonTrig_V1_wp80 = configureVIDMVAPhoID_V1(MVA_WP80) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(mvaPhoID_Spring16_nonTrig_V1_wp90.idName, '36efe663348f95de0bc1cfa8dc7fa8fe') central_id_registry.register(mvaPhoID_Spring16_nonTrig_V1_wp80.idName, 'beb95233f7d1e033ad9e20cf3d804ba0') mvaPhoID_Spring16_nonTrig_V1_wp90.isPOGApproved = cms.untracked.bool(True) mvaPhoID_Spring16_nonTrig_V1_wp80.isPOGApproved = cms.untracked.bool(True)
# Set up VID configuration for all cuts and working points # cutBasedElectronID_Spring15_50ns_V2_standalone_veto = configureVIDCutBasedEleID_V2(WP_Veto_EB, WP_Veto_EE, isoInputs) cutBasedElectronID_Spring15_50ns_V2_standalone_loose = configureVIDCutBasedEleID_V2(WP_Loose_EB, WP_Loose_EE, isoInputs) cutBasedElectronID_Spring15_50ns_V2_standalone_medium = configureVIDCutBasedEleID_V2(WP_Medium_EB, WP_Medium_EE, isoInputs) cutBasedElectronID_Spring15_50ns_V2_standalone_tight = configureVIDCutBasedEleID_V2(WP_Tight_EB, WP_Tight_EE, isoInputs) # The MD5 sum numbers below reflect the exact set of cut variables # and values above. If anything changes, one has to # 1) comment out the lines below about the registry, # 2) run "calculateMD5 <this file name> <one of the VID config names just above> # 3) update the MD5 sum strings below and uncomment the lines again. # central_id_registry.register(cutBasedElectronID_Spring15_50ns_V2_standalone_veto.idName, '3edb92d2aee3dcf1e366a927a5660155') central_id_registry.register(cutBasedElectronID_Spring15_50ns_V2_standalone_loose.idName, '527c1b1ddcf9061dc4093dc95590e2bb') central_id_registry.register(cutBasedElectronID_Spring15_50ns_V2_standalone_medium.idName, '6837f1ac82974f19d2a15041a2e52ebb') central_id_registry.register(cutBasedElectronID_Spring15_50ns_V2_standalone_tight.idName, 'ab050ff2bd30d832881bfac03c9d3a8a') # for now until we have a database... cutBasedElectronID_Spring15_50ns_V2_standalone_veto.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Spring15_50ns_V2_standalone_loose.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Spring15_50ns_V2_standalone_medium.isPOGApproved = cms.untracked.bool(True) cutBasedElectronID_Spring15_50ns_V2_standalone_tight.isPOGApproved = cms.untracked.bool(True)