CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingSourceConfigTier0_Cosmic_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # TrackingMonitor ####
4 # Clone for Cosmic Track Finder
5 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
6 TrackMon_cosmicTk = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
7 TrackMon_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
8 TrackMon_cosmicTk.AlgoName = 'CosmicTk'
9 TrackMon_cosmicTk.FolderName = 'Tracking/TrackParameters'
10 TrackMon_cosmicTk.doSeedParameterHistos = True
11 
12 # Clone for CKF Tracks
13 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
14 TrackMon_ckf = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
15 TrackMon_ckf.TrackProducer = 'ctfWithMaterialTracksP5'
16 TrackMon_ckf.AlgoName = 'CKFTk'
17 TrackMon_ckf.FolderName = 'Tracking/TrackParameters'
18 TrackMon_ckf.doSeedParameterHistos = True
19 
20 # Clone for Road Search Tracks
21 #import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
22 #TrackMon_rs = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
23 #TrackMon_rs.TrackProducer = 'rsWithMaterialTracksP5'
24 #TrackMon_rs.AlgoName = 'RSTk'
25 #TrackMon_rs.FolderName = 'Tracking/TrackParameters'
26 #TrackMon_rs.doSeedParameterHistos = True
27 
28 # Clone for Beam Halo Muon Tracks
29 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
30 TrackMon_bhmuon = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
31 TrackMon_bhmuon.TrackProducer = 'ctfWithMaterialTracksBeamHaloMuon'
32 TrackMon_bhmuon.AlgoName = 'BHMuonTk'
33 TrackMon_bhmuon.FolderName = 'Tracking/TrackParameters'
34 TrackMon_bhmuon.doSeedParameterHistos = True
35 
36 # Tracking Efficiency
37 # Clone for Cosmic Tracks
38 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
39 TrackEffMon_cosmicTk = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
40 TrackEffMon_cosmicTk.TKTrackCollection = 'cosmictrackfinderP5'
41 TrackEffMon_cosmicTk.AlgoName = 'CosmicTk'
42 TrackEffMon_cosmicTk.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
43 
44 # Clone for CKF Tracks
45 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
46 TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
47 TrackEffMon_ckf.TKTrackCollection = 'ctfWithMaterialTracksP5'
48 TrackEffMon_ckf.AlgoName = 'CKFTk'
49 TrackEffMon_ckf.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
50 
51 # Clone for RS Tracks
52 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
53 #TrackEffMon_rs = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
54 #TrackEffMon_rs.TKTrackCollection = 'rsWithMaterialTracksP5'
55 #TrackEffMon_rs.AlgoName = 'RSTk'
56 #TrackEffMon_rs.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
57 
58 # Clone for Beam Halo Tracks
59 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
60 TrackEffMon_bhmuon = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
61 TrackEffMon_bhmuon.TKTrackCollection = 'ctfWithMaterialTracksBeamHaloMuon'
62 TrackEffMon_bhmuon.AlgoName = 'BHMuonTk'
63 TrackEffMon_bhmuon.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
64 
65 # Split Tracking
67 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
68 
69 
70 # DQM Services
71 dqmInfoTracking = cms.EDAnalyzer("DQMEventInfo",
72  subSystemFolder = cms.untracked.string('Tracking')
73 )
74 
75 # Sequences
76 TrackingDQMTier0_cosmicTk = cms.Sequence(TrackMon_cosmicTk*TrackEffMon_cosmicTk)
77 
78 TrackingDQMTier0_ckf = cms.Sequence(TrackMon_ckf*TrackEffMon_ckf)
79 
80 #TrackingDQMTier0_rs = cms.Sequence(TrackMon_rs*TrackEffMon_rs)
81 
82 TrackingDQMTier0 = cms.Sequence(TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoTracking)