test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelMonitorEfficiency_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 SiPixelHitEfficiencySource = cms.EDAnalyzer("SiPixelHitEfficiencySource",
9  src = cms.InputTag("siPixelHitEfficiency"),
10  debug = cms.untracked.bool(False),
11  saveFile = cms.untracked.bool(True),
12  outputFile = cms.string('Pixel_DQM_HitEfficiency.root'),
13  modOn = cms.untracked.bool(False),
14  ladOn = cms.untracked.bool(True),
15  layOn = cms.untracked.bool(False),
16  phiOn = cms.untracked.bool(False),
17  ringOn = cms.untracked.bool(False),
18  bladeOn = cms.untracked.bool(True),
19  diskOn = cms.untracked.bool(False),
20  updateEfficiencies = cms.untracked.bool(False),
21  vtxsrc = cms.untracked.string('offlinePrimaryVertices'),
22 
23  trajectoryInput = cms.InputTag('generalTracks'),
24  applyEdgeCut = cms.untracked.bool(False),
25  nSigma_EdgeCut = cms.untracked.double(2.)
26 )
27 
28 # Modify for if the phase 1 pixel detector is active
29 eras.phase1Pixel.toModify( SiPixelHitEfficiencySource, isUpgrade=cms.untracked.bool(True) )