CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HBHEDarkening_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # energy = center of mass energy (beam energy x2), GeV
4 # [intlumi] = fb-1
5 # [lumirate] = fb-1/hr
6 # dose maps only produced for 8 and 14 TeV - used also for 7 and 13 TeV, respectively
7 
8 # total for phase0/1 ~ 300 fb-1
9 _years_LHC = cms.VPSet(
10  cms.PSet(year = cms.string("2011"), intlumi = cms.double(5.6), lumirate = cms.double(0.005), energy = cms.int32(8)),
11  cms.PSet(year = cms.string("2012"), intlumi = cms.double(23.3), lumirate = cms.double(0.013), energy = cms.int32(8)),
12  cms.PSet(year = cms.string("2015"), intlumi = cms.double(4.1), lumirate = cms.double(0.009), energy = cms.int32(14)),
13  cms.PSet(year = cms.string("2016"), intlumi = cms.double(41.0), lumirate = cms.double(0.026), energy = cms.int32(14)),
14  cms.PSet(year = cms.string("2017"), intlumi = cms.double(45.0), lumirate = cms.double(0.043), energy = cms.int32(14)),
15  cms.PSet(year = cms.string("2018"), intlumi = cms.double(45.0), lumirate = cms.double(0.043), energy = cms.int32(14)),
16  cms.PSet(year = cms.string("2021"), intlumi = cms.double(45.0), lumirate = cms.double(0.05), energy = cms.int32(14)),
17  cms.PSet(year = cms.string("2022"), intlumi = cms.double(45.0), lumirate = cms.double(0.05), energy = cms.int32(14)),
18  cms.PSet(year = cms.string("2023"), intlumi = cms.double(50.0), lumirate = cms.double(0.05), energy = cms.int32(14)),
19 )
20 
21 # total for phase2 nominal = 3000 fb-1 (including phase0/1) @ 5.0E34/cm^2/s
22 _years_HLLHC_nominal = cms.VPSet(
23  cms.PSet(year = cms.string("2038"), intlumi = cms.double(2700), lumirate = cms.double(0.15), energy = cms.int32(14)),
24 )
25 
26 # total for phase2 ultimate = 4500 fb-1 (including phase0/1) @ 7.5E34/cm^2/s
27 _years_HLLHC_ultimate = cms.VPSet(
28  cms.PSet(year = cms.string("2029"), intlumi = cms.double(700), lumirate = cms.double(0.15), energy = cms.int32(14)),
29  cms.PSet(year = cms.string("2039"), intlumi = cms.double(3500), lumirate = cms.double(0.225), energy = cms.int32(14)),
30 )
31 
32 HEDarkeningEP = cms.ESSource("HBHEDarkeningEP",
33  appendToDataLabel = cms.string("HE"),
34  ieta_shift = cms.int32(16),
35  # parameters taken from https://indico.cern.ch/event/721565/contributions/2966213/attachments/1632432/2603148/2018.04.12_Updated_DvsR_fits_and_predictions.pdf, slide 3
36  drdA = cms.double(2.7383),
37  drdB = cms.double(0.37471),
38  dosemaps = cms.VPSet(
39  cms.PSet(energy = cms.int32(8), file = cms.FileInPath("CalibCalorimetry/HcalPlugins/data/dosemapHE_4TeV.txt")),
40  cms.PSet(energy = cms.int32(14), file = cms.FileInPath("CalibCalorimetry/HcalPlugins/data/dosemapHE_7TeV.txt")),
41  ),
42  years = _years_LHC + _years_HLLHC_nominal,
43 )
44 
45 HBDarkeningEP = HEDarkeningEP.clone(
46  appendToDataLabel = cms.string("HB"),
47  ieta_shift = cms.int32(1),
48  dosemaps = cms.VPSet(
49  cms.PSet(energy = cms.int32(8), file = cms.FileInPath("CalibCalorimetry/HcalPlugins/data/dosemapHB_4TeV.txt")),
50  cms.PSet(energy = cms.int32(14), file = cms.FileInPath("CalibCalorimetry/HcalPlugins/data/dosemapHB_7TeV.txt")),
51  ),
52 )