1 import FWCore.ParameterSet.Config
as cms
4 siStripOfflineAnalyser = cms.EDProducer(
"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 from DQMServices.Core.DQMQualityTester
import DQMQualityTester
36 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0.xml'),
37 prescaleFactor = cms.untracked.int32(1),
38 getQualityTestsFromFile = cms.untracked.bool(
True)
41 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
42 pp_on_AA_2018.toModify(siStripQTester,
43 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_heavyions.xml')
47 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
49 ListOfRecordToMerge = cms.VPSet(
50 cms.PSet(record = cms.string(
"SiStripDetVOffRcd"), tag = cms.string(
'')),
51 cms.PSet(record = cms.string(
'SiStripDetCablingRcd'), tag = cms.string(
'')),
52 cms.PSet(record = cms.string(
'SiStripBadChannelRcd'), tag = cms.string(
'')),
53 cms.PSet(record = cms.string(
'SiStripBadFiberRcd'), tag = cms.string(
'')),
55 cms.PSet(record = cms.string(
'RunInfoRcd'), tag = cms.string(
''))
59 mergedSiStripQualityProducer.ReduceGranularity = cms.bool(
False)
60 mergedSiStripQualityProducer.ThresholdForReducedGranularity = cms.double(0.3)
61 mergedSiStripQualityProducer.appendToDataLabel =
'MergedBadComponent'
63 siStripBadComponentInfo = cms.EDProducer(
"SiStripBadComponentInfo",
64 StripQualityLabel = cms.string(
'MergedBadComponent'),
65 AddBadComponentsFromFedErrors = cms.untracked.bool(
True),
66 FedErrorBadComponentsCutoff = cms.untracked.double(0.8)
70 SiStripOfflineDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)