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 patDiscriminationByIsolationMVArun2v1VLoose = patTauDiscriminantCutMultiplexer.clone(
31 PATTauProducer = cms.InputTag(
'replaceMeByTauCollectionToBeUsed'),
32 Prediscriminants = noPrediscriminants,
33 toMultiplex = cms.InputTag(
'patDiscriminationByIsolationMVArun2v1raw'),
34 key = cms.InputTag(
'patDiscriminationByIsolationMVArun2v1raw:category'),
35 loadMVAfromDB = cms.bool(
True),
36 mvaOutput_normalization = cms.string(
"replaceMeByNormalizationToBeUsedIfAny"),
39 category = cms.uint32(0),
40 cut = cms.string(
"replaceMeByCut"),
41 variable = cms.string(
"pt"),
45 patDiscriminationByIsolationMVArun2v1Loose = patDiscriminationByIsolationMVArun2v1VLoose.clone()
46 patDiscriminationByIsolationMVArun2v1Loose.mapping[0].cut = cms.string(
"replaceMeByCut")
47 patDiscriminationByIsolationMVArun2v1Medium = patDiscriminationByIsolationMVArun2v1VLoose.clone()
48 patDiscriminationByIsolationMVArun2v1Medium.mapping[0].cut = cms.string(
"replaceMeByCut")
49 patDiscriminationByIsolationMVArun2v1Tight = patDiscriminationByIsolationMVArun2v1VLoose.clone()
50 patDiscriminationByIsolationMVArun2v1Tight.mapping[0].cut = cms.string(
"replaceMeByCut")
51 patDiscriminationByIsolationMVArun2v1VTight = patDiscriminationByIsolationMVArun2v1VLoose.clone()
52 patDiscriminationByIsolationMVArun2v1VTight.mapping[0].cut = cms.string(
"replaceMeByCut")
53 patDiscriminationByIsolationMVArun2v1VVTight = patDiscriminationByIsolationMVArun2v1VLoose.clone()
54 patDiscriminationByIsolationMVArun2v1VVTight.mapping[0].cut = cms.string(
"replaceMeByCut")
56 mvaIsolation2SeqRun2 = cms.Sequence(
57 patDiscriminationByIsolationMVArun2v1raw
58 + patDiscriminationByIsolationMVArun2v1VLoose
59 + patDiscriminationByIsolationMVArun2v1Loose
60 + patDiscriminationByIsolationMVArun2v1Medium
61 + patDiscriminationByIsolationMVArun2v1Tight
62 + patDiscriminationByIsolationMVArun2v1VTight
63 + patDiscriminationByIsolationMVArun2v1VVTight