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.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),
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 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)
38 )
39 
40 from CalibTracker.SiStripESProducers.SiStripBadModuleFedErrESSource_cfi import*
41 siStripBadModuleFedErrESSource.appendToDataLabel = cms.string('BadModules_from_FEDBadChannel')
42 siStripBadModuleFedErrESSource.ReadFromFile = cms.bool(False)
43 
44 from CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi import siStripQualityESProducer
45 mergedSiStripQualityProducer = siStripQualityESProducer.clone(
46  #names and desigantions
47  ListOfRecordToMerge = cms.VPSet(
48  cms.PSet(record = cms.string("SiStripDetVOffRcd"), tag = cms.string('')), # DCS information
49  cms.PSet(record = cms.string('SiStripDetCablingRcd'), tag = cms.string('')), # Use Detector cabling information to exclude detectors not connected
50  cms.PSet(record = cms.string('SiStripBadChannelRcd'), tag = cms.string('')), # Online Bad components
51  cms.PSet(record = cms.string('SiStripBadFiberRcd'), tag = cms.string('')), # Bad Channel list from the selected IOV as done at PCL
52  cms.PSet(record = cms.string('SiStripBadModuleFedErrRcd'), tag = cms.string('BadModules_from_FEDBadChannel')), # BadChannel list from FED erroes
53  cms.PSet(record = cms.string('RunInfoRcd'), tag = cms.string('')) # List of FEDs exluded during data taking
54  )
55  )
56 
57 mergedSiStripQualityProducer.ReduceGranularity = cms.bool(False)
58 mergedSiStripQualityProducer.ThresholdForReducedGranularity = cms.double(0.3)
59 mergedSiStripQualityProducer.appendToDataLabel = 'MergedBadComponent'
60 
61 siStripBadComponentInfo = cms.EDProducer("SiStripBadComponentInfo",
62  StripQualityLabel = cms.string('MergedBadComponent')
63  )
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