Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:39

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #define base parameters for the HGCROC simulation in the SimCalorimetry/HGCalSimProducers/src/HGCFEElectronics.cc
0004 
0005 hgcROCSettings = cms.PSet(
0006     # 0 only ADC, 1 ADC with pulse shape, 2 ADC+TDC with pulse shape
0007     fwVersion         = cms.uint32(2),
0008     # leakage to bunches -2, -1, in-time, +1, +2, +3 (from J. Kaplon)
0009     #NOTE: this is a fixed-size array inside the simulation (for speed) change accordingly!
0010     adcPulse          = cms.vdouble(0.00, 0.017,   0.817,   0.163,  0.003,  0.000),
0011     pulseAvgT         = cms.vdouble(0.00, 23.42298,13.16733,6.41062,5.03946,4.5320),
0012     # n bits for the ADC
0013     adcNbits          = cms.uint32(10),
0014     # ADC saturation
0015     adcSaturation_fC  = cms.double(100),
0016     # the tdc resolution smearing (in picoseconds)
0017     tdcResolutionInPs = cms.double( 0.001 ),
0018     # jitter for timing noise term ns
0019     jitterNoise_ns = cms.vdouble(5., 5., 5.),
0020     # jitter for timing noise term ns
0021     jitterConstant_ns = cms.vdouble(0.02, 0.02, 0.02),
0022     # LSB for TDC, assuming 12 bit dynamic range to 10 pC
0023     tdcNbits          = cms.uint32(12),
0024     # TDC saturation
0025     tdcSaturation_fC  = cms.double(10000),
0026     # aim to have the MIP peak at 10 ADC
0027     targetMIPvalue_ADC   = cms.uint32(10),
0028     # raise threshold flag (~MIP/2) this is scaled
0029     # for different thickness
0030     adcThreshold_fC   = cms.double(0.672),
0031     # raise usage of TDC and mode flag (from J. Kaplon)
0032     tdcOnset_fC       = cms.double(60),
0033     # raise usage of TDC for TOA only
0034     tdcForToAOnset_fC = cms.vdouble(12., 12., 12.),
0035     # LSB for time of arrival estimate from TDC in ns
0036     toaLSB_ns         = cms.double(0.0244),
0037     #toa computation mode (0=by weighted energy, 1=simple threshold)
0038     toaMode           = cms.uint32(1),
0039     # TDC charge drain parameterisation (from J. Kaplon)
0040     tdcChargeDrainParameterisation = cms.vdouble(
0041         -919.13, 365.36, -14.10, 0.2,
0042         -21.85, 49.39,  22.21,  0.8,
0043         -0.28,   27.14,  43.95,
0044         3.89048 )
0045 )