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")
34 dataFormat = DataFormat.AOD
36 process.load(
"RecoEgamma.ElectronIdentification.egmGsfElectronIDs_cfi")
37 process.egmGsfElectronIDSequence = cms.Sequence(process.egmGsfElectronIDs)
39 idmod =
'RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Spring15_25ns_V1_cff' 45 process.l1CustomReco = cms.Path(
46 process.ak4PFCHSL1FastL2L3ResidualCorrectorChain
47 +process.HBHENoiseFilterResultProducer
48 +process.correctionTermsPfMetType1Type2
50 +process.egmGsfElectronIDSequence
53 process.schedule.append(process.l1CustomReco)
60 process.load(
"CondCore.CondDB.CondDB_cfi")
62 process.jec = cms.ESSource(
64 DBParameters = cms.PSet(
65 messageLevel = cms.untracked.int32(0)
67 timetype = cms.string(
'runnumber'),
70 record = cms.string(
'JetCorrectionsRecord'),
72 tag = cms.string(
'JetCorrectorParametersCollection_Summer15_25nsV6_DATA_AK4PFchs'),
75 label = cms.untracked.string(
'AK4PFCHS')
78 connect = cms.string(
'sqlite:Summer15_25nsV6_DATA.db')
83 process.es_prefer_jec = cms.ESPrefer(
'PoolDBESSource',
'jec')
def L1NtupleCustomReco(process)
def getJECFromSQLite(process)
Custom Jet reco ####.