CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/SiStripMonitorClient/python/SiStripClientConfig_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from DQM.SiStripMonitorSummary.OnDemandMonitoring_cfi import *
00004 #  SiStripMonitorAnalyser ####
00005 # for Online running
00006 onlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
00007     StaticUpdateFrequency    = cms.untracked.int32(1),
00008     GlobalStatusFilling      = cms.untracked.int32(1),
00009     TkMapCreationFrequency   = cms.untracked.int32(1),
00010     SummaryCreationFrequency = cms.untracked.int32(1),
00011     ShiftReportFrequency     = cms.untracked.int32(1),
00012     SummaryConfigPath        = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
00013     PrintFaultyModuleList    = cms.untracked.bool(False),                                
00014     RawDataTag               = cms.untracked.InputTag("source"),                              
00015     TkmapParameters = cms.PSet(
00016         loadFedCabling = cms.untracked.bool(True),
00017         trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
00018         trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
00019     ),
00020 
00021 # Parameters for On Demand Monitoring   
00022     MonitorSiStripPedestal      = OnDemandMonitoring.MonitorSiStripPedestal,
00023     MonitorSiStripNoise         = OnDemandMonitoring.MonitorSiStripNoise,
00024     MonitorSiStripQuality       = OnDemandMonitoring.MonitorSiStripQuality,
00025     MonitorSiStripApvGain       = OnDemandMonitoring.MonitorSiStripApvGain,
00026     MonitorSiStripLorentzAngle  = OnDemandMonitoring.MonitorSiStripLorentzAngle,
00027 
00028     MonitorSiStripCabling        = OnDemandMonitoring.MonitorSiStripCabling,
00029     MonitorSiStripLowThreshold   = OnDemandMonitoring.MonitorSiStripLowThreshold,
00030     MonitorSiStripHighThreshold  = OnDemandMonitoring.MonitorSiStripHighThreshold,
00031 
00032     FillConditions_PSet          = OnDemandMonitoring.FillConditions_PSet,     
00033 
00034     SiStripPedestalsDQM_PSet     = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
00035     SiStripNoisesDQM_PSet        = OnDemandMonitoring.SiStripNoisesDQM_PSet,
00036     SiStripQualityDQM_PSet       = OnDemandMonitoring.SiStripQualityDQM_PSet,
00037     SiStripApvGainsDQM_PSet      = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
00038     SiStripLorentzAngleDQM_PSet  = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
00039     SiStripLowThresholdDQM_PSet  = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
00040     SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet,
00041 )
00042 
00043 # for Offline running
00044 offlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
00045     StaticUpdateFrequency    = cms.untracked.int32(-1),
00046     GlobalStatusFilling      = cms.untracked.int32(1),
00047     TkMapCreationFrequency   = cms.untracked.int32(-1),
00048     SummaryCreationFrequency = cms.untracked.int32(1),
00049     ShiftReportFrequency     = cms.untracked.int32(1),
00050     SummaryConfigPath        = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
00051     PrintFaultyModuleList    = cms.untracked.bool(False),
00052     RawDataTag               = cms.untracked.InputTag("source"),                               
00053     TkmapParameters = cms.PSet(
00054         loadFedCabling = cms.untracked.bool(True),
00055         trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
00056         trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
00057     ),
00058 # Parameters for On Demand Monitoring                                  
00059     MonitorSiStripPedestal      = cms.untracked.bool(False),
00060     MonitorSiStripNoise         = cms.untracked.bool(False),
00061     MonitorSiStripQuality       = cms.untracked.bool(False),
00062     MonitorSiStripApvGain       = cms.untracked.bool(False),
00063     MonitorSiStripLorentzAngle  = cms.untracked.bool(False),
00064 
00065     MonitorSiStripCabling        = OnDemandMonitoring.MonitorSiStripCabling,
00066     MonitorSiStripLowThreshold   = OnDemandMonitoring.MonitorSiStripLowThreshold,
00067     MonitorSiStripHighThreshold  = OnDemandMonitoring.MonitorSiStripHighThreshold,
00068 
00069     FillConditions_PSet          = OnDemandMonitoring.FillConditions_PSet,     
00070 
00071     SiStripPedestalsDQM_PSet     = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
00072     SiStripNoisesDQM_PSet        = OnDemandMonitoring.SiStripNoisesDQM_PSet,
00073     SiStripQualityDQM_PSet       = OnDemandMonitoring.SiStripQualityDQM_PSet,
00074     SiStripApvGainsDQM_PSet      = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
00075     SiStripLorentzAngleDQM_PSet  = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
00076     SiStripLowThresholdDQM_PSet  = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
00077     SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet
00078 )
00079 
00080 # Sequence
00081 SiStripOnlineDQMClient = cms.Sequence(onlineAnalyser)
00082 SiStripOfflineDQMClient = cms.Sequence(offlineAnalyser)
00083 
00084 # Services needed for TkHistoMap
00085 TkDetMap = cms.Service("TkDetMap")
00086