1 import FWCore.ParameterSet.Config
as cms
5 fC_per_ele = 1.6020506e-4
6 nonAgedNoises = [2100.0,2100.0,1600.0]
9 hgceeDigitizer = cms.PSet(
10 accumulatorType = cms.string(
"HGCDigiProducer"),
11 hitCollection = cms.string(
"HGCHitsEE"),
12 digiCollection = cms.string(
"HGCDigisEE"),
13 maxSimHitsAccTime = cms.uint32(100),
14 bxTime = cms.double(25),
15 eVPerEleHolePair = cms.double(eV_per_eh_pair),
16 tofDelay = cms.double(1),
17 digitizationType = cms.uint32(0),
18 makeDigiSimLinks = cms.bool(
False),
19 useAllChannels = cms.bool(
True),
20 verbosity = cms.untracked.uint32(0),
22 keV2fC = cms.double(0.044259),
23 noise_fC = cms.vdouble( [x*fC_per_ele
for x
in nonAgedNoises] ),
24 doTimeSamples = cms.bool(
False),
27 fwVersion = cms.uint32(2),
30 adcPulse = cms.vdouble(0.00, 0.017, 0.817, 0.163, 0.003, 0.000),
31 pulseAvgT = cms.vdouble(0.00, 23.42298,13.16733,6.41062,5.03946,4.5320),
33 adcNbits = cms.uint32(10),
35 adcSaturation_fC = cms.double(100),
37 tdcResolutionInPs = cms.double( 0.001 ),
39 tdcNbits = cms.uint32(12),
41 tdcSaturation_fC = cms.double(10000),
44 adcThreshold_fC = cms.double(0.672),
46 tdcOnset_fC = cms.double(60) ,
48 toaLSB_ns = cms.double(0.005),
50 toaMode = cms.uint32(1),
52 tdcChargeDrainParameterisation = cms.vdouble(
53 -919.13, 365.36, -14.10, 0.2,
54 -21.85, 49.39, 22.21, 0.8,
62 hgchefrontDigitizer = cms.PSet(
63 accumulatorType = cms.string(
"HGCDigiProducer"),
64 hitCollection = cms.string(
"HGCHitsHEfront"),
65 digiCollection = cms.string(
"HGCDigisHEfront"),
66 maxSimHitsAccTime = cms.uint32(100),
67 bxTime = cms.double(25),
68 tofDelay = cms.double(1),
69 digitizationType = cms.uint32(0),
70 makeDigiSimLinks = cms.bool(
False),
71 useAllChannels = cms.bool(
True),
72 verbosity = cms.untracked.uint32(0),
74 keV2fC = cms.double(0.044259),
75 noise_fC = cms.vdouble( [x*fC_per_ele
for x
in nonAgedNoises] ),
76 doTimeSamples = cms.bool(
False),
79 fwVersion = cms.uint32(2),
81 adcPulse = cms.vdouble(0.00, 0.017, 0.817, 0.163, 0.003, 0.000),
82 pulseAvgT = cms.vdouble(0.00, 23.42298,13.16733,6.41062,5.03946,4.5320),
84 adcNbits = cms.uint32(10),
86 adcSaturation_fC = cms.double(100),
88 tdcResolutionInPs = cms.double( 0.001 ),
90 tdcNbits = cms.uint32(12),
92 tdcSaturation_fC = cms.double(10000),
95 adcThreshold_fC = cms.double(0.672),
97 tdcOnset_fC = cms.double(60) ,
99 toaLSB_ns = cms.double(0.005),
101 toaMode = cms.uint32(1),
103 tdcChargeDrainParameterisation = cms.vdouble(
104 -919.13, 365.36, -14.10, 0.2,
105 -21.85, 49.39, 22.21, 0.8,
114 hgchebackDigitizer = cms.PSet(
115 accumulatorType = cms.string(
"HGCDigiProducer"),
116 hitCollection = cms.string(
"HcalHits"),
117 digiCollection = cms.string(
"HGCDigisHEback"),
118 maxSimHitsAccTime = cms.uint32(100),
119 bxTime = cms.double(25),
120 tofDelay = cms.double(1),
121 digitizationType = cms.uint32(1),
122 makeDigiSimLinks = cms.bool(
False),
123 useAllChannels = cms.bool(
True),
124 verbosity = cms.untracked.uint32(0),
126 keV2MIP = cms.double(1./616.0),
127 noise_MIP = cms.double(0.2),
128 doTimeSamples = cms.bool(
False),
129 nPEperMIP = cms.double(11.0),
130 nTotalPE = cms.double(1156),
131 xTalk = cms.double(0.25),
132 sdPixels = cms.double(3.0),
135 fwVersion = cms.uint32(0),
137 adcNbits = cms.uint32(12),
139 adcSaturation_fC = cms.double(1024.0),
141 adcThreshold_fC = cms.double(0.75)
147 endOfLifeNoises = [2400.0,2250.0,1750.0]
149 digitizer.digiCfg.noise_fC = cms.vdouble( [x*fC_per_ele
for x
in endOfLifeNoises] )
def HGCal_setEndOfLifeNoise(digitizer)