3 standardHighEffDecayModeSetupSignal = cms.PSet(
4 truthMatchSource = cms.InputTag(
"matchMCTausShrinkingCone"),
5 decayModeAssociationSource = cms.InputTag(
"shrinkingConePFTauDecayModeProducer")
8 standardHighEffDecayModeSetupBackground = cms.PSet(
9 truthMatchSource = cms.InputTag(
"matchMCQCDShrinkingCone"),
10 decayModeAssociationSource = cms.InputTag(
"shrinkingConePFTauDecayModeProducer")
14 standardInsideOutDecayModeSetupSignal = cms.PSet(
15 truthMatchSource = cms.InputTag(
"matchMCTausInsideOut"),
16 decayModeAssociationSource = cms.InputTag(
"pfTauDecayModeInsideOut")
20 standardInsideOutDecayModeSetupBackground = cms.PSet(
21 truthMatchSource = cms.InputTag(
"matchMCQCDInsideOut"),
22 decayModeAssociationSource = cms.InputTag(
"pfTauDecayModeInsideOut")
26 #### Define the trainers for signal & background ####
27 You can add additional algorithms in the match sources, if you wish to compare performance.
29 tauMVATrainerSignal = cms.EDProducer(
"TauMVATrainer",
30 outputRootFileName = cms.string(
'output_signal.root'),
31 matchingSources = cms.VPSet(standardHighEffDecayModeSetupSignal),
34 maxPiZeroes = cms.uint32(4),
35 maxTracks = cms.uint32(3),
36 mcTruthSource = cms.InputTag(
"makeMCTauDecayModes"),
37 iAmSignal = cms.bool(
True)
40 tauMVATrainerBackground = cms.EDProducer(
"TauMVATrainer",
41 outputRootFileName = cms.string(
'output_qcd.root'),
42 matchingSources = cms.VPSet(standardHighEffDecayModeSetupBackground),
45 maxPiZeroes = cms.uint32(4),
46 maxTracks = cms.uint32(3),
47 mcTruthSource = cms.InputTag(
"makeMCQCDTauDecayModes"),
48 iAmSignal = cms.bool(
False)