1 import FWCore.ParameterSet.Config
as cms
10 patDiscriminationByIsolationMVArun2v1raw = cms.EDProducer(
"PATTauDiscriminationByMVAIsolationRun2",
13 PATTauProducer = cms.InputTag(
'replaceMeByTauCollectionToBeUsed'),
14 Prediscriminants = noPrediscriminants,
15 loadMVAfromDB = cms.bool(
True),
16 inputFileName = cms.FileInPath(
"RecoTauTag/RecoTau/data/emptyMVAinputFile"),
17 mvaName = cms.string(
"replaceMeByNameOfMVATraining"),
18 mvaOpt = cms.string(
"replaceMeByMVAOption"),
21 srcChargedIsoPtSum = cms.string(
'chargedIsoPtSum'),
22 srcNeutralIsoPtSum = cms.string(
'neutralIsoPtSum'),
23 srcPUcorrPtSum = cms.string(
'puCorrPtSum'),
24 srcPhotonPtSumOutsideSignalCone = cms.string(
'photonPtSumOutsideSignalCone'),
25 srcFootprintCorrection = cms.string(
'footprintCorrection'),
27 verbosity = cms.int32(0)
30 patDiscriminationByIsolationMVArun2v1 = patTauDiscriminantCutMultiplexer.clone(
31 PATTauProducer = cms.InputTag(
'replaceMeByTauCollectionToBeUsed'),
32 Prediscriminants = noPrediscriminants,
33 toMultiplex = cms.InputTag(
'patDiscriminationByIsolationMVArun2v1raw'),
34 loadMVAfromDB = cms.bool(
True),
35 mvaOutput_normalization = cms.string(
"replaceMeByNormalizationToBeUsedIfAny"),
38 category = cms.uint32(0),
39 cut = cms.string(
"replaceMeByCut"),
40 variable = cms.string(
"pt"),
43 workingPoints = cms.vstring(
52 mvaIsolation2TaskRun2 = cms.Task(
53 patDiscriminationByIsolationMVArun2v1raw
54 , patDiscriminationByIsolationMVArun2v1
56 mvaIsolation2SeqRun2 = cms.Sequence(mvaIsolation2TaskRun2)