CMS 3D CMS Logo

L1EGammaCrystalsEmulatorProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 L1EGammaClusterEmuProducer = cms.EDProducer("L1EGCrystalClusterEmulatorProducer",
4  ecalTPEB = cms.InputTag("simEcalEBTriggerPrimitiveDigis","","HLT"),
5  hcalTP = cms.InputTag("simHcalTriggerPrimitiveDigis","","HLT"),
6  calib = cms.PSet(
7 
8  etaBins = cms.vdouble( 0.087 , 0.174 , 0.261 , 0.348 , 0.435 , 0.522 , 0.609 , 0.696 , 0.783 , 0.870 , 0.957 , 1.044 , 1.131 , 1.218 , 1.305 , 1.392 , 1.479),
9  ptBins = cms.vdouble( 12, 20, 30, 40, 55, 90, 1e6),
10  scale = cms.vdouble(
11  # pt < 12
12  1.18*1.1 ,1.17*1.1 ,1.19*1.1 ,1.18*1.1 ,1.19*1.1 ,1.19*1.1 ,1.19*1.1 ,1.18*1.1 ,1.19*1.1 ,1.18*1.1 ,1.19*1.1 ,1.19*1.1 ,1.19*1.1 ,1.20*1.1 ,1.19*1.1 ,1.20*1.1 ,1.19*1.1,
13  # pt < 20
14  1.14*1.03 ,1.13*1.03 ,1.13*1.03 ,1.13*1.03 ,1.13*1.03 ,1.13*1.03 ,1.13*1.03 ,1.14*1.03 ,1.14*1.03 ,1.13*1.03 ,1.13*1.03 ,1.14*1.03 ,1.13*1.03 ,1.13*1.03 ,1.14*1.03 ,1.14*1.03 ,1.12*1.03,
15  # pt < 30
16  1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.11 ,1.10,
17  # pt < 40
18  1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09 ,1.09,
19  # pt < 55
20  1.07 ,1.07 ,1.07 ,1.07 ,1.07 ,1.07 ,1.07 ,1.08 ,1.07 ,1.07 ,1.08 ,1.08 ,1.07 ,1.08 ,1.08 ,1.08 ,1.08,
21  # pt < 90
22  1.06 ,1.06 ,1.06 ,1.06 ,1.05 ,1.05 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06 ,1.06,
23  # pt < 1e6
24  1.04 ,1.04 ,1.04 ,1.04 ,1.05 ,1.04 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05 ,1.05,
25 
26  ),
27 
28  ),
29 )
30 
31 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
32 premix_stage2.toModify(L1EGammaClusterEmuProducer,
33  ecalTPEB = cms.InputTag("DMEcalEBTriggerPrimitiveDigis","","HLT"),
34  hcalTP = cms.InputTag("DMHcalTriggerPrimitiveDigis","","HLT"),
35 )