-
Notifications
You must be signed in to change notification settings - Fork 1
/
redoSubstructure_cff.py
36 lines (30 loc) · 1.84 KB
/
redoSubstructure_cff.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import FWCore.ParameterSet.Config as cms
from RecoJets.Configuration.RecoPFJets_cff import ak8PFJetsCHS, ak8PFJetsCHSPruned, ak8PFJetsCHSSoftDrop, ak8PFJetsCHSPrunedMass, ak8PFJetsCHSSoftDropMass
chs = cms.EDFilter("CandPtrSelector",
src = cms.InputTag('packedPFCandidates'),
cut = cms.string('fromPV')
)
ak8PFJetsCHS.src = cms.InputTag('chs')
ak8PFJetsCHSPruned.src = cms.InputTag('chs')
ak8PFJetsCHSSoftDrop.src = cms.InputTag('chs')
NjettinessAK8 = cms.EDProducer("NjettinessAdder",
src = cms.InputTag("ak8PFJetsCHS"),
Njets = cms.vuint32(1, 2, 3, 4),
# variables for measure definition :
measureDefinition = cms.uint32( 0 ), # CMS default is normalized measure
beta = cms.double(1.0), # CMS default is 1
R0 = cms.double( 0.8 ), # CMS default is jet cone size
Rcutoff = cms.double( -999.0), # not used by default
# variables for axes definition :
axesDefinition = cms.uint32( 6 ), # CMS default is 1-pass KT axes
nPass = cms.int32(-999), # not used by default
akAxesR0 = cms.double(-999.0) # not used by default
)
substructureSequence = cms.Sequence(chs +
ak8PFJetsCHS +
ak8PFJetsCHSPruned +
ak8PFJetsCHSSoftDrop +
NjettinessAK8 +
ak8PFJetsCHSPrunedMass +
ak8PFJetsCHSSoftDropMass
)