File indexing completed on 2024-04-06 12:09:12
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 from DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi import *
0006 TrackMon_cosmicTk = TrackerCosmicTrackMon.clone(
0007 TrackProducer = 'cosmictrackfinderP5',
0008 AlgoName = 'CosmicTk',
0009 FolderName = 'Tracking/TrackParameters',
0010 doSeedParameterHistos = True
0011 )
0012
0013
0014 from DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi import *
0015 TrackMon_ckf = TrackerCosmicTrackMon.clone(
0016 TrackProducer = 'ctfWithMaterialTracksP5',
0017 AlgoName = 'CKFTk',
0018 FolderName = 'Tracking/TrackParameters',
0019 doSeedParameterHistos = True
0020 )
0021
0022
0023 from DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi import *
0024 TrackMon_rs = TrackerCosmicTrackMon.clone(
0025 TrackProducer = 'rsWithMaterialTracksP5',
0026 AlgoName = 'RSTk',
0027 FolderName = 'Tracking/TrackParameters',
0028 doSeedParameterHistos = True
0029 )
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 from DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi import *
0043 TrackEffMon_cosmicTk = TrackEffMon.clone(
0044 TKTrackCollection = 'cosmictrackfinderP5',
0045 AlgoName = 'CosmicTk',
0046 FolderName = 'Tracking/TrackParameters/TrackEfficiency'
0047 )
0048
0049
0050 from DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi import *
0051 TrackEffMon_ckf = TrackEffMon.clone(
0052 TKTrackCollection = 'ctfWithMaterialTracksP5',
0053 AlgoName = 'CKFTk',
0054 FolderName = 'Tracking/TrackParameters/TrackEfficiency'
0055 )
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066 from DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi import *
0067 TrackEffMon_bhmuon = TrackEffMon.clone(
0068 TKTrackCollection = 'ctfWithMaterialTracksBeamHaloMuon',
0069 AlgoName = 'BHMuonTk',
0070 FolderName = 'Tracking/TrackParameters/TrackEfficiency'
0071 )
0072
0073
0074 from DQM.TrackingMonitor.TrackSplittingMonitor_cfi import *
0075 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
0076
0077
0078
0079 from DQM.TrackingMonitorSource.EDModules2monitor_cfi import *
0080
0081
0082 from DQM.TrackingMonitorSource.LogMessageMonitor_cff import *
0083
0084 for module in selectedModules4cosmics :
0085 label = str(module)+'LogMessageMon'
0086 locals()[label] = LogMessageMonCommon.clone(
0087 pluginsMonName = pluginsMonName[module],
0088 modules = modulesLabel[module],
0089 categories = categories[module]
0090 )
0091 locals()[label].setLabel(label)
0092
0093
0094 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0095 dqmInfoTracking = DQMEDAnalyzer('DQMEventInfo',
0096 subSystemFolder = cms.untracked.string('Tracking')
0097 )
0098
0099
0100 TrackingDQMTier0_cosmicTk = cms.Sequence(TrackMon_cosmicTk*TrackEffMon_cosmicTk)
0101
0102 TrackingDQMTier0_ckf = cms.Sequence(TrackMon_ckf*TrackEffMon_ckf)
0103
0104
0105
0106
0107 TrackingDQMTier0 = cms.Sequence(TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor)
0108
0109
0110 for module in selectedModules4cosmics :
0111 label = str(module)+'LogMessageMon'
0112 TrackingDQMTier0_cosmicTk += cms.Sequence(locals()[label])
0113 TrackingDQMTier0_ckf += cms.Sequence(locals()[label])
0114 TrackingDQMTier0 += cms.Sequence(locals()[label])
0115
0116 TrackingDQMTier0 += cms.Sequence(dqmInfoTracking)