CMS 3D CMS Logo

PixelCPEClusterRepair_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 templates2 = cms.ESProducer("PixelCPEClusterRepairESProducer",
4  ComponentName = cms.string('PixelCPEClusterRepair'),
5  speed = cms.int32(-2),
6  #PixelErrorParametrization = cms.string('NOTcmsim'),
7  Alpha2Order = cms.bool(True),
8  UseClusterSplitter = cms.bool(False),
9 
10  # parameters to select which clusters we believe are truncated from dead double columns
11  # Be careful modifying these!
12  MaxSizeMismatchInY = cms.double(0.3),
13  MinChargeRatio = cms.double(0.8),
14 
15  # layers to run on: (only PXB 2,PXB 3,PXB 4 for now)
16  Recommend2D = cms.vstring("PXB 2","PXB 3","PXB 4"),
17 
18  # to run on damaged clusterss or not (default=no)
19  RunDamagedClusters = cms.bool(False),
20 
21  # petar, for clusterProbability() from TTRHs
22  ClusterProbComputationFlag = cms.int32(0),
23  # gavril
24  DoCosmics = cms.bool(False),
25  # The flag to regulate if the LA offset is taken from Alignment
26  # True in Run II for offline RECO
27  DoLorentz = cms.bool(True),
28 
29  LoadTemplatesFromDB = cms.bool(True)
30 
31 )
32 
33 # This customization will be removed once we get the templates for phase2 pixel
34 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
35 phase2_tracker.toModify(templates2,
36  LoadTemplatesFromDB = False,
37  DoLorentz = False,
38 )
39