1 import FWCore.ParameterSet.Config
as cms
9 Function that modifies the pixel digitiser for the Phase 1 pixel detector. 11 First argument is the pixelDigitizer object. 19 digitizer.NumPixelBarrel = cms.int32(4)
20 digitizer.NumPixelEndcap = cms.int32(3)
21 digitizer.ThresholdInElectrons_FPix = cms.double(2000.0)
22 digitizer.ThresholdInElectrons_BPix = cms.double(2000.0)
23 digitizer.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
24 digitizer.FPix_SignalResponse_p0 = cms.double(0.00171)
25 digitizer.FPix_SignalResponse_p1 = cms.double(0.711)
26 digitizer.FPix_SignalResponse_p2 = cms.double(203.)
27 digitizer.FPix_SignalResponse_p3 = cms.double(148.)
28 digitizer.BPix_SignalResponse_p0 = cms.double(0.00171)
29 digitizer.BPix_SignalResponse_p1 = cms.double(0.711)
30 digitizer.BPix_SignalResponse_p2 = cms.double(203.)
31 digitizer.BPix_SignalResponse_p3 = cms.double(148.)
34 SiPixelSimBlock = cms.PSet(
35 DoPixelAging = cms.bool(
False),
36 ReadoutNoiseInElec = cms.double(350.0),
37 deltaProductionCut = cms.double(0.03),
38 RoutList = cms.vstring(
39 'TrackerHitsPixelBarrelLowTof',
40 'TrackerHitsPixelBarrelHighTof',
41 'TrackerHitsPixelEndcapLowTof',
42 'TrackerHitsPixelEndcapHighTof'),
43 OffsetSmearing = cms.double(0.0),
44 ThresholdInElectrons_FPix = cms.double(3000.0),
45 ThresholdInElectrons_BPix = cms.double(3500.0),
46 ThresholdInElectrons_BPix_L1 = cms.double(3500.0),
47 AddThresholdSmearing = cms.bool(
True),
48 ThresholdSmearing_FPix = cms.double(210.0),
49 ThresholdSmearing_BPix = cms.double(245.0),
50 ThresholdSmearing_BPix_L1 = cms.double(245.0),
51 NoiseInElectrons = cms.double(175.0),
52 MissCalibrate = cms.bool(
True),
53 FPix_SignalResponse_p0 = cms.double(0.0043),
54 FPix_SignalResponse_p1 = cms.double(1.31),
55 FPix_SignalResponse_p2 = cms.double(93.6),
56 FPix_SignalResponse_p3 = cms.double(134.6),
57 BPix_SignalResponse_p0 = cms.double(0.0035),
58 BPix_SignalResponse_p1 = cms.double(1.23),
59 BPix_SignalResponse_p2 = cms.double(97.4),
60 BPix_SignalResponse_p3 = cms.double(126.5),
61 ElectronsPerVcal = cms.double(65.5),
62 ElectronsPerVcal_Offset = cms.double(-414.0),
63 ElectronPerAdc = cms.double(135.0),
64 TofUpperCut = cms.double(12.5),
65 AdcFullScale = cms.int32(255),
66 AdcFullScaleStack = cms.int32(255),
67 FirstStackLayer = cms.int32(5),
68 TofLowerCut = cms.double(-12.5),
69 TanLorentzAnglePerTesla_FPix = cms.double(0.106),
70 TanLorentzAnglePerTesla_BPix = cms.double(0.106),
71 AddNoisyPixels = cms.bool(
True),
72 Alpha2Order = cms.bool(
True),
73 AddPixelInefficiency = cms.bool(
True),
74 AddNoise = cms.bool(
True),
75 ChargeVCALSmearing = cms.bool(
True),
76 GainSmearing = cms.double(0.0),
77 PixGeometryType = cms.string(
'idealForDigi'),
78 useDB = cms.bool(
False),
79 LorentzAngle_DB = cms.bool(
True),
80 DeadModules_DB = cms.bool(
True),
81 killModules = cms.bool(
True),
82 NumPixelBarrel = cms.int32(3),
83 NumPixelEndcap = cms.int32(2),
90 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
91 phase1Pixel.toModify( SiPixelSimBlock, func=_modifyPixelDigitizerForPhase1Pixel )
def _modifyPixelDigitizerForPhase1Pixel(digitizer)