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  TrackRatePSet = cms.PSet(
12  Name = cms.string("NumberOfGoodTracks_"),
13  LowerCut = cms.double(1.0),
14  UpperCut = cms.double(1000.0),
15  ),
16  TrackChi2PSet = cms.PSet(
17  Name = cms.string("GoodTrackChi2oNDF_"),
18  LowerCut = cms.double(0.0),
19  UpperCut = cms.double(25.0),
20  ),
21  TrackHitPSet = cms.PSet(
22  Name = cms.string("GoodTrackNumberOfRecHitsPerTrack_"),
23  LowerCut = cms.double(5.0),
24  UpperCut = cms.double(20.0),
25  ),
26  GoodTrackFractionPSet = cms.PSet(
27  Name = cms.string("FractionOfGoodTracks_"),
28  LowerCut = cms.double(0.85),
29  UpperCut = cms.double(1.1),
30  )
31 )
32 
33 from DQMServices.Core.DQMQualityTester import DQMQualityTester
34 siStripQTester = 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)
38 )
39 
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')
43 )
44 
45 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import siStripQualityESProducer
46 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
47  #names and desigantions
48  ListOfRecordToMerge = cms.VPSet(
49  cms.PSet(record = cms.string("SiStripDetVOffRcd"), tag = cms.string('')), # DCS information
50  cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')), # Use Detector cabling information to exclude detectors not connected
51  cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')), # Online Bad components
52  cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')), # Bad Channel list from the selected IOV as done at PCL
53  # BadChannel list from FED errors is included below
54  cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string('')) # List of FEDs exluded during data taking
55  ),
56  ReduceGranularity = False,
57  ThresholdForReducedGranularity = 0.3,
58  appendToDataLabel = 'MergedBadComponent'
59 )
60 
61 from DQM.SiStripMonitorClient.siStripBadComponentInfo_cfi import siStripBadComponentInfo
62 siStripBadComponentInfo.StripQualityLabel = 'MergedBadComponent'
63 siStripBadComponentInfo.BadComponentsFromFedErrors.Add = True
64 
65 # Sequence
66 SiStripOfflineDQMClient = cms.Sequence(siStripQTester*siStripOfflineAnalyser*siStripBadComponentInfo)
67 #removed modules using TkDetMap
68 #SiStripOfflineDQMClient = cms.Sequence(siStripQTester)
69 
70 
71 # Services needed for TkHistoMap