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.ProcessModifiers.pp_on_AA_cff import pp_on_AA
71 pp_on_AA.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 from DQM.TrackingMonitorClient.TrackingEffFromHitPatternClientConfigZeroBias_cff import trackingEffFromHitPatternZeroBias
77 
80 # Sequence
81 
82 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
83 #TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
84 #TrackEffMon_ckf.TKTrackCollection = 'ctfWithMaterialTracksP5'
85 #TrackEffMon_ckf.AlgoName = 'CKFTk'
86 #TrackEffMon_ckf.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
87 
89 TrackEffClient.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
90 TrackEffClient.AlgoName = 'CKFTk'
91 
93 
94 TrackingOfflineDQMClient = cms.Sequence(trackingQTester*trackingOfflineAnalyser*trackingEffFromHitPattern*voMonitoringClientSequence*primaryVertexResolutionClient*TrackEffClient*foldedMapClientSeq)
95 
96 TrackingOfflineDQMClientZeroBias = cms.Sequence(trackingQTester*trackingOfflineAnalyser*trackingEffFromHitPatternZeroBias*voMonitoringClientSequence*primaryVertexResolutionClient*TrackEffClient*foldedMapClientSeq)
97 
98 # fastsim customs
99 _TrackingOfflineDQMClient_fastsim = TrackingOfflineDQMClient.copy()
100 _TrackingOfflineDQMClient_fastsim.remove(foldedMapClientSeq)
101 
102 _TrackingOfflineDQMClientZeroBias_fastsim = TrackingOfflineDQMClientZeroBias.copy()
103 _TrackingOfflineDQMClientZeroBias_fastsim.remove(foldedMapClientSeq)
104 
105 from Configuration.Eras.Modifier_fastSim_cff import fastSim
106 fastSim.toReplaceWith(TrackingOfflineDQMClient,_TrackingOfflineDQMClient_fastsim)
107 
108 from Configuration.Eras.Modifier_fastSim_cff import fastSim
109 fastSim.toReplaceWith(TrackingOfflineDQMClientZeroBias,_TrackingOfflineDQMClientZeroBias_fastsim)
TrackFoldedOccupancyClient_cfi
V0MonitoringClient_cff
DQMQualityTester
Definition: DQMQualityTester.py:1
primaryVertexResolutionClient_cfi
DQMEDHarvester
Definition: DQMEDHarvester.py:1
TrackEfficiencyClient_cfi