CMS 3D CMS Logo

PixelCPETemplateReco_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 templates = cms.ESProducer("PixelCPETemplateRecoESProducer",
4  ComponentName = cms.string('PixelCPETemplateReco'),
5  speed = cms.int32(-2),
6  #PixelErrorParametrization = cms.string('NOTcmsim'),
7  Alpha2Order = cms.bool(True),
8  UseClusterSplitter = cms.bool(False),
9 
10  # petar, for clusterProbability() from TTRHs
11  ClusterProbComputationFlag = cms.int32(0),
12  # gavril
13  DoCosmics = cms.bool(False),
14  # The flag to regulate if the LA offset is taken from Alignment
15  # True in Run II for offline RECO
16  DoLorentz = cms.bool(True),
17 
18  LoadTemplatesFromDB = cms.bool(True)
19 
20 )
21 
22 # This customization will be removed once we get the templates for phase2 pixel
23 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
24 phase2_tracker.toModify(templates,
25  LoadTemplatesFromDB = False,
26  DoLorentz = False,
27 )
28