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.
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.TH2CStripVsCpixel.globalswitchon=False
48 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=False
49 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=False
50 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
51 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
52 SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
53 SiStripMonitorCluster.ClusterHisto = True
54 SiStripMonitorCluster.TH1NClusStrip.Nbinsx = cms.int32(200)
55 SiStripMonitorCluster.TH1NClusStrip.xmax = cms.double(3999.5)
56 SiStripMonitorCluster.TH1NClusPx.Nbinsx = cms.int32(100)
57 SiStripMonitorCluster.TH1NClusPx.xmax = cms.double(999.5)
58 SiStripMonitorCluster.TH1TotalNumberOfClusters.Nbinx = cms.int32(100)
59 SiStripMonitorCluster.TH1TotalNumberOfClusters.xmax = cms.double(1999.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
70 SiStripMonitorTrack_ckf = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
71 SiStripMonitorTrack_ckf.TrackProducer = 'ctfWithMaterialTracksP5'
72 SiStripMonitorTrack_ckf.Mod_On = False
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.OutputMEsInRootFile = False
86 MonitorTrackResiduals_cosmicTk.Mod_On = False
87 # Clone for CKF Tracks
89 MonitorTrackResiduals_ckf = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
90 MonitorTrackResiduals_ckf.trajectoryInput = 'ctfWithMaterialTracksP5'
91 MonitorTrackResiduals_ckf.OutputMEsInRootFile = False
92 MonitorTrackResiduals_ckf.Mod_On = False
93 # Clone for Road Search Tracks
94 #import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
95 #MonitorTrackResiduals_rs = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
96 #MonitorTrackResiduals_rs.trajectoryInput = 'rsWithMaterialTracksP5'
97 #MonitorTrackResiduals_rs.OutputMEsInRootFile = False
98 #MonitorTrackResiduals_rs.Mod_On = False
99 
100 # TrackingMonitor ####
101 # Clone for Cosmic Track Finder
102 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
103 TrackMon_cosmicTk = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
104 TrackMon_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
105 TrackMon_cosmicTk.AlgoName = 'CosmicTk'
106 TrackMon_cosmicTk.FolderName = 'Tracking/TrackParameters'
107 TrackMon_cosmicTk.doSeedParameterHistos = True
108 
109 # Clone for CKF Tracks
110 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
111 TrackMon_ckf = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
112 TrackMon_ckf.TrackProducer = 'ctfWithMaterialTracksP5'
113 TrackMon_ckf.AlgoName = 'CKFTk'
114 TrackMon_ckf.FolderName = 'Tracking/TrackParameters'
115 TrackMon_ckf.doSeedParameterHistos = True
116 
117 # Clone for Road Search Tracks
118 #import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
119 #TrackMon_rs = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
120 #TrackMon_rs.TrackProducer = 'rsWithMaterialTracksP5'
121 #TrackMon_rs.AlgoName = 'RSTk'
122 #TrackMon_rs.FolderName = 'Tracking/TrackParameters'
123 #TrackMon_rs.doSeedParameterHistos = True
124 
125 # Clone for Beam Halo Muon Tracks
126 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
127 TrackMon_bhmuon = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
128 TrackMon_bhmuon.TrackProducer = 'ctfWithMaterialTracksBeamHaloMuon'
129 TrackMon_bhmuon.AlgoName = 'BHMuonTk'
130 TrackMon_bhmuon.FolderName = 'Tracking/TrackParameters'
131 TrackMon_bhmuon.doSeedParameterHistos = True
132 
133 # Tracking Efficiency
134 # Clone for Cosmic Tracks
135 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
136 TrackEffMon_cosmicTk = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
137 TrackEffMon_cosmicTk.TKTrackCollection = 'cosmictrackfinderP5'
138 TrackEffMon_cosmicTk.AlgoName = 'CosmicTk'
139 TrackEffMon_cosmicTk.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
140 
141 # Clone for CKF Tracks
142 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
143 TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
144 TrackEffMon_ckf.TKTrackCollection = 'ctfWithMaterialTracksP5'
145 TrackEffMon_ckf.AlgoName = 'CKFTk'
146 TrackEffMon_ckf.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
147 
148 # Clone for RS Tracks
149 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
150 #TrackEffMon_rs = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
151 #TrackEffMon_rs.TKTrackCollection = 'rsWithMaterialTracksP5'
152 #TrackEffMon_rs.AlgoName = 'RSTk'
153 #TrackEffMon_rs.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
154 
155 # Clone for Beam Halo Tracks
156 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
157 TrackEffMon_bhmuon = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
158 TrackEffMon_bhmuon.TKTrackCollection = 'ctfWithMaterialTracksBeamHaloMuon'
159 TrackEffMon_bhmuon.AlgoName = 'BHMuonTk'
160 TrackEffMon_bhmuon.FolderName = 'Tracking/TrackParameters/TrackEfficiency'
161 
162 # Split Tracking
164 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
165 
166 
167 # DQM Services
168 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
169  subSystemFolder = cms.untracked.string('SiStrip')
170 )
171 
172 # Services needed for TkHistoMap
173 TkDetMap = cms.Service("TkDetMap")
174 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
175 
176 # Event History Producer
178 
179 # APV Phase Producer
181 
182 # Sequences
183 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
184 
185 #removed modules using TkDetMap
186 #SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
187 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
188 
189 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
190 
191 #removed modules using TkDetMap
192 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
193 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 ####.