CMS 3D CMS Logo

fastTimeDigitizer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 _barrel_FastTimeDigitizer = cms.PSet(
4  digitizerName = cms.string("SimpleFTLDigitizerInMIPs"),
5  inputSimHits = cms.InputTag("g4SimHits:FastTimerHitsBarrel"),
6  digiCollectionTag = cms.string("FTLBarrel"),
7  maxSimHitsAccTime = cms.uint32(100),
8  bxTime = cms.double(25),
9  tofDelay = cms.double(1),
10  DeviceSimulation = cms.PSet(
11  meVPerMIP = cms.double(3.438), # 0.9 * (4mm of LYSO * 9.55 MeV/cm) to adjust to MVP rather than average ionization loss
12  ),
13  ElectronicsSimulation = cms.PSet(
14  # n bits for the ADC
15  adcNbits = cms.uint32(12),
16  # n bits for the TDC
17  tdcNbits = cms.uint32(12),
18  # ADC saturation
19  adcSaturation_MIP = cms.double(102),
20  # for different thickness
21  adcThreshold_MIP = cms.double(0.025),
22  # LSB for time of arrival estimate from TDC in ns
23  toaLSB_ns = cms.double(0.005),
24  )
25  )
26 
27 _endcap_FastTimeDigitizer = cms.PSet(
28  digitizerName = cms.string("SimpleFTLDigitizerInMIPs"),
29  inputSimHits = cms.InputTag("g4SimHits:FastTimerHitsEndcap"),
30  digiCollectionTag = cms.string("FTLEndcap"),
31  maxSimHitsAccTime = cms.uint32(100),
32  bxTime = cms.double(25),
33  tofDelay = cms.double(1),
34  DeviceSimulation = cms.PSet(
35  meVPerMIP = cms.double(0.085), # from HGCal
36  ),
37  ElectronicsSimulation = cms.PSet(
38  # n bits for the ADC
39  adcNbits = cms.uint32(12),
40  # n bits for the TDC
41  tdcNbits = cms.uint32(12),
42  # ADC saturation
43  adcSaturation_MIP = cms.double(102),
44  # for different thickness
45  adcThreshold_MIP = cms.double(0.025),
46  # LSB for time of arrival estimate from TDC in ns
47  toaLSB_ns = cms.double(0.005),
48  )
49  )
50 
51 # Fast Timing
52 fastTimeDigitizer = cms.PSet(
53  accumulatorType = cms.string("FTLDigiProducer"),
54  doTimeSamples = cms.bool(True),
55  makeDigiSimLinks = cms.bool(False),
56  verbosity = cms.untracked.uint32(0),
57 
58  barrelDigitizer = _barrel_FastTimeDigitizer,
59  endcapDigitizer = _endcap_FastTimeDigitizer
60 )
61