CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiPixelMonitorDigi_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 
7 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
8 SiPixelDigiSource = DQMEDAnalyzer('SiPixelDigiSource',
9  TopFolderName = cms.string('Pixel'),
10  src = cms.InputTag("siPixelDigis"),
11  outputFile = cms.string('Pixel_DQM_Digi.root'),
12  saveFile = cms.untracked.bool(False),
13  isPIB = cms.untracked.bool(False),
14  slowDown = cms.untracked.bool(False),
15  modOn = cms.untracked.bool(True),
16  perLSsaving = cms.untracked.bool(False), #driven by DQMServices/Core/python/DQMStore_cfi.py
17  twoDimOn = cms.untracked.bool(True),
18  twoDimModOn = cms.untracked.bool(True),
19  #allows to have no twoD plots on Mod level (but possibly on other levels),
20  #if !twoDimOn no plots on module level anyway, no projections if twoDimOn and !twoDimModOn
21  twoDimOnlyLayDisk = cms.untracked.bool(False),
22  #allows to have only twoD plots on lay/disk level (even if layOn/diskOn), no others (and no projections)
23  #only possible if !reducedSet, twoD has no impact, for SiPixelMonitorClient hiRes must be true
24  reducedSet = cms.untracked.bool(True),
25  hiRes = cms.untracked.bool(False),
26  ladOn = cms.untracked.bool(False),
27  layOn = cms.untracked.bool(False),
28  phiOn = cms.untracked.bool(False),
29  ringOn = cms.untracked.bool(False),
30  bladeOn = cms.untracked.bool(False),
31  diskOn = cms.untracked.bool(False),
32  bigEventSize = cms.untracked.int32(1000)
33 )
34 
35 # Modify for if the phase 1 pixel detector is active
36 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
37 phase1Pixel.toModify( SiPixelDigiSource, isUpgrade=cms.untracked.bool(True) )
38