File indexing completed on 2024-04-06 12:25:29
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi import *
0004
0005 from RecoJets.JetAssociationProducers.j2tParametersCALO_cfi import *
0006 from RecoJets.JetAssociationProducers.j2tParametersVX_cfi import *
0007 ak5JetTracksAssociatorAtVertex = cms.EDProducer("JetTracksAssociatorAtVertex",
0008 j2tParametersVX.clone(coneSize = cms.double(0.5)),
0009 jets = cms.InputTag("ak5CaloJets")
0010 )
0011
0012 ak5JetTracksAssociatorAtVertexPF = cms.EDProducer("JetTracksAssociatorAtVertex",
0013 j2tParametersVX.clone(coneSize = cms.double(0.5)),
0014 jets = cms.InputTag("ak5PFJetsCHS")
0015 )
0016
0017
0018 ak5JetTracksAssociatorExplicit = cms.EDProducer("JetTracksAssociatorExplicit",
0019 j2tParametersVX.clone(coneSize = cms.double(0.5)),
0020 jets = cms.InputTag("ak5PFJetsCHS")
0021 )
0022
0023 ak5JetTracksAssociatorAtCaloFace = cms.EDProducer("JetTracksAssociatorAtCaloFace",
0024 j2tParametersCALO.clone(coneSize = cms.double(0.5)),
0025 jets = cms.InputTag("ak5CaloJets")
0026 )
0027
0028 ak5JetExtender = cms.EDProducer("JetExtender",
0029 jets = cms.InputTag("ak5CaloJets"),
0030 jet2TracksAtCALO = cms.InputTag("ak5JetTracksAssociatorAtCaloFace"),
0031 jet2TracksAtVX = cms.InputTag("ak5JetTracksAssociatorAtVertex"),
0032 coneSize = cms.double(0.5)
0033 )
0034
0035 ak5JTATask = cms.Task(ak5JetTracksAssociatorAtVertexPF,
0036 ak5JetTracksAssociatorAtVertex,
0037 ak5JetTracksAssociatorAtCaloFace,
0038 ak5JetExtender)
0039 ak5JTA = cms.Sequence(ak5JTATask)
0040
0041 ak5JTAExplicitTask = cms.Task(ak5JetTracksAssociatorExplicit)
0042 ak5JTAExplicit = cms.Sequence(ak5JTAExplicitTask)
0043
0044 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0045 pp_on_AA.toModify(ak5JetTracksAssociatorAtVertex,
0046 jets = "akCs4PFJets",
0047 tracks = "highPurityGeneralTracks"
0048 )