8 newak4PFCHSL1Fastjet = ak4PFCHSL1Fastjet.clone(algorithm =
'AK5PFchs')
9 newak4PFCHSL2Relative = ak4PFCHSL2Relative.clone(algorithm =
'AK5PFchs')
10 newak4PFCHSL3Absolute = ak4PFCHSL3Absolute.clone(algorithm =
'AK5PFchs')
11 newak4PFCHSResidual = ak4PFCHSResidual.clone(algorithm =
'AK5PFchs')
13 newak4PFCHSL1FastL2L3 = ak4PFCHSL1FastL2L3.clone(correctors = cms.vstring(
'newak4PFCHSL1Fastjet',
'newak4PFCHSL2Relative',
'newak4PFCHSL3Absolute'))
14 newak4PFCHSL1FastL2L3Residual = ak4PFCHSL1FastL2L3Residual.clone(correctors = cms.vstring(
'newak4PFCHSL1Fastjet',
'newak4PFCHSL2Relative',
'newak4PFCHSL3Absolute',
'newak4PFCHSResidual'))
17 ak4PFCHSL1Fastjet.algorithm =
'AK5PFchs'
18 ak4PFCHSL2Relative.algorithm =
'AK5PFchs'
19 ak4PFCHSL3Absolute.algorithm =
'AK5PFchs'
20 ak4PFCHSResidual.algorithm =
'AK5PFchs'
24 bTagAnalysis.finalizePlots =
False
25 bTagAnalysis.finalizeOnly =
False
26 bTagAnalysis.ptRanges = cms.vdouble(0.0)
28 bTagAnalysis.doJetID =
True
29 bTagAnalysis.doJEC =
True
30 bTagAnalysis.JECsource = cms.string(
"newak4PFCHSL1FastL2L3")
31 bTagPlotsDATA = cms.Sequence(bTagAnalysis)
36 AK4byRef.jets = cms.InputTag(
"ak4PFJetsCHS")
38 ak4GenJetsForPUid = cms.EDFilter(
"GenJetSelector",
39 src = cms.InputTag(
"ak4GenJets"),
40 cut = cms.string(
'pt > 8.'),
41 filter = cms.bool(
False)
45 newpatJetGenJetMatch = patJetGenJetMatch.clone(
46 src = cms.InputTag(
"ak4PFJetsCHS"),
47 matched = cms.InputTag(
"ak4GenJetsForPUid"),
48 maxDeltaR = cms.double(0.25),
49 resolveAmbiguities = cms.bool(
True)
54 bTagValidation.finalizePlots =
False
55 bTagValidation.finalizeOnly =
False
56 bTagValidation.jetMCSrc =
'AK4byValAlgo'
57 bTagValidation.ptRanges = cms.vdouble(0.0)
58 bTagValidation.etaRanges = cms.vdouble(0.0)
59 bTagValidation.doJetID =
True
60 bTagValidation.doJEC =
True
61 bTagValidation.JECsource = cms.string(
"newak4PFCHSL1FastL2L3")
62 bTagValidation.doPUid = cms.bool(
True)
63 bTagValidation.genJetsMatched = cms.InputTag(
"newpatJetGenJetMatch")
65 prebTagSequenceMC = cms.Sequence(ak4GenJetsForPUid*newpatJetGenJetMatch*myPartons*AK4Flavour)
66 bTagPlotsMC = cms.Sequence(bTagValidation)
69 bTagValidationNoall = bTagValidation.clone(flavPlots=
"noall")
70 bTagPlotsMCbcl = cms.Sequence(myPartons*AK4Flavour*bTagValidationNoall)