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  #payloadType = cms.string('Full'),
23  SeedThreshold = cms.int32(1000),
24  ClusterThreshold = cms.int32(4000),
25  ClusterThreshold_L1 = cms.int32(4000),
26  # **************************************
27  maxNumberOfClusters = cms.int32(-1), # -1 means no limit.
28 )
29 
30 # phase1 pixel
31 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
32 phase1Pixel.toModify(siPixelClusters,
33  VCaltoElectronGain = cms.int32(47), # L2-4: 47 +- 4.7
34  VCaltoElectronGain_L1 = cms.int32(50), # L1: 49.6 +- 2.6
35  VCaltoElectronOffset = cms.int32(-60), # L2-4: -60 +- 130
36  VCaltoElectronOffset_L1 = cms.int32(-670), # L1: -670 +- 220
37  ChannelThreshold = cms.int32(10),
38  SeedThreshold = cms.int32(1000),
39  ClusterThreshold = cms.int32(4000),
40  ClusterThreshold_L1 = cms.int32(2000)
41 
42 )
43 
44 # Need these until phase2 pixel templates are used
45 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
46 phase2_tracker.toModify(siPixelClusters, # FIXME
47  src = cms.InputTag('simSiPixelDigis', "Pixel"),
48  MissCalibrate = False,
49  ElectronPerADCGain = cms.double(600.) # it can be changed to something else (e.g. 135e) if needed
50 )
51 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
52 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,
53  src = "mixData:Pixel"
54 )