CMS 3D CMS Logo

ak5JTA_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
7 ak5JetTracksAssociatorAtVertex = cms.EDProducer("JetTracksAssociatorAtVertex",
8  j2tParametersVX.clone(coneSize = cms.double(0.5)),
9  jets = cms.InputTag("ak5CaloJets")
10 )
11 
12 ak5JetTracksAssociatorAtVertexPF = cms.EDProducer("JetTracksAssociatorAtVertex",
13  j2tParametersVX.clone(coneSize = cms.double(0.5)),
14  jets = cms.InputTag("ak5PFJetsCHS")
15 )
16 
17 
18 ak5JetTracksAssociatorExplicit = cms.EDProducer("JetTracksAssociatorExplicit",
19  j2tParametersVX.clone(coneSize = cms.double(0.5)),
20  jets = cms.InputTag("ak5PFJetsCHS")
21 )
22 
23 ak5JetTracksAssociatorAtCaloFace = cms.EDProducer("JetTracksAssociatorAtCaloFace",
24  j2tParametersCALO.clone(coneSize = cms.double(0.5)),
25  jets = cms.InputTag("ak5CaloJets")
26 )
27 
28 ak5JetExtender = cms.EDProducer("JetExtender",
29  jets = cms.InputTag("ak5CaloJets"),
30  jet2TracksAtCALO = cms.InputTag("ak5JetTracksAssociatorAtCaloFace"),
31  jet2TracksAtVX = cms.InputTag("ak5JetTracksAssociatorAtVertex"),
32  coneSize = cms.double(0.5)
33 )
34 
35 ak5JTATask = cms.Task(ak5JetTracksAssociatorAtVertexPF,
36  ak5JetTracksAssociatorAtVertex,
37  ak5JetTracksAssociatorAtCaloFace,
38  ak5JetExtender)
39 ak5JTA = cms.Sequence(ak5JTATask)
40 
41 ak5JTAExplicitTask = cms.Task(ak5JetTracksAssociatorExplicit)
42 ak5JTAExplicit = cms.Sequence(ak5JTAExplicitTask)
43 
44 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
45 pp_on_AA.toModify(ak5JetTracksAssociatorAtVertex,
46  jets = "akCs4PFJets",
47  tracks = "highPurityGeneralTracks"
48 )