CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripClientConfig_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 # SiStripMonitorAnalyser ####
5 # for Online running
6 onlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
7  StaticUpdateFrequency = cms.untracked.int32(1),
8  GlobalStatusFilling = cms.untracked.int32(1),
9  TkMapCreationFrequency = cms.untracked.int32(1),
10  SummaryCreationFrequency = cms.untracked.int32(1),
11  ShiftReportFrequency = cms.untracked.int32(1),
12  SummaryConfigPath = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
13  PrintFaultyModuleList = cms.untracked.bool(False),
14  RawDataTag = cms.untracked.InputTag("source"),
15  TkmapParameters = cms.PSet(
16  loadFedCabling = cms.untracked.bool(True),
17  trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
18  trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
19  ),
20 
21 # Parameters for On Demand Monitoring
22  MonitorSiStripPedestal = OnDemandMonitoring.MonitorSiStripPedestal,
23  MonitorSiStripNoise = OnDemandMonitoring.MonitorSiStripNoise,
24  MonitorSiStripQuality = OnDemandMonitoring.MonitorSiStripQuality,
25  MonitorSiStripApvGain = OnDemandMonitoring.MonitorSiStripApvGain,
26  MonitorSiStripLorentzAngle = OnDemandMonitoring.MonitorSiStripLorentzAngle,
27 
28  MonitorSiStripCabling = OnDemandMonitoring.MonitorSiStripCabling,
29  MonitorSiStripLowThreshold = OnDemandMonitoring.MonitorSiStripLowThreshold,
30  MonitorSiStripHighThreshold = OnDemandMonitoring.MonitorSiStripHighThreshold,
31 
32  FillConditions_PSet = OnDemandMonitoring.FillConditions_PSet,
33 
34  SiStripPedestalsDQM_PSet = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
35  SiStripNoisesDQM_PSet = OnDemandMonitoring.SiStripNoisesDQM_PSet,
36  SiStripQualityDQM_PSet = OnDemandMonitoring.SiStripQualityDQM_PSet,
37  SiStripApvGainsDQM_PSet = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
38  SiStripLorentzAngleDQM_PSet = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
39  SiStripLowThresholdDQM_PSet = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
40  SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet,
41 )
42 
43 # for Offline running
44 offlineAnalyser = cms.EDAnalyzer("SiStripAnalyser",
45  StaticUpdateFrequency = cms.untracked.int32(-1),
46  GlobalStatusFilling = cms.untracked.int32(1),
47  TkMapCreationFrequency = cms.untracked.int32(-1),
48  SummaryCreationFrequency = cms.untracked.int32(1),
49  ShiftReportFrequency = cms.untracked.int32(1),
50  SummaryConfigPath = cms.untracked.string("DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
51  PrintFaultyModuleList = cms.untracked.bool(False),
52  RawDataTag = cms.untracked.InputTag("source"),
53  TkmapParameters = cms.PSet(
54  loadFedCabling = cms.untracked.bool(True),
55  trackerdatPath = cms.untracked.string('CommonTools/TrackerMap/data/'),
56  trackermaptxtPath = cms.untracked.string('DQM/SiStripMonitorClient/scripts/TkMap/')
57  ),
58 # Parameters for On Demand Monitoring
59  MonitorSiStripPedestal = cms.untracked.bool(False),
60  MonitorSiStripNoise = cms.untracked.bool(False),
61  MonitorSiStripQuality = cms.untracked.bool(False),
62  MonitorSiStripApvGain = cms.untracked.bool(False),
63  MonitorSiStripLorentzAngle = cms.untracked.bool(False),
64 
65  MonitorSiStripCabling = OnDemandMonitoring.MonitorSiStripCabling,
66  MonitorSiStripLowThreshold = OnDemandMonitoring.MonitorSiStripLowThreshold,
67  MonitorSiStripHighThreshold = OnDemandMonitoring.MonitorSiStripHighThreshold,
68 
69  FillConditions_PSet = OnDemandMonitoring.FillConditions_PSet,
70 
71  SiStripPedestalsDQM_PSet = OnDemandMonitoring.SiStripPedestalsDQM_PSet,
72  SiStripNoisesDQM_PSet = OnDemandMonitoring.SiStripNoisesDQM_PSet,
73  SiStripQualityDQM_PSet = OnDemandMonitoring.SiStripQualityDQM_PSet,
74  SiStripApvGainsDQM_PSet = OnDemandMonitoring.SiStripApvGainsDQM_PSet,
75  SiStripLorentzAngleDQM_PSet = OnDemandMonitoring.SiStripLorentzAngleDQM_PSet,
76  SiStripLowThresholdDQM_PSet = OnDemandMonitoring.SiStripLowThresholdDQM_PSet,
77  SiStripHighThresholdDQM_PSet = OnDemandMonitoring.SiStripHighThresholdDQM_PSet
78 )
79 
80 # Sequence
81 SiStripOnlineDQMClient = cms.Sequence(onlineAnalyser)
82 SiStripOfflineDQMClient = cms.Sequence(offlineAnalyser)
83 
84 # Services needed for TkHistoMap
85 TkDetMap = cms.Service("TkDetMap")
86