CMS 3D CMS Logo

regressionModifier_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 regressionModifier = \
4  cms.PSet( modifierName = cms.string('EGRegressionModifierV2'),
5 
6  rhoCollection = cms.InputTag('fixedGridRhoFastjetAll'),
7 
8  electron_config = cms.PSet( # EB, EE
9  regressionKey_ecalonly = cms.vstring('electron_eb_ECALonly_lowpt', 'electron_eb_ECALonly', 'electron_ee_ECALonly_lowpt', 'electron_ee_ECALonly'),
10  uncertaintyKey_ecalonly = cms.vstring('electron_eb_ECALonly_lowpt_var', 'electron_eb_ECALonly_var', 'electron_ee_ECALonly_lowpt_var', 'electron_ee_ECALonly_var'),
11  regressionKey_ecaltrk = cms.vstring('electron_eb_ECALTRK_lowpt', 'electron_eb_ECALTRK', 'electron_ee_ECALTRK_lowpt', 'electron_ee_ECALTRK'),
12  uncertaintyKey_ecaltrk = cms.vstring('electron_eb_ECALTRK_lowpt_var', 'electron_eb_ECALTRK_var', 'electron_ee_ECALTRK_lowpt_var', 'electron_ee_ECALTRK_var'),
13  ),
14 
15  photon_config = cms.PSet( # EB, EE
16  regressionKey_ecalonly = cms.vstring('photon_eb_ECALonly_lowpt', 'photon_eb_ECALonly', 'photon_ee_ECALonly_lowpt', 'photon_ee_ECALonly'),
17  uncertaintyKey_ecalonly = cms.vstring('photon_eb_ECALonly_lowpt_var', 'photon_eb_ECALonly_var', 'photon_ee_ECALonly_lowpt_var', 'photon_ee_ECALonly_var'),
18  ),
19 
20  lowEnergy_ECALonlyThr = cms.double(99999.),
21  lowEnergy_ECALTRKThr = cms.double(50.),
22  highEnergy_ECALTRKThr = cms.double(200.),
23  eOverP_ECALTRKThr = cms.double(0.025),
24  epDiffSig_ECALTRKThr = cms.double(15.),
25  epSig_ECALTRKThr = cms.double(10.),
26  forceHighEnergyEcalTrainingIfSaturated = cms.bool(True)
27 
28  )
29 
30 
31 
32 regressionModifier80X = \
33  cms.PSet( modifierName = cms.string('EGRegressionModifierV1'),
34  autoDetectBunchSpacing = cms.bool(True),
35  applyExtraHighEnergyProtection = cms.bool(True),
36  bunchSpacingTag = cms.InputTag("bunchSpacingProducer"),
37  manualBunchSpacing = cms.int32(50),
38  rhoCollection = cms.InputTag("fixedGridRhoFastjetAll"),
39  vertexCollection = cms.InputTag("offlinePrimaryVertices"),
40  electron_config = cms.PSet( # EB, EE
41  regressionKey_25ns = cms.vstring('gedelectron_EBCorrection_25ns', 'gedelectron_EECorrection_25ns'),
42  uncertaintyKey_25ns = cms.vstring('gedelectron_EBUncertainty_25ns', 'gedelectron_EEUncertainty_25ns'),
43  combinationKey_25ns = cms.string('gedelectron_p4combination_25ns'),
44 
45  regressionKey_50ns = cms.vstring('gedelectron_EBCorrection_50ns', 'gedelectron_EECorrection_50ns'),
46  uncertaintyKey_50ns = cms.vstring('gedelectron_EBUncertainty_50ns', 'gedelectron_EEUncertainty_50ns'),
47  combinationKey_50ns = cms.string('gedelectron_p4combination_50ns'),
48  ),
49 
50  photon_config = cms.PSet( # EB, EE
51  regressionKey_25ns = cms.vstring('gedphoton_EBCorrection_25ns', 'gedphoton_EECorrection_25ns'),
52  uncertaintyKey_25ns = cms.vstring('gedphoton_EBUncertainty_25ns', 'gedphoton_EEUncertainty_25ns'),
53 
54  regressionKey_50ns = cms.vstring('gedphoton_EBCorrection_50ns', 'gedphoton_EECorrection_50ns'),
55  uncertaintyKey_50ns = cms.vstring('gedphoton_EBUncertainty_50ns', 'gedphoton_EEUncertainty_50ns'),
56  )
57  )