1 import FWCore.ParameterSet.Config
as cms
6 import RecoTauTag.RecoTau.patTauDiscriminationByMVAIsolationRun2_cfi
as _mod
11 patDiscriminationByIsolationMVArun2v1raw = _mod.patTauDiscriminationByMVAIsolationRun2.clone(
13 PATTauProducer =
'replaceMeByTauCollectionToBeUsed',
14 Prediscriminants = noPrediscriminants,
16 inputFileName =
"RecoTauTag/RecoTau/data/emptyMVAinputFile",
17 mvaName =
"replaceMeByNameOfMVATraining",
18 mvaOpt =
"replaceMeByMVAOption",
20 srcChargedIsoPtSum =
'chargedIsoPtSum',
21 srcNeutralIsoPtSum =
'neutralIsoPtSum',
22 srcPUcorrPtSum =
'puCorrPtSum',
23 srcPhotonPtSumOutsideSignalCone =
'photonPtSumOutsideSignalCone',
24 srcFootprintCorrection =
'footprintCorrection',
27 patDiscriminationByIsolationMVArun2v1 = patTauDiscriminantCutMultiplexer.clone(
28 PATTauProducer =
'replaceMeByTauCollectionToBeUsed',
29 Prediscriminants = noPrediscriminants,
30 toMultiplex =
'patDiscriminationByIsolationMVArun2v1raw',
32 mvaOutput_normalization =
"replaceMeByNormalizationToBeUsedIfAny",
35 category = cms.uint32(0),
36 cut = cms.string(
"replaceMeByCut"),
37 variable = cms.string(
"pt"),
49 mvaIsolation2TaskRun2 = cms.Task(
50 patDiscriminationByIsolationMVArun2v1raw
51 , patDiscriminationByIsolationMVArun2v1
53 mvaIsolation2SeqRun2 = cms.Sequence(mvaIsolation2TaskRun2)