CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/HcalMonitorModule/python/ZDCMonitorModule_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from copy import deepcopy
00003 
00004 zdcMonitor = cms.EDAnalyzer("ZDCMonitorModule",
00005 
00006                           # GLOBAL VARIABLES
00007                           debug = cms.untracked.int32(0), # make debug an int so that different values can trigger different levels of messaging
00008                           Online = cms.untracked.bool(False), # control online/offline differences in code
00009                           
00010                           # number of luminosity blocks to check
00011                           Nlumiblocks = cms.untracked.int32(1000),
00012                           AllowedCalibTypes = cms.untracked.vint32([0,1,2,3,4,5,6,7]),
00013                           BadCells = cms.untracked.vstring(),
00014                           
00015                           # Determine whether or not to check individual subdetectors
00016                           checkZDC= cms.untracked.bool(True),
00017                           checkNevents = cms.untracked.int32(1000),
00018                           subSystemFolder = cms.untracked.string("Hcal/ZDCMonitor"), # change to "ZDC" when code is finalized
00019                            
00020                           FEDRawDataCollection = cms.untracked.InputTag("source"),
00021                           
00022                            # Turn on/off timing diagnostic info
00023                           showTiming                    = cms.untracked.bool(False), # shows time taken by each process
00024                            diagnosticPrescaleLS         = cms.untracked.int32(-1),
00025                           diagnosticPrescaleEvt = cms.untracked.int32(-1),
00026                           
00027                           #Specify Pedestal Units 
00028                           pedestalsInFC                 = cms.untracked.bool(True),
00029                           #Specify Digis
00030                           digiLabel = cms.InputTag("hcalDigis"), 
00031                           #Specify RecHits 
00032                           zdcRecHitLabel = cms.InputTag("zdcreco"),
00033                           
00034                           # ZDC MONITOR
00035                           ZDCMonitor                            = cms.untracked.bool(True),
00036                           ZDCMonitor_checkNevents               = cms.untracked.int32(1000),
00037                           ZDCMonitor_deadthresholdrate          = cms.untracked.double(0.),
00038                           
00039                            gtLabel = cms.InputTag("l1GtUnpack"),
00040                           
00041                           )
00042 
00043 def setZDCTaskValues(process):
00044     # If you import this function directly, you can then set all the individual subtask values to the global settings
00045     # (This is useful if you've changed the global value, and you want it to propagate everywhere)
00046 
00047     # set checkNevents -- soon to be deprecated in favor of checking once/lumi block
00048     checkNevents = deepcopy(process.checkNevents.value())
00049     process.ZDCMonitor_checkNevents                     = checkNevents
00050     
00051     # set pedestalsInFC
00052     pedestalsInFC = deepcopy(process.pedestalsInFC.value())
00053     return