1 import FWCore.ParameterSet.Config
as cms
3 _barrel_MTDDigitizer = cms.PSet(
4 digitizerName = cms.string(
"BTLDigitizer"),
5 inputSimHits = cms.InputTag(
"g4SimHits:FastTimerHitsBarrel"),
6 digiCollectionTag = cms.string(
"FTLBarrel"),
7 maxSimHitsAccTime = cms.uint32(100),
8 premixStage1 = cms.bool(
False),
9 premixStage1MinCharge = cms.double(1e-4),
10 premixStage1MaxCharge = cms.double(1e6),
11 DeviceSimulation = cms.PSet(
12 bxTime = cms.double(25),
13 LightYield = cms.double(40000.),
14 LightCollectionEff = cms.double(0.25),
15 LightCollectionSlopeR = cms.double(0.075),
16 LightCollectionSlopeL = cms.double(0.075),
17 PhotonDetectionEff = cms.double(0.20),
19 ElectronicsSimulation = cms.PSet(
20 bxTime = cms.double(25),
21 TestBeamMIPTimeRes = cms.double(4.293),
23 ScintillatorRiseTime = cms.double(1.1),
24 ScintillatorDecayTime = cms.double(40.),
25 ChannelTimeOffset = cms.double(0.),
26 smearChannelTimeOffset = cms.double(0.),
27 EnergyThreshold = cms.double(4.),
28 TimeThreshold1 = cms.double(20.),
29 TimeThreshold2 = cms.double(50.),
30 ReferencePulseNpe = cms.double(100.),
31 DarkCountRate = cms.double(10.),
32 SinglePhotonTimeResolution = cms.double(0.060),
33 SigmaElectronicNoise = cms.double(1.),
34 SigmaClock = cms.double(0.015),
35 CorrelationCoefficient = cms.double(1.),
36 SmearTimeForOOTtails = cms.bool(
True),
37 Npe_to_pC = cms.double(0.016),
38 Npe_to_V = cms.double(0.0064),
41 adcNbits = cms.uint32(10),
43 tdcNbits = cms.uint32(10),
45 adcSaturation_MIP = cms.double(600.),
47 adcThreshold_MIP = cms.double(0.064),
49 toaLSB_ns = cms.double(0.020),
55 _endcap_MTDDigitizer = cms.PSet(
56 digitizerName = cms.string(
"ETLDigitizer"),
57 inputSimHits = cms.InputTag(
"g4SimHits:FastTimerHitsEndcap"),
58 digiCollectionTag = cms.string(
"FTLEndcap"),
59 maxSimHitsAccTime = cms.uint32(100),
60 premixStage1 = cms.bool(
False),
61 premixStage1MinCharge = cms.double(1e-4),
62 premixStage1MaxCharge = cms.double(1e6),
63 DeviceSimulation = cms.PSet(
64 bxTime = cms.double(25),
65 tofDelay = cms.double(1),
66 meVPerMIP = cms.double(0.085),
68 ElectronicsSimulation = cms.PSet(
69 bxTime = cms.double(25),
70 etaResolution = cms.string(
"0.03+0.0025*x"),
72 adcNbits = cms.uint32(8),
74 tdcNbits = cms.uint32(11),
76 adcSaturation_MIP = cms.double(25),
78 adcThreshold_MIP = cms.double(0.025),
80 toaLSB_ns = cms.double(0.013),
84 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
85 for _m
in [_barrel_MTDDigitizer, _endcap_MTDDigitizer]:
86 premix_stage1.toModify(_m, premixStage1 =
True)
89 mtdDigitizer = cms.PSet(
90 accumulatorType = cms.string(
"MTDDigiProducer"),
91 makeDigiSimLinks = cms.bool(
False),
92 verbosity = cms.untracked.uint32(0),
94 barrelDigitizer = _barrel_MTDDigitizer,
95 endcapDigitizer = _endcap_MTDDigitizer