CMS 3D CMS Logo

HcalTimeSlew_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 HcalTimeSlewEP = cms.ESSource("HcalTimeSlewEP",
4  appendToDataLabel = cms.string("HBHE"),
5  # For method2/simulation
6  timeSlewParametersM2 = cms.VPSet(
7  cms.PSet(#Slow
8  tzero = cms.double(23.960177), slope = cms.double(-3.178648), tmax = cms.double(16.00)),
9  cms.PSet(#Medium
10  tzero = cms.double(13.307784), slope = cms.double(-1.556668), tmax = cms.double(10.00)),
11  cms.PSet(#Fast
12  tzero = cms.double(9.109694), slope = cms.double(-1.075824), tmax = cms.double(6.25))
13  ),
14  # For method3
15  timeSlewParametersM3 = cms.VPSet(
16  cms.PSet(#TestStand (Parameters not used)
17  cap = cms.double(6.0), tspar0 = cms.double(12.2999), tspar1 = cms.double(-2.19142), tspar2 = cms.double(0.0), tspar0_siPM = cms.double(0.0), tspar1_siPM = cms.double(0.0), tspar2_siPM = cms.double(0.0)),
18  cms.PSet(#Data
19  cap = cms.double(6.0), tspar0 = cms.double(15.5), tspar1 = cms.double(-3.2), tspar2 = cms.double(32.0), tspar0_siPM = cms.double(0.0), tspar1_siPM = cms.double(0.0), tspar2_siPM = cms.double(0.0)),
20  cms.PSet(#MC
21  cap = cms.double(6.0), tspar0 = cms.double(12.2999), tspar1 = cms.double(-2.19142), tspar2 = cms.double(0.0), tspar0_siPM = cms.double(0.0), tspar1_siPM = cms.double(0.0), tspar2_siPM = cms.double(0.0)),
22  cms.PSet(#HBHE
23  cap = cms.double(6.0), tspar0 = cms.double(12.2999), tspar1 = cms.double(-2.19142), tspar2 = cms.double(0.0), tspar0_siPM = cms.double(0.0), tspar1_siPM = cms.double(0.0), tspar2_siPM = cms.double(0.0))
24  )
25 )
26 
27 from Configuration.Eras.Modifier_run2_HE_2018_cff import run2_HE_2018
28 #HBHE2018 - Medium
29 run2_HE_2018.toModify(
30  HcalTimeSlewEP, timeSlewParametersM2 = {
31  1: dict(tzero = cms.double(11.977461), slope = cms.double(-1.5610227),tmax = cms.double(10.00))})