CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/SimCalorimetry/HcalSimProducers/python/hcalSimParameters_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 hcalSimParameters = cms.PSet(
00004     #  In HF, the SimHits energy is actually
00005     # the number of photoelectrons from the shower
00006     # library.  However, we need a lot more
00007     # smearing, because the first level of the PMT
00008     # only gives ~6 electrons per pe, which
00009     # comes out to a 40% smearing of the single pe peak!
00010     #
00011     hf1 = cms.PSet(
00012         readoutFrameSize = cms.int32(5),
00013         binOfMaximum = cms.int32(3),
00014         samplingFactor = cms.double(0.383),
00015         doPhotoStatistics = cms.bool(True),
00016         photoelectronsToAnalog = cms.double(2.79),
00017         simHitToPhotoelectrons = cms.double(6.0),
00018         syncPhase = cms.bool(True),
00019         timePhase = cms.double(14.0)        
00020     ),
00021     hf2 = cms.PSet(
00022         readoutFrameSize = cms.int32(5),
00023         binOfMaximum = cms.int32(3),
00024         samplingFactor = cms.double(0.368),
00025         doPhotoStatistics = cms.bool(True),
00026         photoelectronsToAnalog = cms.double(1.843),
00027         simHitToPhotoelectrons = cms.double(6.0),
00028         syncPhase = cms.bool(True),
00029         timePhase = cms.double(13.0)
00030     ),
00031     ho = cms.PSet(
00032         readoutFrameSize = cms.int32(10),
00033         firstRing = cms.int32(1),
00034         binOfMaximum = cms.int32(5),
00035         doPhotoStatistics = cms.bool(True),
00036         photoelectronsToAnalog = cms.vdouble(0.24, 0.24, 0.24, 0.24,
00037             0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 
00038             0.17, 0.17, 0.17, 0.17, 0.17), 
00039         simHitToPhotoelectrons = cms.double(4000.0), # is not actually used
00040         samplingFactors = cms.vdouble(231.0, 231.0, 231.0, 231.0,
00041             360.0, 360.0, 360.0, 360.0, 360.0, 360.0,
00042             360.0, 360.0, 360.0, 360.0, 360.0),
00043         syncPhase = cms.bool(True),
00044         timePhase = cms.double(5.0),
00045         timeSmearing = cms.bool(False),
00046         # 0 is HPD, 1 is SiPM, 2 fetches HPD/Zecotek/Hamamatsufrom DB
00047         siPMCode = cms.int32(2)
00048     ),
00049     hb = cms.PSet(
00050         readoutFrameSize = cms.int32(10),
00051         firstRing = cms.int32(1),
00052         binOfMaximum = cms.int32(5),
00053         doPhotoStatistics = cms.bool(True),
00054         photoelectronsToAnalog = cms.vdouble([0.3305]*16),
00055         simHitToPhotoelectrons = cms.double(2000.0),
00056         samplingFactors = cms.vdouble(
00057             125.44, 125.54, 125.32, 125.13, 124.46,
00058             125.01, 125.22, 125.48, 124.45, 125.90,
00059             125.83, 127.01, 126.82, 129.73, 131.83,
00060             143.52),            
00061         syncPhase = cms.bool(True),
00062         timePhase = cms.double(6.0),
00063         timeSmearing = cms.bool(True),
00064         siPMCells = cms.vint32()
00065     ),
00066     he = cms.PSet(
00067         readoutFrameSize = cms.int32(10),
00068         firstRing = cms.int32(16),
00069         binOfMaximum = cms.int32(5),
00070         doPhotoStatistics = cms.bool(True),
00071         photoelectronsToAnalog = cms.vdouble([0.3305]*14),
00072         simHitToPhotoelectrons = cms.double(2000.0),
00073         samplingFactors = cms.vdouble(
00074             210.55, 197.93, 186.12, 189.64, 189.63,
00075             190.28, 189.61, 189.60, 190.12, 191.22,
00076             190.90, 193.06, 188.42, 188.42),
00077         syncPhase = cms.bool(True),
00078         timePhase = cms.double(6.0),
00079         timeSmearing = cms.bool(True)
00080     ),
00081     zdc = cms.PSet(
00082         readoutFrameSize = cms.int32(10),
00083         binOfMaximum = cms.int32(5),
00084         samplingFactor = cms.double(1.000),
00085         doPhotoStatistics = cms.bool(True),
00086         photoelectronsToAnalog = cms.double(1.843),
00087         simHitToPhotoelectrons = cms.double(6.0),
00088         syncPhase = cms.bool(True),
00089         timePhase = cms.double(-4.0)
00090     ),
00091 )
00092 
00093 hcalSimParameters.hoZecotek = hcalSimParameters.ho.clone()
00094 hcalSimParameters.hoZecotek.pixels = cms.int32(36000)
00095 hcalSimParameters.hoZecotek.photoelectronsToAnalog = [3.0]*16
00096 
00097 hcalSimParameters.hoHamamatsu = hcalSimParameters.ho.clone()
00098 hcalSimParameters.hoHamamatsu.pixels = cms.int32(960)
00099 hcalSimParameters.hoHamamatsu.photoelectronsToAnalog = [3.0]*16