CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TauMVATrainer_cfi.py
Go to the documentation of this file.
2 
3 standardHighEffDecayModeSetupSignal = cms.PSet(
4  truthMatchSource = cms.InputTag("matchMCTausShrinkingCone"),
5  decayModeAssociationSource = cms.InputTag("shrinkingConePFTauDecayModeProducer")
6 )
7 
8 standardHighEffDecayModeSetupBackground = cms.PSet(
9  truthMatchSource = cms.InputTag("matchMCQCDShrinkingCone"),
10  decayModeAssociationSource = cms.InputTag("shrinkingConePFTauDecayModeProducer")
11 )
12 
13 #### Future collections #####
14 standardInsideOutDecayModeSetupSignal = cms.PSet(
15  truthMatchSource = cms.InputTag("matchMCTausInsideOut"),
16  decayModeAssociationSource = cms.InputTag("pfTauDecayModeInsideOut")
17 )
18 
19 
20 standardInsideOutDecayModeSetupBackground = cms.PSet(
21  truthMatchSource = cms.InputTag("matchMCQCDInsideOut"),
22  decayModeAssociationSource = cms.InputTag("pfTauDecayModeInsideOut")
23 )
24 
25 """
26 #### Define the trainers for signal & background ####
27 You can add additional algorithms in the match sources, if you wish to compare performance.
28 """
29 tauMVATrainerSignal = cms.EDProducer("TauMVATrainer",
30  outputRootFileName = cms.string('output_signal.root'),
31  matchingSources = cms.VPSet(standardHighEffDecayModeSetupSignal),
32  #any object with a multiplicity larger than the given two parameters is
33  #automatically marked as "__PREFAIL__" in the output tree
34  maxPiZeroes = cms.uint32(4),
35  maxTracks = cms.uint32(3),
36  mcTruthSource = cms.InputTag("makeMCTauDecayModes"),
37  iAmSignal = cms.bool(True)
38 )
39 
40 tauMVATrainerBackground = cms.EDProducer("TauMVATrainer",
41  outputRootFileName = cms.string('output_qcd.root'),
42  matchingSources = cms.VPSet(standardHighEffDecayModeSetupBackground),
43  #any object with a multiplicity larger than the given two parameters is
44  #automatically marked as "__PREFAIL__" in the output tree
45  maxPiZeroes = cms.uint32(4),
46  maxTracks = cms.uint32(3),
47  mcTruthSource = cms.InputTag("makeMCQCDTauDecayModes"),
48  iAmSignal = cms.bool(False)
49 )
50 
51