CMS 3D CMS Logo

SiPixelClusterizer_cfi.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 #
6 siPixelClusters = cms.EDProducer("SiPixelClusterProducer",
7  SiPixelGainCalibrationServiceParameters,
8  src = cms.InputTag("siPixelDigis"),
9  ChannelThreshold = cms.int32(1000),
10  MissCalibrate = cms.untracked.bool(True),
11  SplitClusters = cms.bool(False),
12  VCaltoElectronGain = cms.int32(65),
13  VCaltoElectronGain_L1 = cms.int32(65),
14  VCaltoElectronOffset = cms.int32(-414),
15  VCaltoElectronOffset_L1 = cms.int32(-414),
16  # **************************************
17  # **** payLoadType Options ****
18  # **** HLT - column granularity ****
19  # **** Offline - gain:col/ped:pix ****
20  # **************************************
21  payloadType = cms.string('Offline'),
22  SeedThreshold = cms.int32(1000),
23  ClusterThreshold = cms.int32(4000),
24  ClusterThreshold_L1 = cms.int32(4000),
25  # **************************************
26  maxNumberOfClusters = cms.int32(-1), # -1 means no limit.
27 )
28 
29 # phase1 pixel
30 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
31 phase1Pixel.toModify(siPixelClusters,
32  VCaltoElectronGain = cms.int32(47), # L2-4: 47 +- 4.7
33  VCaltoElectronGain_L1 = cms.int32(50), # L1: 49.6 +- 2.6
34  VCaltoElectronOffset = cms.int32(-60), # L2-4: -60 +- 130
35  VCaltoElectronOffset_L1 = cms.int32(-670), # L1: -670 +- 220
36  ChannelThreshold = cms.int32(250),
37  ClusterThreshold_L1 = cms.int32(2000)
38 )
39 
40 # Need these until phase2 pixel templates are used
41 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
42 phase2_tracker.toModify(siPixelClusters, # FIXME
43  src = cms.InputTag('simSiPixelDigis', "Pixel"),
44  MissCalibrate = False,
45  ElectronPerADCGain = cms.double(600.) # it can be changed to something else (e.g. 135e) if needed
46 )