CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripSourceConfigTier0_Cosmic_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # FED integrity Check
5 siStripFEDCheck.HistogramUpdateFrequency = 0
6 siStripFEDCheck.DoPayloadChecks = True
7 siStripFEDCheck.CheckChannelLengths = True
8 siStripFEDCheck.CheckChannelPacketCodes = True
9 siStripFEDCheck.CheckFELengths = True
10 siStripFEDCheck.CheckChannelStatus = True
11 
12 # FED Monitoring
14 
15 # SiStripMonitorDigi ####
17 SiStripMonitorDigi.Mod_On = False
18 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
19 
20 # APV shots monitoring
21 SiStripMonitorDigi.TkHistoMapNApvShots_On = True
22 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= True
23 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= True
24 
25 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
26 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
27 
28 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = True
29 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
30 
31 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = True
32 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = True
33 
34 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = True
35 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = True
36 
37 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = True
38 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = True
39 
40 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
41 
42 # SiStripMonitorCluster ####
44 SiStripMonitorCluster.Mod_On = False
45 SiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon = True
46 SiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = True
47 SiStripMonitorCluster.TrendVsLS = True
48 SiStripMonitorCluster.TH2CStripVsCpixel.globalswitchon=False
49 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=False
50 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=False
51 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
52 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
53 SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
54 SiStripMonitorCluster.TH1TotalNumberOfClusters.xmax = cms.double(1999.5)
55 SiStripMonitorCluster.ClusterHisto = True
56 SiStripMonitorCluster.TH1NClusStrip.Nbinsx = cms.int32(100)
57 SiStripMonitorCluster.TH1NClusStrip.xmax = cms.double(1999.5)
58 SiStripMonitorCluster.TH1NClusPx.Nbinsx = cms.int32(100)
59 SiStripMonitorCluster.TH1NClusPx.xmax = cms.double(999.5)
60 
61 # SiStripMonitorTrack ####
62 # Clone for Cosmic Tracks
64 SiStripMonitorTrack_cosmicTk = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
65 SiStripMonitorTrack_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
66 SiStripMonitorTrack_cosmicTk.Mod_On = False
67 
68 # Clone for CKF Tracks
69 SiStripMonitorTrack_ckf = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
70 SiStripMonitorTrack_ckf.TrackProducer = 'ctfWithMaterialTracksP5'
71 SiStripMonitorTrack_ckf.Mod_On = False
72 SiStripMonitorTrack_ckf.TH1nClustersOff.xmax = cms.double(1999.5)
73 
74 # Clone for Road Search Tracks
75 #import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
76 #SiStripMonitorTrack_rs = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
77 #SiStripMonitorTrack_rs.TrackProducer = 'rsWithMaterialTracksP5'
78 #SiStripMonitorTrack_rs.Mod_On = False
79 
80 # TrackerMonitorTrack ####
81 # Clone for Cosmic Track Finder
83 MonitorTrackResiduals_cosmicTk = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
84 MonitorTrackResiduals_cosmicTk.trajectoryInput = 'cosmictrackfinderP5'
85 MonitorTrackResiduals_cosmicTk.Mod_On = False
86 # Clone for CKF Tracks
87 MonitorTrackResiduals_ckf = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
88 MonitorTrackResiduals_ckf.trajectoryInput = 'ctfWithMaterialTracksP5'
89 MonitorTrackResiduals_ckf.Mod_On = False
90 # Clone for Road Search Tracks
91 #import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
92 #MonitorTrackResiduals_rs = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
93 #MonitorTrackResiduals_rs.trajectoryInput = 'rsWithMaterialTracksP5'
94 #MonitorTrackResiduals_rs.Mod_On = False
95 
96 # TrackingMonitor ####
97 # Clone for Cosmic Track Finder
98 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
99 TrackMon_cosmicTk = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
100 TrackMon_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
101 TrackMon_cosmicTk.AlgoName = 'CosmicTk'
102 TrackMon_cosmicTk.FolderName = 'Tracking/TrackParameters'
103 TrackMon_cosmicTk.doSeedParameterHistos = True
104 
105 # Clone for CKF Tracks
106 TrackMon_ckf = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
107 TrackMon_ckf.TrackProducer = 'ctfWithMaterialTracksP5'
108 TrackMon_ckf.AlgoName = 'CKFTk'
109 TrackMon_ckf.FolderName = 'Tracking/TrackParameters'
110 TrackMon_ckf.doSeedParameterHistos = True
111 
112 # Clone for Road Search Tracks
113 #import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
114 #TrackMon_rs = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
115 #TrackMon_rs.TrackProducer = 'rsWithMaterialTracksP5'
116 #TrackMon_rs.AlgoName = 'RSTk'
117 #TrackMon_rs.FolderName = 'Tracking/TrackParameters'
118 #TrackMon_rs.doSeedParameterHistos = True
119 
120 # Clone for Beam Halo Muon Tracks
121 TrackMon_bhmuon = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
122 TrackMon_bhmuon.TrackProducer = 'ctfWithMaterialTracksBeamHaloMuon'
123 TrackMon_bhmuon.AlgoName = 'BHMuonTk'
124 TrackMon_bhmuon.FolderName = 'Tracking/TrackParameters'
125 TrackMon_bhmuon.doSeedParameterHistos = True
126 
127 # Tracking Efficiency
128 # Clone for Cosmic Tracks
129 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
130 TrackEffMon_cosmicTk = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
131 TrackEffMon_cosmicTk.TKTrackCollection = 'cosmictrackfinderP5'
132 TrackEffMon_cosmicTk.AlgoName = 'CosmicTk'
133 TrackEffMon_cosmicTk.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
134 
135 # Clone for CKF Tracks
136 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
137 TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
138 TrackEffMon_ckf.TKTrackCollection = 'ctfWithMaterialTracksP5'
139 TrackEffMon_ckf.AlgoName = 'CKFTk'
140 TrackEffMon_ckf.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
141 
142 # Clone for RS Tracks
143 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
144 #TrackEffMon_rs = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
145 #TrackEffMon_rs.TKTrackCollection = 'rsWithMaterialTracksP5'
146 #TrackEffMon_rs.AlgoName = 'RSTk'
147 #TrackEffMon_rs.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
148 
149 # Clone for Beam Halo Tracks
150 TrackEffMon_bhmuon = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
151 TrackEffMon_bhmuon.TKTrackCollection = 'ctfWithMaterialTracksBeamHaloMuon'
152 TrackEffMon_bhmuon.AlgoName = 'BHMuonTk'
153 TrackEffMon_bhmuon.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
154 
155 # Split Tracking
157 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
158 
159 
160 # DQM Services
161 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
162  subSystemFolder = cms.untracked.string('SiStrip')
163 )
164 
165 # Services needed for TkHistoMap
166 TkDetMap = cms.Service("TkDetMap")
167 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
168 
169 # Event History Producer
171 
172 # APV Phase Producer
174 
175 # Sequences
176 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
177 
178 #removed modules using TkDetMap
179 #SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
180 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
181 
182 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
183 
184 #removed modules using TkDetMap
185 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
186 SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
TrackerMonitorTrack defined and used only for MinimumBias ####.