CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hcalSimParameters_cfi.py
Go to the documentation of this file.
2 
3 hcalSimParameters = cms.PSet(
4  # In HF, the SimHits energy is actually
5  # the number of photoelectrons from the shower
6  # library. However, we need a lot more
7  # smearing, because the first level of the PMT
8  # only gives ~6 electrons per pe, which
9  # comes out to a 40% smearing of the single pe peak!
10  #
11  hf1 = cms.PSet(
12  readoutFrameSize = cms.int32(10),
13  binOfMaximum = cms.int32(5),
14  samplingFactor = cms.double(0.383),
15  doPhotoStatistics = cms.bool(True),
16  photoelectronsToAnalog = cms.double(2.79),
17  simHitToPhotoelectrons = cms.double(6.0),
18  syncPhase = cms.bool(True),
19  timePhase = cms.double(9.0)
20  ),
21  hf2 = cms.PSet(
22  readoutFrameSize = cms.int32(10),
23  binOfMaximum = cms.int32(5),
24  samplingFactor = cms.double(0.368),
25  doPhotoStatistics = cms.bool(True),
26  photoelectronsToAnalog = cms.double(1.843),
27  simHitToPhotoelectrons = cms.double(6.0),
28  syncPhase = cms.bool(True),
29  timePhase = cms.double(9.0)
30  ),
31  ho = cms.PSet(
32  readoutFrameSize = cms.int32(10),
33  firstRing = cms.int32(1),
34  binOfMaximum = cms.int32(5),
35  doPhotoStatistics = cms.bool(True),
36  photoelectronsToAnalog = cms.vdouble(0.24, 0.24, 0.24, 0.24,
37  0.17, 0.17, 0.17, 0.17, 0.17, 0.17,
38  0.17, 0.17, 0.17, 0.17, 0.17),
39  simHitToPhotoelectrons = cms.double(4000.0), # is not actually used
40  samplingFactors = cms.vdouble(231.0, 231.0, 231.0, 231.0,
41  360.0, 360.0, 360.0, 360.0, 360.0, 360.0,
42  360.0, 360.0, 360.0, 360.0, 360.0),
43  syncPhase = cms.bool(True),
44  timePhase = cms.double(5.0),
45  timeSmearing = cms.bool(False),
46  # 0 is HPD, 1 is SiPM, 2, is hardcoded combination
47  siPMCode = cms.int32(2)
48  ),
49  hb = cms.PSet(
50  readoutFrameSize = cms.int32(10),
51  firstRing = cms.int32(1),
52  binOfMaximum = cms.int32(5),
53  doPhotoStatistics = cms.bool(True),
54  photoelectronsToAnalog = cms.vdouble([0.3305]*16),
55  simHitToPhotoelectrons = cms.double(2000.0),
56  samplingFactors = cms.vdouble(
57  125.44, 125.54, 125.32, 125.13, 124.46,
58  125.01, 125.22, 125.48, 124.45, 125.90,
59  125.83, 127.01, 126.82, 129.73, 131.83,
60  143.52),
61  syncPhase = cms.bool(True),
62  timePhase = cms.double(5.0),
63  timeSmearing = cms.bool(True),
64  siPMCells = cms.vint32()
65  ),
66  he = cms.PSet(
67  readoutFrameSize = cms.int32(10),
68  firstRing = cms.int32(16),
69  binOfMaximum = cms.int32(5),
70  doPhotoStatistics = cms.bool(True),
71  photoelectronsToAnalog = cms.vdouble([0.3305]*14),
72  simHitToPhotoelectrons = cms.double(2000.0),
73  samplingFactors = cms.vdouble(
74  210.55, 197.93, 186.12, 189.64, 189.63,
75  190.28, 189.61, 189.60, 190.12, 191.22,
76  190.90, 193.06, 188.42, 188.42),
77  syncPhase = cms.bool(True),
78  timePhase = cms.double(5.0),
79  timeSmearing = cms.bool(True)
80  ),
81  zdc = cms.PSet(
82  readoutFrameSize = cms.int32(10),
83  binOfMaximum = cms.int32(5),
84  samplingFactor = cms.double(1.000),
85  doPhotoStatistics = cms.bool(True),
86  photoelectronsToAnalog = cms.double(1.843),
87  simHitToPhotoelectrons = cms.double(6.0),
88  syncPhase = cms.bool(True),
89  timePhase = cms.double(-4.0)
90  ),
91 )
92 
93 hcalSimParameters.hoZecotek = hcalSimParameters.ho.clone()
94 hcalSimParameters.hoZecotek.pixels = cms.int32(36000)
95 hcalSimParameters.hoZecotek.photoelectronsToAnalog = [3.0]*16
96 
97 hcalSimParameters.hoHamamatsu = hcalSimParameters.ho.clone()
98 hcalSimParameters.hoHamamatsu.pixels = cms.int32(960)
99 hcalSimParameters.hoHamamatsu.photoelectronsToAnalog = [3.0]*16