CMS 3D CMS Logo

ak4JTA_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
7 ak4JetTracksAssociatorAtVertex = cms.EDProducer("JetTracksAssociatorAtVertex",
8  j2tParametersVX,
9  jets = cms.InputTag("ak4CaloJets")
10 )
11 
12 ak4JetTracksAssociatorAtVertexPF = cms.EDProducer("JetTracksAssociatorAtVertex",
13  j2tParametersVX,
14  jets = cms.InputTag("ak4PFJetsCHS")
15 )
16 
17 
18 ak4JetTracksAssociatorExplicit = cms.EDProducer("JetTracksAssociatorExplicit",
19  j2tParametersVX,
20  jets = cms.InputTag("ak4PFJetsCHS")
21 )
22 
23 ak4JetTracksAssociatorAtCaloFace = cms.EDProducer("JetTracksAssociatorAtCaloFace",
24  j2tParametersCALO,
25  jets = cms.InputTag("ak4CaloJets")
26 )
27 
28 ak4JetExtender = cms.EDProducer("JetExtender",
29  jets = cms.InputTag("ak4CaloJets"),
30  jet2TracksAtCALO = cms.InputTag("ak4JetTracksAssociatorAtCaloFace"),
31  jet2TracksAtVX = cms.InputTag("ak4JetTracksAssociatorAtVertex"),
32  coneSize = cms.double(0.4)
33 )
34 
35 ak4JTATask = cms.Task(ak4JetTracksAssociatorAtVertexPF,
36  ak4JetTracksAssociatorAtVertex,
37  ak4JetTracksAssociatorAtCaloFace,ak4JetExtender)
38 ak4JTA = cms.Sequence(ak4JTATask)
39 
40 ak4JTAExplicitTask = cms.Task(ak4JetTracksAssociatorExplicit)
41 ak4JTAExplicit = cms.Sequence(ak4JTAExplicitTask)