Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 # ---------- Add assigned jet-track association
0003 
0004 from RecoJets.JetAssociationProducers.ak4JTA_cff import *
0005 ak4JetTracksAssociatorAtVertexJPT = ak4JetTracksAssociatorAtVertex.clone(
0006     useAssigned = True,
0007     pvSrc       = "offlinePrimaryVertices"
0008 )
0009 # ---------- Tight Electron ID
0010 
0011 from RecoEgamma.ElectronIdentification.electronIdSequence_cff import eidTight
0012 JPTeidTight = eidTight.clone()
0013 
0014 # ---------- Seeds from TrackJets
0015 
0016 from RecoJets.JetPlusTracks.jetPlusTrackAddonSeedProducer_cfi import *
0017 
0018 JetPlusTrackAddonSeedReco = jetPlusTrackAddonSeedProducer.clone()
0019 
0020 # ---------- Module definition
0021 from RecoJets.JetPlusTracks.JetPlusTrackCorrections_cfi import *
0022 
0023 JetPlusTrackZSPCorJetAntiKt4 = cms.EDProducer(
0024     "JetPlusTrackProducer",
0025     cms.PSet(JPTZSPCorrectorAntiKt4),
0026     src = cms.InputTag("ak4CaloJets"),
0027     srcTrackJets = cms.InputTag("ak4TrackJets"),
0028     srcAddCaloJets = cms.InputTag('JetPlusTrackAddonSeedReco'),
0029     extrapolations = cms.InputTag("trackExtrapolator"),
0030     tagName = cms.vstring('ZSP_CMSSW390_Akt_05_PU0'),
0031     tagNameOffset = cms.vstring(),
0032     PU = cms.int32(-1),
0033     FixedPU = cms.int32(0),
0034     UseZSP = cms.bool(False),
0035     srcPVs = cms.InputTag('offlinePrimaryVertices'),    
0036     alias = cms.untracked.string('JetPlusTrackZSPCorJetAntiKt4'),
0037     ptCUT = cms.double(15.),
0038     dRcone = cms.double(0.4)
0039     )
0040 
0041 JetPlusTrackZSPCorJetAntiKt4.JetTracksAssociationAtVertex   = "ak4JetTracksAssociatorAtVertexJPT"
0042 JetPlusTrackZSPCorJetAntiKt4.JetTracksAssociationAtCaloFace = "ak4JetTracksAssociatorAtCaloFace"
0043 JetPlusTrackZSPCorJetAntiKt4.JetSplitMerge = 2
0044 
0045 ### ---------- Sequences
0046 
0047 # Anti-Kt
0048 
0049 JetPlusTrackCorrectionsAntiKt4Task = cms.Task(
0050     JPTeidTight,
0051     JetPlusTrackAddonSeedReco,
0052     ak4JetTracksAssociatorAtVertexJPT,
0053     ak4JetTracksAssociatorAtCaloFace,
0054     JetPlusTrackZSPCorJetAntiKt4
0055     )
0056 JetPlusTrackCorrectionsAntiKt4 = cms.Sequence(JetPlusTrackCorrectionsAntiKt4Task)
0057 
0058 # For backward-compatiblity (but to be deprecated!)
0059 JetPlusTrackCorrections = cms.Sequence(JetPlusTrackCorrectionsAntiKt4)