Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.SiStripMonitorSummary.OnDemandMonitoring_cfi import *
0004 #  SiStripMonitorAnalyser ####
0005 # for Online running
0006 onlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
0007     StaticUpdateFrequency    = cms.untracked.int32(1),
0008     GlobalStatusFilling      = cms.untracked.int32(1),
0009     TkMapCreationFrequency   = cms.untracked.int32(1),
0010     SummaryCreationFrequency = cms.untracked.int32(1),
0011     ShiftReportFrequency     = cms.untracked.int32(1),
0012     SummaryConfigPath        = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
0013     PrintFaultyModuleList    = cms.untracked.bool(False),                                
0014     RawDataTag               = cms.untracked.InputTag("source"),                              
0015     TkmapParameters = cms.PSet(
0016         loadFedCabling = cms.untracked.bool(True),
0017         trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
0018         trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
0019     ),
0020 
0021 # Parameters for On Demand Monitoring   
0022     MonitorSiStrip_PSet          = OnDemandMonitoring.MonitorSiStrip_PSet,
0023 
0024     FillConditions_PSet          = OnDemandMonitoring.FillConditions_PSet,     
0025 
0026     SiStripPedestalsDQM_PSet     = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
0027     SiStripNoisesDQM_PSet        = OnDemandMonitoring.SiStripNoisesDQM_PSet,
0028     SiStripQualityDQM_PSet       = OnDemandMonitoring.SiStripQualityDQM_PSet,
0029     SiStripApvGainsDQM_PSet      = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
0030     SiStripLorentzAngleDQM_PSet  = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
0031     SiStripLowThresholdDQM_PSet  = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
0032     SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet,
0033 )
0034 
0035 # for Offline running
0036 offlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
0037     StaticUpdateFrequency    = cms.untracked.int32(-1),
0038     GlobalStatusFilling      = cms.untracked.int32(1),
0039     TkMapCreationFrequency   = cms.untracked.int32(-1),
0040     SummaryCreationFrequency = cms.untracked.int32(1),
0041     ShiftReportFrequency     = cms.untracked.int32(1),
0042     SummaryConfigPath        = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
0043     PrintFaultyModuleList    = cms.untracked.bool(False),
0044     RawDataTag               = cms.untracked.InputTag("source"),                               
0045     TkmapParameters = cms.PSet(
0046         loadFedCabling = cms.untracked.bool(True),
0047         trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
0048         trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
0049     ),
0050 # Parameters for On Demand Monitoring                                  
0051     MonitorSiStripPedestal      = cms.untracked.bool(False),
0052     MonitorSiStripNoise         = cms.untracked.bool(False),
0053     MonitorSiStripQuality       = cms.untracked.bool(False),
0054     MonitorSiStripApvGain       = cms.untracked.bool(False),
0055     MonitorSiStripLorentzAngle  = cms.untracked.bool(False),
0056 
0057     MonitorSiStripCabling        = OnDemandMonitoring.MonitorSiStripCabling,
0058     MonitorSiStripLowThreshold   = OnDemandMonitoring.MonitorSiStripLowThreshold,
0059     MonitorSiStripHighThreshold  = OnDemandMonitoring.MonitorSiStripHighThreshold,
0060 
0061     FillConditions_PSet          = OnDemandMonitoring.FillConditions_PSet,     
0062 
0063     SiStripPedestalsDQM_PSet     = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
0064     SiStripNoisesDQM_PSet        = OnDemandMonitoring.SiStripNoisesDQM_PSet,
0065     SiStripQualityDQM_PSet       = OnDemandMonitoring.SiStripQualityDQM_PSet,
0066     SiStripApvGainsDQM_PSet      = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
0067     SiStripLorentzAngleDQM_PSet  = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
0068     SiStripLowThresholdDQM_PSet  = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
0069     SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet
0070 )
0071 
0072 # Sequence
0073 SiStripOnlineDQMClient = cms.Sequence(onlineAnalyser)
0074 SiStripOfflineDQMClient = cms.Sequence(offlineAnalyser)
0075 
0076 # Services needed for TkHistoMap
0077 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *