CMS 3D CMS Logo

TrackingClientConfig_Tier0_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
4 # TrackingOfflineDQM (for Tier0 Harvesting Step) ####
5 trackingOfflineAnalyser = DQMEDHarvester("TrackingOfflineDQM",
6  GlobalStatusFilling = cms.untracked.int32(2),
7  UsedWithEDMtoMEConverter = cms.untracked.bool(True),
8  TopFolderName = cms.untracked.string("Tracking"),
9  TrackingGlobalQualityPSets = cms.VPSet(
10  cms.PSet(
11  QT = cms.string("Rate"),
12  dir = cms.string("TrackParameters/highPurityTracks/pt_1/GeneralProperties"),
13  name = cms.string("NumberOfTracks_"),
14  ),
15  cms.PSet(
16  QT = cms.string("Chi2"),
17  dir = cms.string("TrackParameters/highPurityTracks/pt_1/GeneralProperties"),
18  name = cms.string("Chi2oNDF_"),
19  ),
20  cms.PSet(
21  QT = cms.string("RecHits"),
22  dir = cms.string("TrackParameters/highPurityTracks/pt_1/HitProperties"),
23  name = cms.string("NumberOfRecHitsPerTrack_"),
24  ),
25  cms.PSet(
26  QT = cms.string("Seed"),
27  dir = cms.string("TrackParameters/generalTracks/TrackBuilding"),
28  name = cms.string("NumberOfSeeds_"),
29  )
30  ),
31  TrackingLSQualityPSets = cms.VPSet(
32  cms.PSet(
33  QT = cms.string("Rate"),
34  LSdir = cms.string("TrackParameters/highPurityTracks/pt_1/GeneralProperties/LSanalysis"),
35  LSname = cms.string("NumberOfTracks_lumiFlag_"),
36  LSlowerCut = cms.double( 1.0 ),
37  LSupperCut = cms.double( 1000.0 )
38  ),
39  cms.PSet(
40  QT = cms.string("Chi2"),
41  LSdir = cms.string("TrackParameters/highPurityTracks/pt_1/GeneralProperties/LSanalysis"),
42  LSname = cms.string("Chi2oNDF_lumiFlag_"),
43  LSlowerCut = cms.double( 0.0 ),
44  LSupperCut = cms.double( 25.0 )
45  ),
46  cms.PSet(
47  QT = cms.string("RecHits"),
48  LSdir = cms.string("TrackParameters/highPurityTracks/pt_1/GeneralProperties/LSanalysis"),
49  LSname = cms.string("NumberOfRecHitsPerTrack_lumiFlag_"),
50  LSlowerCut = cms.double( 5.0 ),
51  LSupperCut = cms.double( 20.0 )
52  ),
53  cms.PSet(
54  QT = cms.string("Seed"),
55  LSdir = cms.string("TrackParameters/generalTracks/LSanalysis"),
56  LSname = cms.string("NumberOfSeeds_lumiFlag_"),
57  LSlowerCut = cms.double( 0.0 ),
58  LSupperCut = cms.double( 1000000.0 )
59  )
60  )
61 )
62 
63 from DQMServices.Core.DQMQualityTester import DQMQualityTester
64 trackingQTester = DQMQualityTester(
65  qtList = cms.untracked.FileInPath('DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0.xml'),
66  prescaleFactor = cms.untracked.int32(1),
67  getQualityTestsFromFile = cms.untracked.bool(True)
68 )
69 
70 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
71 pp_on_AA_2018.toModify(trackingQTester,
72  qtList = cms.untracked.FileInPath('DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_heavyions.xml')
73  )
74 
75 from DQM.TrackingMonitorClient.TrackingEffFromHitPatternClientConfig_cff import trackingEffFromHitPattern
76 
79 # Sequence
80 
81 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
82 #TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
83 #TrackEffMon_ckf.TKTrackCollection = 'ctfWithMaterialTracksP5'
84 #TrackEffMon_ckf.AlgoName = 'CKFTk'
85 #TrackEffMon_ckf.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
86 
88 TrackEffClient.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
89 TrackEffClient.AlgoName = 'CKFTk'
90 
91 TrackingOfflineDQMClient = cms.Sequence(trackingQTester*trackingOfflineAnalyser*trackingEffFromHitPattern*voMonitoringClientSequence*primaryVertexResolutionClient*TrackEffClient)
92 
93