CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hgcROCParameters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #define base parameters for the HGCROC simulation in the SimCalorimetry/HGCalSimProducers/src/HGCFEElectronics.cc
4 
5 hgcROCSettings = cms.PSet(
6  # 0 only ADC, 1 ADC with pulse shape, 2 ADC+TDC with pulse shape
7  fwVersion = cms.uint32(2),
8  # leakage to bunches -2, -1, in-time, +1, +2, +3 (from J. Kaplon)
9  #NOTE: this is a fixed-size array inside the simulation (for speed) change accordingly!
10  adcPulse = cms.vdouble(0.00, 0.017, 0.817, 0.163, 0.003, 0.000),
11  pulseAvgT = cms.vdouble(0.00, 23.42298,13.16733,6.41062,5.03946,4.5320),
12  # n bits for the ADC
13  adcNbits = cms.uint32(10),
14  # ADC saturation
15  adcSaturation_fC = cms.double(100),
16  # the tdc resolution smearing (in picoseconds)
17  tdcResolutionInPs = cms.double( 0.001 ),
18  # jitter for timing noise term ns
19  jitterNoise_ns = cms.vdouble(25., 25., 25.),
20  # jitter for timing noise term ns
21  jitterConstant_ns = cms.vdouble(0.0004, 0.0004, 0.0004),
22  # LSB for TDC, assuming 12 bit dynamic range to 10 pC
23  tdcNbits = cms.uint32(12),
24  # TDC saturation
25  tdcSaturation_fC = cms.double(10000),
26  # aim to have the MIP peak at 10 ADC
27  targetMIPvalue_ADC = cms.uint32(10),
28  # raise threshold flag (~MIP/2) this is scaled
29  # for different thickness
30  adcThreshold_fC = cms.double(0.672),
31  # raise usage of TDC and mode flag (from J. Kaplon)
32  tdcOnset_fC = cms.double(60),
33  # raise usage of TDC for TOA only
34  tdcForToAOnset_fC = cms.vdouble(12., 12., 12.),
35  # LSB for time of arrival estimate from TDC in ns
36  toaLSB_ns = cms.double(0.0244),
37  #toa computation mode (0=by weighted energy, 1=simple threshold)
38  toaMode = cms.uint32(1),
39  # TDC charge drain parameterisation (from J. Kaplon)
40  tdcChargeDrainParameterisation = cms.vdouble(
41  -919.13, 365.36, -14.10, 0.2,
42  -21.85, 49.39, 22.21, 0.8,
43  -0.28, 27.14, 43.95,
44  3.89048 )
45 )