CMS 3D CMS Logo

SiStripClientConfig_Tier0_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # SiStripOfflineDQM (for Tier0 Harvesting Step) ####
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),
16  ),
17  TrackChi2PSet = cms.PSet(
18  Name = cms.string("GoodTrackChi2oNDF_"),
19  LowerCut = cms.double(0.0),
20  UpperCut = cms.double(25.0),
21  ),
22  TrackHitPSet = cms.PSet(
23  Name = cms.string("GoodTrackNumberOfRecHitsPerTrack_"),
24  LowerCut = cms.double(5.0),
25  UpperCut = cms.double(20.0),
26  ),
27  GoodTrackFractionPSet = cms.PSet(
28  Name = cms.string("FractionOfGoodTracks_"),
29  LowerCut = cms.double(0.85),
30  UpperCut = cms.double(1.1),
31  )
32 )
33 
34 from DQMServices.Core.DQMQualityTester import DQMQualityTester
35 siStripQTester = 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)
39 )
40 
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')
44  )
45 
46 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import siStripQualityESProducer
47 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
48  #names and desigantions
49  ListOfRecordToMerge = cms.VPSet(
50  cms.PSet(record = cms.string("SiStripDetVOffRcd"), tag = cms.string('')), # DCS information
51  cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')), # Use Detector cabling information to exclude detectors not connected
52  cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')), # Online Bad components
53  cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')), # Bad Channel list from the selected IOV as done at PCL
54  # BadChannel list from FED errors is included below
55  cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string('')) # List of FEDs exluded during data taking
56  )
57  )
58 
59 mergedSiStripQualityProducer.ReduceGranularity = cms.bool(False)
60 mergedSiStripQualityProducer.ThresholdForReducedGranularity = cms.double(0.3)
61 mergedSiStripQualityProducer.appendToDataLabel = 'MergedBadComponent'
62 
63 siStripBadComponentInfo = cms.EDProducer("SiStripBadComponentInfo",
64  StripQualityLabel = cms.string('MergedBadComponent'),
65  AddBadComponentsFromFedErrors = cms.untracked.bool(True),
66  FedErrorBadComponentsCutoff = cms.untracked.double(0.8)
67 )
68 
69 # Sequence
70 SiStripOfflineDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)
71 #removed modules using TkDetMap
72 #SiStripOfflineDQMClient = cms.Sequence(siStripQTester)
73 
74 
75 # Services needed for TkHistoMap
TkDetMapESProducer_cfi
DQMQualityTester
Definition: DQMQualityTester.py:1
SiStripQualityESProducer_cfi