Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-28 23:48:29

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 
0004 #  TrackingOfflineDQM (for Tier0 Harvesting Step) ####
0005 trackingOfflineAnalyser = DQMEDHarvester("TrackingOfflineDQM",
0006     GlobalStatusFilling        = cms.untracked.int32(2),
0007     UsedWithEDMtoMEConverter   = cms.untracked.bool(True),
0008     TopFolderName              = cms.untracked.string("Tracking"),                                     
0009     TrackingGlobalQualityPSets = cms.VPSet(
0010          cms.PSet(
0011              QT         = cms.string("Rate"),
0012              dir        = cms.string("TrackParameters/GeneralProperties"),
0013              name       = cms.string("NumberOfTracks_"),
0014          ),
0015          cms.PSet(
0016              QT         = cms.string("Chi2"),
0017              dir        = cms.string("TrackParameters/GeneralProperties"),
0018              name       = cms.string("Chi2oNDF_"),
0019          ),
0020          cms.PSet(
0021              QT         = cms.string("RecHits"),
0022              dir        = cms.string("TrackParameters/HitProperties"),
0023              name       = cms.string("NumberOfRecHitsPerTrack_"),
0024          ),
0025     ),
0026     TrackingLSQualityPSets = cms.VPSet(
0027          cms.PSet(
0028              QT         = cms.string("Rate"),
0029              LSdir      = cms.string("TrackParameters/GeneralProperties/LSanalysis"),
0030              LSname     = cms.string("NumberOfTracks_lumiFlag_"),
0031              LSlowerCut = cms.double( -1.0 ),
0032              LSupperCut = cms.double(  1.0 )    
0033          ),
0034          cms.PSet(
0035              QT         = cms.string("Chi2"),
0036              LSdir      = cms.string("TrackParameters/GeneralProperties/LSanalysis"),
0037              LSname     = cms.string("Chi2oNDF_lumiFlag_"),
0038              LSlowerCut = cms.double(  0.0 ),
0039              LSupperCut = cms.double( 25.0 )
0040          ),
0041          cms.PSet(
0042              QT         = cms.string("RecHits"),
0043              LSdir      = cms.string("TrackParameters/GeneralProperties/LSanalysis"),
0044              LSname     = cms.string("NumberOfRecHitsPerTrack_lumiFlag_"),
0045              LSlowerCut = cms.double(  3.0 ),
0046              LSupperCut = cms.double( 35.0 )
0047          ),
0048     )
0049 )
0050 
0051 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0052 trackingQTester = DQMQualityTester(
0053     qtList = cms.untracked.FileInPath('DQM/TrackingMonitorClient/data/tracking_qualitytest_config_tier0_cosmic.xml'),
0054     prescaleFactor = cms.untracked.int32(1),                               
0055     getQualityTestsFromFile = cms.untracked.bool(True)
0056 )
0057 
0058 from DQM.TrackingMonitor.TrackEfficiencyClient_cfi import *
0059 TrackEffClient.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
0060 TrackEffClient.AlgoName   = 'CKFTk'
0061 
0062 from DQM.TrackingMonitor.TrackFoldedOccupancyClient_cfi import TrackerMapFoldedClient 
0063 
0064 TrackerMapFoldedClient_CKFTk=TrackerMapFoldedClient.clone(
0065     AlgoName = 'CKFTk',
0066     MeasurementState = 'default',
0067     TrackQuality = ''
0068 )
0069 
0070 TrackerMapFoldedClient_CosmicTk=TrackerMapFoldedClient.clone(
0071     AlgoName = 'CosmicTk',
0072     MeasurementState = 'default',
0073     TrackQuality = ''
0074 )
0075 
0076 # Sequence
0077 TrackingCosmicDQMClient = cms.Sequence(trackingQTester*trackingOfflineAnalyser*TrackEffClient*TrackerMapFoldedClient_CKFTk*TrackerMapFoldedClient_CosmicTk)
0078