Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.PatAlgos.slimming.modifiedElectrons_cfi import *
0004 from PhysicsTools.PatAlgos.slimming.modifiedPhotons_cfi import *
0005 from PhysicsTools.PatAlgos.slimming.modifiedMuons_cfi import *
0006 from PhysicsTools.PatAlgos.slimming.modifiedTaus_cfi import *
0007 from PhysicsTools.PatAlgos.slimming.modifiedJets_cfi import *
0008 
0009 #get any prereqs from POG areas
0010 from RecoEgamma.ElectronIdentification.ElectronMVAValueMapProducer_cfi import *
0011 from RecoEgamma.PhotonIdentification.PhotonIDValueMapProducer_cfi import *
0012 from RecoEgamma.PhotonIdentification.PhotonMVAValueMapProducer_cfi import *
0013 
0014 #clone modules so we have slimmed* -> slimmed*
0015 slimmedElectrons = modifiedElectrons.clone()
0016 slimmedPhotons = modifiedPhotons.clone()
0017 slimmedMuons = modifiedMuons.clone()
0018 slimmedTaus = modifiedTaus.clone()
0019 slimmedJets = modifiedJets.clone()
0020 slimmedJetsAK8 = modifiedJets.clone( src = cms.InputTag("slimmedJetsAK8",processName=cms.InputTag.skipCurrentProcess()) )
0021 slimmedJetsPuppi = modifiedJets.clone( src = cms.InputTag("slimmedJetsPuppi",processName=cms.InputTag.skipCurrentProcess()) )
0022 
0023 modifyPrimaryPhysicsObjects = cms.Sequence( electronMVAValueMapProducer *
0024                                             photonIDValueMapProducer * photonMVAValueMapProducer * 
0025                                             slimmedElectrons *
0026                                             slimmedPhotons *
0027                                             slimmedMuons     *
0028                                             slimmedTaus      *
0029                                             slimmedJets      *
0030                                             slimmedJetsAK8   *
0031                                             slimmedJetsPuppi   )