Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
import FWCore.ParameterSet.Config as cms

#
# This object is used to make changes for different running scenarios
#

from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
SiPixelDigiSource = DQMEDAnalyzer('SiPixelDigiSource',
    TopFolderName = cms.string('Pixel'),
    src = cms.InputTag("siPixelDigis"),
    outputFile = cms.string('Pixel_DQM_Digi.root'),
    saveFile = cms.untracked.bool(False),
    isPIB = cms.untracked.bool(False),
    slowDown = cms.untracked.bool(False),
    modOn = cms.untracked.bool(True),
    perLSsaving = cms.untracked.bool(False), #driven by DQMServices/Core/python/DQMStore_cfi.py
    twoDimOn = cms.untracked.bool(True),	
    twoDimModOn = cms.untracked.bool(True),     
    #allows to have no twoD plots on Mod level (but possibly on other levels),
    #if !twoDimOn no plots on module level anyway, no projections if twoDimOn and !twoDimModOn
    twoDimOnlyLayDisk = cms.untracked.bool(False), 
    #allows to have only twoD plots on lay/disk level (even if layOn/diskOn), no others (and no projections)
    #only possible if !reducedSet, twoD has no impact, for SiPixelMonitorClient hiRes must be true
    reducedSet = cms.untracked.bool(True),
    hiRes = cms.untracked.bool(False), 
    ladOn = cms.untracked.bool(False),
    layOn = cms.untracked.bool(False),
    phiOn = cms.untracked.bool(False),
    ringOn = cms.untracked.bool(False),
    bladeOn = cms.untracked.bool(False),
    diskOn = cms.untracked.bool(False),
    bigEventSize = cms.untracked.int32(1000)
)

# Modify for if the phase 1 pixel detector is active
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify( SiPixelDigiSource, isUpgrade=cms.untracked.bool(True) )