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 TrackRatePSet = cms.PSet(
12 Name = cms.string(
"NumberOfGoodTracks_"),
13 LowerCut = cms.double(1.0),
14 UpperCut = cms.double(1000.0),
16 TrackChi2PSet = cms.PSet(
17 Name = cms.string(
"GoodTrackChi2oNDF_"),
18 LowerCut = cms.double(0.0),
19 UpperCut = cms.double(25.0),
21 TrackHitPSet = cms.PSet(
22 Name = cms.string(
"GoodTrackNumberOfRecHitsPerTrack_"),
23 LowerCut = cms.double(5.0),
24 UpperCut = cms.double(20.0),
26 GoodTrackFractionPSet = cms.PSet(
27 Name = cms.string(
"FractionOfGoodTracks_"),
28 LowerCut = cms.double(0.85),
29 UpperCut = cms.double(1.1),
33 from DQMServices.Core.DQMQualityTester
import DQMQualityTester
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 Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
41 pp_on_AA.toModify(siStripQTester,
42 qtList = cms.untracked.FileInPath(
'DQM/SiStripMonitorClient/data/sistrip_qualitytest_config_tier0_heavyions.xml')
46 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
48 ListOfRecordToMerge = cms.VPSet(
49 cms.PSet(record = cms.string(
"SiStripDetVOffRcd"), tag = cms.string(
'')),
50 cms.PSet(record = cms.string(
'SiStripDetCablingRcd'), tag = cms.string(
'')),
51 cms.PSet(record = cms.string(
'SiStripBadChannelRcd'), tag = cms.string(
'')),
52 cms.PSet(record = cms.string(
'SiStripBadFiberRcd'), tag = cms.string(
'')),
54 cms.PSet(record = cms.string(
'RunInfoRcd'), tag = cms.string(
''))
58 mergedSiStripQualityProducer.ReduceGranularity = cms.bool(
False)
59 mergedSiStripQualityProducer.ThresholdForReducedGranularity = cms.double(0.3)
60 mergedSiStripQualityProducer.appendToDataLabel =
'MergedBadComponent'
62 from DQM.SiStripMonitorClient.siStripBadComponentInfo_cfi
import siStripBadComponentInfo
63 siStripBadComponentInfo.StripQualityLabel =
'MergedBadComponent'
64 siStripBadComponentInfo.BadComponentsFromFedErrors.Add =
True
67 SiStripOfflineDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)