CMS 3D CMS Logo

mtdDigitizer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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  DeviceSimulation = cms.PSet(
9  bxTime = cms.double(25), # [ns]
10  LightYield = cms.double(40000.), # [photons/MeV]
11  LightCollectionEff = cms.double(0.30),
12  LightCollectionTime = cms.double(0.2), # [ns]
13  smearLightCollectionTime = cms.double(0.), # [ns]
14  PhotonDetectionEff = cms.double(0.20),
15  ),
16  ElectronicsSimulation = cms.PSet(
17  ScintillatorRiseTime = cms.double(1.1), # [ns]
18  ScintillatorDecayTime = cms.double(40.), # [ns]
19  ChannelTimeOffset = cms.double(0.), # [ns]
20  smearChannelTimeOffset = cms.double(0.), # [ns]
21  EnergyThreshold = cms.double(4.), # [photo-electrons]
22  TimeThreshold1 = cms.double(20.), # [photo-electrons]
23  TimeThreshold2 = cms.double(50.), # [photo-electrons]
24  ReferencePulseNpe = cms.double(100.), # [photo-electrons]
25  DarkCountRate = cms.double(10.), # [GHz]
26  SinglePhotonTimeResolution = cms.double(0.060), # [ns]
27  SigmaElectronicNoise = cms.double(1.), # [p.e.]
28  SigmaClock = cms.double(0.015), # [ns]
29  Npe_to_pC = cms.double(0.016), # [pC]
30  Npe_to_V = cms.double(0.0064),# [V]
31 
32  # n bits for the ADC
33  adcNbits = cms.uint32(10),
34  # n bits for the TDC
35  tdcNbits = cms.uint32(10),
36  # ADC saturation (in pC)
37  adcSaturation_MIP = cms.double(600.),
38  # for different thickness
39  adcThreshold_MIP = cms.double(0.064),
40  # LSB for time of arrival estimate from TDC in ns
41  toaLSB_ns = cms.double(0.020),
42  )
43  )
44 
45 _endcap_MTDDigitizer = cms.PSet(
46  digitizerName = cms.string("ETLDigitizer"),
47  inputSimHits = cms.InputTag("g4SimHits:FastTimerHitsEndcap"),
48  digiCollectionTag = cms.string("FTLEndcap"),
49  maxSimHitsAccTime = cms.uint32(100),
50  DeviceSimulation = cms.PSet(
51  bxTime = cms.double(25),
52  tofDelay = cms.double(1),
53  meVPerMIP = cms.double(0.085), # from HGCal
54  ),
55  ElectronicsSimulation = cms.PSet(
56  # n bits for the ADC
57  adcNbits = cms.uint32(12),
58  # n bits for the TDC
59  tdcNbits = cms.uint32(12),
60  # ADC saturation
61  adcSaturation_MIP = cms.double(102),
62  # for different thickness
63  adcThreshold_MIP = cms.double(0.025),
64  # LSB for time of arrival estimate from TDC in ns
65  toaLSB_ns = cms.double(0.005),
66  )
67  )
68 
69 # Fast Timing
70 mtdDigitizer = cms.PSet(
71  accumulatorType = cms.string("MTDDigiProducer"),
72  makeDigiSimLinks = cms.bool(False),
73  verbosity = cms.untracked.uint32(0),
74 
75  barrelDigitizer = _barrel_MTDDigitizer,
76  endcapDigitizer = _endcap_MTDDigitizer
77 )
78