CMS 3D CMS Logo

SiStripSimParameters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 SiStripSimBlock = cms.PSet(
4  #---SiLinearChargeDivider
5  DeltaProductionCut = cms.double(0.120425),
6  APVpeakmode = cms.bool(False), # also SiStripDigitizerAlgorithm
7  LandauFluctuations = cms.bool(True),
8  chargeDivisionsPerStrip = cms.int32(10),
9  CosmicDelayShift = cms.untracked.double(0.0), # also SiStripDigitizerAlgorithm
10  #---SiHitDigitizer
11  DepletionVoltage = cms.double(170.0),
12  AppliedVoltage = cms.double(300.0),
13  ChargeMobility = cms.double(310.0),
14  Temperature = cms.double(273.0),
15  GevPerElectron = cms.double(3.61e-09),
16  ChargeDistributionRMS = cms.double(6.5e-10),
17  noDiffusion = cms.bool(False),
18  #---SiTrivialInduceChargeOnStrips
19  #switch to use different coupling constants set
20  #if True RunII cross talk will be used
21  #if False RunI cross talk will be used
22  CouplingConstantsRunIIDecB = cms.bool(False), #for TIB and TOB
23  CouplingConstantsRunIIDecW = cms.bool(False), #for TID and TEC
24  #TIB
25  CouplingConstantDecIB1 = cms.vdouble(0.7748, 0.0962,0.0165),
26  CouplingConstantDecIB2 = cms.vdouble(0.8300, 0.0756,0.0094),
27  CouplingConstantPeakIB1 = cms.vdouble(0.9006, 0.0497),
28  CouplingConstantPeakIB2 = cms.vdouble(0.9342, 0.0328),
29  #TOB
30  CouplingConstantDecOB1 = cms.vdouble(0.6871, 0.1222, 0.0342),
31  CouplingConstantDecOB2 = cms.vdouble(0.7250, 0.1102, 0.0273),
32  CouplingConstantPeakOB1 = cms.vdouble(0.8542, 0.0729),
33  CouplingConstantPeakOB2 = cms.vdouble(0.8719, 0.0640),
34  #TID
35  CouplingConstantDecW1a = cms.vdouble(0.786, 0.093, 0.014),
36  CouplingConstantDecW2a = cms.vdouble(0.7962, 0.0914, 0.0104),
37  CouplingConstantDecW3a = cms.vdouble(0.8164, 0.0900, 0.0018),
38  CouplingConstantPeakW1a = cms.vdouble(0.996, 0.002),
39  CouplingConstantPeakW2a = cms.vdouble(1.0, 0.000),
40  CouplingConstantPeakW3a = cms.vdouble(0.996, 0.002),
41  #TEC
42  CouplingConstantDecW1b = cms.vdouble(0.822, 0.08, 0.009),
43  CouplingConstantDecW2b = cms.vdouble(0.888, 0.05, 0.006),
44  CouplingConstantDecW3b = cms.vdouble(0.848, 0.06, 0.016),
45  CouplingConstantDecW4 = cms.vdouble(0.876, 0.06, 0.002),
46  CouplingConstantDecW5 = cms.vdouble(0.7565, 0.0913, 0.0304),
47  CouplingConstantDecW6 = cms.vdouble(0.758, 0.093, 0.026),
48  CouplingConstantDecW7 = cms.vdouble(0.7828, 0.0862, 0.0224),
49  CouplingConstantPeakW1b = cms.vdouble(0.976, 0.012),
50  CouplingConstantPeakW2b = cms.vdouble(0.998, 0.001),
51  CouplingConstantPeakW3b = cms.vdouble(0.992, 0.004),
52  CouplingConstantPeakW4 = cms.vdouble(0.992, 0.004),
53  CouplingConstantPeakW5 = cms.vdouble(0.968, 0.016),
54  CouplingConstantPeakW6 = cms.vdouble(0.972, 0.014),
55  CouplingConstantPeakW7 = cms.vdouble(0.964, 0.018),
56 
57  #RunII (2018) deconvolution parameters
58  #TIB
59  CouplingConstantRunIIDecIB1 = cms.vdouble(0.8361, 0.0703, 0.0117),
60  CouplingConstantRunIIDecIB2 = cms.vdouble(0.8616, 0.0588, 0.0104),
61  #TOB
62  CouplingConstantRunIIDecOB2 = cms.vdouble(0.7925, 0.0834, 0.0203),
63  CouplingConstantRunIIDecOB1 = cms.vdouble(0.7461, 0.0996, 0.0273),
64  #TID
65  CouplingConstantRunIIDecW1a = cms.vdouble(0.8571, 0.0608, 0.0106),
66  CouplingConstantRunIIDecW2a = cms.vdouble(0.8861, 0.049, 0.008),
67  CouplingConstantRunIIDecW3a = cms.vdouble(0.8984, 0.0494, 0.0014),
68  #TEC
69  CouplingConstantRunIIDecW1b = cms.vdouble(0.8827, 0.0518, 0.0068),
70  CouplingConstantRunIIDecW2b = cms.vdouble(0.8943, 0.0483, 0.0046),
71  CouplingConstantRunIIDecW3b = cms.vdouble(0.8611, 0.0573, 0.0121),
72  CouplingConstantRunIIDecW4 = cms.vdouble(0.8881, 0.0544, 0.0015),
73  CouplingConstantRunIIDecW5 = cms.vdouble(0.7997, 0.077, 0.0231),
74  CouplingConstantRunIIDecW6 = cms.vdouble(0.8067, 0.0769, 0.0198),
75  CouplingConstantRunIIDecW7 = cms.vdouble(0.7883, 0.0888, 0.0171),
76 
77  #-----SiStripDigitizer
78  DigiModeList = cms.PSet(SCDigi = cms.string('ScopeMode'),
79  ZSDigi = cms.string('ZeroSuppressed'),
80  PRDigi = cms.string('ProcessedRaw'),
81  VRDigi = cms.string('VirginRaw')),
82  ROUList = cms.vstring("TrackerHitsTIBLowTof","TrackerHitsTIBHighTof",
83  "TrackerHitsTIDLowTof","TrackerHitsTIDHighTof",
84  "TrackerHitsTOBLowTof","TrackerHitsTOBHighTof",
85  "TrackerHitsTECLowTof","TrackerHitsTECHighTof"),
86  GeometryType = cms.string('idealForDigi'),
87  TrackerConfigurationFromDB = cms.bool(False),
88  ZeroSuppression = cms.bool(True),
89  LorentzAngle = cms.string(''),
90  Gain = cms.string(''),
91  #-----SiStripDigitizerAlgorithm
92  PreMixingMode = cms.bool(False),
93  NoiseSigmaThreshold = cms.double(2.0),
94  electronPerAdcDec = cms.double(247.0), #tuned on collisions at 7 TeV
95  electronPerAdcPeak = cms.double(262.0), #tuned on craft08
96  FedAlgorithm = cms.int32(4),
97  FedAlgorithm_PM = cms.int32(4), # extra degree of freedom for PreMixing
98  Noise = cms.bool(True), ## NOTE : turning Noise ON/OFF will make a big change
99  #Parameters valid only if Noise = True and ZeroSuppression = False
100  RealPedestals = cms.bool(True), #The pedestal for each stip is read from the Db. if False it is added to all the strips the cnetral strip pedestal value
101  SingleStripNoise = cms.bool(True), #The noise RMS is read from the Db. If false it is considered the central strip noise
102  CommonModeNoise = cms.bool(True),
103  BaselineShift = cms.bool(True),
104  APVSaturationFromHIP = cms.bool(False),
105  APVSaturationProbScaling = cms.double(1.0),
106  APVProbabilityFile = cms.FileInPath("SimTracker/SiStripDigitizer/data/APVProbaList.txt"),
107  cmnRMStib = cms.double(5.92),
108  cmnRMStob = cms.double(1.08),
109  cmnRMStid = cms.double(3.08),
110  cmnRMStec = cms.double(2.44),
111  PedestalsOffset = cms.double(128),
112  #
113  TOFCutForDeconvolution = cms.double(50.0),
114  TOFCutForPeak = cms.double(100.0),
115  Inefficiency = cms.double(0.0)
116 )
117 
118 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
119 premix_stage1.toModify(SiStripSimBlock,
120  Noise = False,
121  PreMixingMode = True,
122  FedAlgorithm = 5, # special ZS mode: accept adc>0
123 )
124 
125 from Configuration.Eras.Modifier_run2_common_cff import run2_common
126 run2_common.toModify(SiStripSimBlock,
127  CouplingConstantsRunIIDecB = True, #for TIB and TOB
128  CouplingConstantsRunIIDecW = True #for TID and TEC
129  )