1 import FWCore.ParameterSet.Config
as cms
4 siStripOfflineAnalyser = cms.EDAnalyzer(
"SiStripOfflineDQM",
5 GlobalStatusFilling = cms.untracked.int32(2),
6 CreateSummary = cms.untracked.bool(
False),
7 SummaryConfigPath = cms.untracked.string(
"DQM/SiStripMonitorClient/data/sistrip_monitorelement_config.xml"),
8 UsedWithEDMtoMEConverter = cms.untracked.bool(
True),
9 PrintFaultyModuleList = cms.untracked.bool(
True),
10 CreateTkMap = cms.untracked.bool(
False),
11 UseGoodTracks = cms.untracked.bool(
True),
12 TrackRatePSet = cms.PSet(
13 Name = cms.string(
"NumberOfGoodTracks_"),
14 LowerCut = cms.double(1.0),
15 UpperCut = cms.double(1000.0),
17 TrackChi2PSet = cms.PSet(
18 Name = cms.string(
"GoodTrackChi2oNDF_"),
19 LowerCut = cms.double(0.0),
20 UpperCut = cms.double(25.0),
22 TrackHitPSet = cms.PSet(
23 Name = cms.string(
"GoodTrackNumberOfRecHitsPerTrack_"),
24 LowerCut = cms.double(5.0),
25 UpperCut = cms.double(20.0),
27 GoodTrackFractionPSet = cms.PSet(
28 Name = cms.string(
"FractionOfGoodTracks_"),
29 LowerCut = cms.double(0.85),
30 UpperCut = cms.double(1.1),
34 siStripQTester = cms.EDAnalyzer(
"QualityTester",
35 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0.xml'),
36 prescaleFactor = cms.untracked.int32(1),
37 getQualityTestsFromFile = cms.untracked.bool(
True)
40 from CalibTracker.SiStripESProducers.SiStripBadModuleFedErrESSource_cfi
import*
41 siStripBadModuleFedErrESSource.appendToDataLabel = cms.string(
'BadModules_from_FEDBadChannel')
42 siStripBadModuleFedErrESSource.ReadFromFile = cms.bool(
False)
45 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
47 ListOfRecordToMerge = cms.VPSet(
48 cms.PSet(record = cms.string(
"SiStripDetVOffRcd"), tag = cms.string(
'')),
49 cms.PSet(record = cms.string(
'SiStripDetCablingRcd'), tag = cms.string(
'')),
50 cms.PSet(record = cms.string(
'SiStripBadChannelRcd'), tag = cms.string(
'')),
51 cms.PSet(record = cms.string(
'SiStripBadFiberRcd'), tag = cms.string(
'')),
52 cms.PSet(record = cms.string(
'SiStripBadModuleFedErrRcd'), tag = cms.string(
'BadModules_from_FEDBadChannel')),
53 cms.PSet(record = cms.string(
'RunInfoRcd'), tag = cms.string(
''))
57 mergedSiStripQualityProducer.ReduceGranularity = cms.bool(
False)
58 mergedSiStripQualityProducer.ThresholdForReducedGranularity = cms.double(0.3)
59 mergedSiStripQualityProducer.appendToDataLabel =
'MergedBadComponent' 61 siStripBadComponentInfo = cms.EDProducer(
"SiStripBadComponentInfo",
62 StripQualityLabel = cms.string(
'MergedBadComponent')
66 SiStripOfflineDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)