1 import FWCore.ParameterSet.Config
as cms
3 _barrel_tile_MTDDigitizer = cms.PSet(
4 digitizerName = cms.string(
"BTLTileDigitizer"),
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 LightCollectionTime = cms.double(0.2),
16 smearLightCollectionTime = cms.double(0.),
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 Npe_to_pC = cms.double(0.016),
37 Npe_to_V = cms.double(0.0064),
40 adcNbits = cms.uint32(10),
42 tdcNbits = cms.uint32(10),
44 adcSaturation_MIP = cms.double(600.),
46 adcThreshold_MIP = cms.double(0.064),
48 toaLSB_ns = cms.double(0.020),
52 _barrel_bar_MTDDigitizer = cms.PSet(
53 digitizerName = cms.string(
"BTLBarDigitizer"),
54 inputSimHits = cms.InputTag(
"g4SimHits:FastTimerHitsBarrel"),
55 digiCollectionTag = cms.string(
"FTLBarrel"),
56 maxSimHitsAccTime = cms.uint32(100),
57 premixStage1 = cms.bool(
False),
58 premixStage1MinCharge = cms.double(1e-4),
59 premixStage1MaxCharge = cms.double(1e6),
60 DeviceSimulation = cms.PSet(
61 bxTime = cms.double(25),
62 LightYield = cms.double(40000.),
63 LightCollectionEff = cms.double(0.25),
64 LightCollectionSlopeR = cms.double(0.075),
65 LightCollectionSlopeL = cms.double(0.075),
66 PhotonDetectionEff = cms.double(0.20),
69 ElectronicsSimulation = _barrel_tile_MTDDigitizer.ElectronicsSimulation
72 _endcap_MTDDigitizer = cms.PSet(
73 digitizerName = cms.string(
"ETLDigitizer"),
74 inputSimHits = cms.InputTag(
"g4SimHits:FastTimerHitsEndcap"),
75 digiCollectionTag = cms.string(
"FTLEndcap"),
76 maxSimHitsAccTime = cms.uint32(100),
77 premixStage1 = cms.bool(
False),
78 premixStage1MinCharge = cms.double(1e-4),
79 premixStage1MaxCharge = cms.double(1e6),
80 DeviceSimulation = cms.PSet(
81 bxTime = cms.double(25),
82 tofDelay = cms.double(1),
83 meVPerMIP = cms.double(0.085),
85 ElectronicsSimulation = cms.PSet(
86 bxTime = cms.double(25),
87 etaResolution = cms.string(
"0.03+0.0025*x"),
89 adcNbits = cms.uint32(8),
91 tdcNbits = cms.uint32(11),
93 adcSaturation_MIP = cms.double(25),
95 adcThreshold_MIP = cms.double(0.025),
97 toaLSB_ns = cms.double(0.013),
101 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
102 for _m
in [_barrel_tile_MTDDigitizer, _barrel_bar_MTDDigitizer, _endcap_MTDDigitizer]:
103 premix_stage1.toModify(_m, premixStage1 =
True)
106 mtdDigitizer = cms.PSet(
107 accumulatorType = cms.string(
"MTDDigiProducer"),
108 makeDigiSimLinks = cms.bool(
False),
109 verbosity = cms.untracked.uint32(0),
111 barrelDigitizer = _barrel_tile_MTDDigitizer,
112 endcapDigitizer = _endcap_MTDDigitizer