1 |
########################################
|
2 |
#### Created 07-Apr-09
|
3 |
#### by A.-M. Magnan
|
4 |
#### a.magnan@imperial.ac.uk
|
5 |
#### from TauAnalysis globalV00-00-03
|
6 |
########################################
|
7 |
|
8 |
import FWCore.ParameterSet.Config as cms
|
9 |
import copy
|
10 |
|
11 |
|
12 |
######################################################################################
|
13 |
#### Flavour ID
|
14 |
######################################################################################
|
15 |
from PhysicsTools.PatAlgos.mcMatchLayer0.jetFlavourId_cff import *
|
16 |
|
17 |
# default PAT sequence for jet flavour identification
|
18 |
patCaloJetFlavourId = cms.Sequence(jetPartons * jetPartonAssociation * jetFlavourAssociation)
|
19 |
|
20 |
######################################################################################
|
21 |
#### MC matching : genjet and parton
|
22 |
######################################################################################
|
23 |
from PhysicsTools.PatAlgos.mcMatchLayer0.jetMatch_cfi import *
|
24 |
|
25 |
patCaloJetMatch = cms.Sequence(jetPartonMatch
|
26 |
*jetGenJetMatch
|
27 |
)
|
28 |
|
29 |
######################################################################################
|
30 |
#### jet-tracks charge
|
31 |
######################################################################################
|
32 |
from PhysicsTools.PatAlgos.recoLayer0.jetTracksCharge_cff import *
|
33 |
|
34 |
## Compute JET Charge
|
35 |
caloJetCharge = copy.deepcopy(patJetCharge)
|
36 |
caloJetCharge.src = cms.InputTag("ak5JetTracksAssociatorAtVertex")
|
37 |
|
38 |
patCaloJetTracksCharge = cms.Sequence(caloJetCharge
|
39 |
)
|
40 |
|
41 |
|
42 |
|
43 |
######################################################################################
|
44 |
#### PAT sequence
|
45 |
######################################################################################
|
46 |
|
47 |
patLayer0CaloJets = cms.Sequence(
|
48 |
patCaloJetFlavourId
|
49 |
*patCaloJetTracksCharge
|
50 |
*patCaloJetMatch
|
51 |
)
|
52 |
|