CMS 3D CMS Logo

SiPixelClusterizer_cfi.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizerDefault_cfi import SiPixelClusterizerDefault as _SiPixelClusterizerDefault
5 siPixelClusters = _SiPixelClusterizerDefault.clone()
6 
7 # phase1 pixel
8 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
9 phase1Pixel.toModify(siPixelClusters,
10  VCaltoElectronGain = 47, # L2-4: 47 +- 4.7
11  VCaltoElectronGain_L1 = 50, # L1: 49.6 +- 2.6
12  VCaltoElectronOffset = -60, # L2-4: -60 +- 130
13  VCaltoElectronOffset_L1 = -670, # L1: -670 +- 220
14  ChannelThreshold = 10,
15  SeedThreshold = 1000,
16  ClusterThreshold = 4000,
17  ClusterThreshold_L1 = 2000
18 )
19 
20 # Need these until phase2 pixel templates are used
21 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
22 phase2_tracker.toModify(siPixelClusters, # FIXME
23  src = 'simSiPixelDigis:Pixel',
24  MissCalibrate = False,
25  Phase2Calibration = True,
26  Phase2ReadoutMode = -1, # Flag to decide Readout Mode : linear TDR (-1), dual slope with slope parameters (+1,+2,+3,+4 ...) with threshold subtraction
27  Phase2DigiBaseline = 1200.,
28  Phase2KinkADC = 8,
29  ElectronPerADCGain = 600. # it can be changed to something else (e.g. 135e) if needed
30 )
31 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
32 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,
33  src = "mixData:Pixel"
34 )