CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelMonitorTrack_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # This object is used to make changes for different running scenarios
5 #
6 from Configuration.StandardSequences.Eras import eras
7 
8 SiPixelTrackResidualSource = cms.EDAnalyzer("SiPixelTrackResidualSource",
9  TopFolderName = cms.string('Pixel'),
10  src = cms.InputTag("siPixelTrackResiduals"),
11  clustersrc = cms.InputTag("siPixelClusters"),
12  tracksrc = cms.InputTag("generalTracks"),
13  debug = cms.untracked.bool(False),
14  saveFile = cms.untracked.bool(False),
15  outputFile = cms.string('Pixel_DQM_TrackResidual.root'),
16  TrackCandidateProducer = cms.string('initialStepTrackCandidates'),
17  TrackCandidateLabel = cms.string(''),
18  TTRHBuilder = cms.string('WithTrackAngle'),
19  Fitter = cms.string('KFFittingSmootherWithOutliersRejectionAndRK'),
20  modOn = cms.untracked.bool(False),
21  reducedSet = cms.untracked.bool(True),
22  ladOn = cms.untracked.bool(True),
23  layOn = cms.untracked.bool(True),
24  phiOn = cms.untracked.bool(True),
25  ringOn = cms.untracked.bool(True),
26  bladeOn = cms.untracked.bool(True),
27  diskOn = cms.untracked.bool(True),
28  PtMinRes = cms.untracked.double(4.0),
29  vtxsrc= cms.untracked.string("offlinePrimaryVertices"),
30 
31  trajectoryInput = cms.InputTag('generalTracks'),
32  digisrc = cms.InputTag("siPixelDigis")
33 )
34 
35 # Modify for if the phase 1 pixel detector is active
36 eras.phase1Pixel.toModify( SiPixelTrackResidualSource, isUpgrade=cms.untracked.bool(True) )