1 import FWCore.ParameterSet.Config
as cms
6 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
15 process.load(
"CondCore.CondDB.CondDB_cfi")
18 process.load(
'JetMETCorrections.Configuration.JetCorrectors_cff')
23 process.load(
'CommonTools/RecoAlgos/HBHENoiseFilterResultProducer_cfi')
26 process.load(
"JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff")
27 process.load(
"JetMETCorrections.Type1MET.correctedMet_cff")
30 process.load(
'RecoMET.METFilters.BadPFMuonFilter_cfi')
31 process.BadPFMuonFilter.muons = cms.InputTag(
"muons")
32 process.BadPFMuonFilter.PFCandidates = cms.InputTag(
"particleFlow")
35 process.load(
'RecoMET.METFilters.BadChargedCandidateFilter_cfi')
36 process.BadChargedCandidateFilter.muons = cms.InputTag(
"muons")
37 process.BadChargedCandidateFilter.PFCandidates = cms.InputTag(
"particleFlow")
44 dataFormat = DataFormat.AOD
46 process.load(
"RecoEgamma.ElectronIdentification.egmGsfElectronIDs_cfi")
47 process.egmGsfElectronIDSequence = cms.Sequence(process.egmGsfElectronIDs)
49 idmod =
'RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Spring15_25ns_V1_cff'
55 process.l1CustomReco = cms.Path(
56 process.ak4PFCHSL1FastL2L3ResidualCorrectorChain
57 +process.ak4CaloL1FastL2L3ResidualCorrectorChain
58 +process.HBHENoiseFilterResultProducer
59 +process.correctionTermsPfMetType1Type2
61 +process.egmGsfElectronIDSequence
62 +process.BadPFMuonFilter
63 +process.BadChargedCandidateFilter
66 process.schedule.append(process.l1CustomReco)
73 process.load(
"CondCore.CondDB.CondDB_cfi")
75 process.jec = cms.ESSource(
77 DBParameters = cms.PSet(
78 messageLevel = cms.untracked.int32(0)
80 timetype = cms.string(
'runnumber'),
83 record = cms.string(
'JetCorrectionsRecord'),
85 tag = cms.string(
'JetCorrectorParametersCollection_Summer15_25nsV6_DATA_AK4PFchs'),
88 label = cms.untracked.string(
'AK4PFCHS')
91 connect = cms.string(
'sqlite:Summer15_25nsV6_DATA.db')
96 process.es_prefer_jec = cms.ESPrefer(
'PoolDBESSource',
'jec')