CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/SiStripMonitorClient/python/SiStripSourceConfigTier0_Cosmic_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # FED integrity Check
00004 from DQM.SiStripMonitorHardware.siStripFEDCheck_cfi import *
00005 siStripFEDCheck.HistogramUpdateFrequency = 0
00006 siStripFEDCheck.DoPayloadChecks          = True
00007 siStripFEDCheck.CheckChannelLengths      = True
00008 siStripFEDCheck.CheckChannelPacketCodes  = True
00009 siStripFEDCheck.CheckFELengths           = True
00010 siStripFEDCheck.CheckChannelStatus       = True
00011 
00012 # FED Monitoring
00013 from DQM.SiStripMonitorHardware.siStripFEDMonitor_Tier0_cff import *
00014 
00015 # SiStripMonitorDigi ####
00016 from DQM.SiStripMonitorDigi.SiStripMonitorDigi_cfi import *
00017 SiStripMonitorDigi.Mod_On = False
00018 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
00019 
00020 # APV shots monitoring
00021 SiStripMonitorDigi.TkHistoMapNApvShots_On = True 
00022 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= True
00023 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= True
00024 
00025 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
00026 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
00027 
00028 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = True
00029 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
00030 
00031 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = True
00032 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = True
00033 
00034 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = True
00035 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = True
00036 
00037 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = True
00038 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = True
00039 
00040 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
00041 
00042 # SiStripMonitorCluster ####
00043 from DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi import *
00044 SiStripMonitorCluster.Mod_On = False
00045 SiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon = True
00046 SiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = True
00047 SiStripMonitorCluster.TH2CStripVsCpixel.globalswitchon=False
00048 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=False
00049 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=False
00050 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
00051 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
00052 SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
00053 SiStripMonitorCluster.ClusterHisto = True
00054 SiStripMonitorCluster.TH1NClusStrip.Nbinsx = cms.int32(200)
00055 SiStripMonitorCluster.TH1NClusStrip.xmax = cms.double(3999.5)
00056 SiStripMonitorCluster.TH1NClusPx.Nbinsx = cms.int32(100)
00057 SiStripMonitorCluster.TH1NClusPx.xmax = cms.double(999.5)
00058 SiStripMonitorCluster.TH1TotalNumberOfClusters.Nbinx = cms.int32(100)
00059 SiStripMonitorCluster.TH1TotalNumberOfClusters.xmax = cms.double(1999.5)
00060 
00061 # SiStripMonitorTrack ####
00062 # Clone for Cosmic Tracks
00063 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00064 SiStripMonitorTrack_cosmicTk  = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00065 SiStripMonitorTrack_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
00066 SiStripMonitorTrack_cosmicTk.Mod_On        = False
00067 
00068 # Clone for CKF Tracks
00069 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00070 SiStripMonitorTrack_ckf = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00071 SiStripMonitorTrack_ckf.TrackProducer      = 'ctfWithMaterialTracksP5'
00072 SiStripMonitorTrack_ckf.Mod_On             = False
00073 
00074 # Clone for Road Search  Tracks
00075 #import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00076 #SiStripMonitorTrack_rs = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00077 #SiStripMonitorTrack_rs.TrackProducer       = 'rsWithMaterialTracksP5'
00078 #SiStripMonitorTrack_rs.Mod_On              = False
00079 
00080 # TrackerMonitorTrack ####
00081 # Clone for Cosmic Track Finder
00082 import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00083 MonitorTrackResiduals_cosmicTk = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00084 MonitorTrackResiduals_cosmicTk.trajectoryInput     = 'cosmictrackfinderP5'
00085 MonitorTrackResiduals_cosmicTk.OutputMEsInRootFile = False
00086 MonitorTrackResiduals_cosmicTk.Mod_On              = False
00087 # Clone for CKF Tracks
00088 import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00089 MonitorTrackResiduals_ckf = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00090 MonitorTrackResiduals_ckf.trajectoryInput          = 'ctfWithMaterialTracksP5'
00091 MonitorTrackResiduals_ckf.OutputMEsInRootFile      = False
00092 MonitorTrackResiduals_ckf.Mod_On                   = False
00093 # Clone for Road Search  Tracks
00094 #import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00095 #MonitorTrackResiduals_rs = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00096 #MonitorTrackResiduals_rs.trajectoryInput           = 'rsWithMaterialTracksP5'
00097 #MonitorTrackResiduals_rs.OutputMEsInRootFile       = False
00098 #MonitorTrackResiduals_rs.Mod_On                    = False
00099 
00100 # TrackingMonitor ####
00101 # Clone for Cosmic Track Finder
00102 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00103 TrackMon_cosmicTk = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00104 TrackMon_cosmicTk.TrackProducer                    = 'cosmictrackfinderP5'
00105 TrackMon_cosmicTk.AlgoName                         = 'CosmicTk'
00106 TrackMon_cosmicTk.FolderName                       = 'Tracking/TrackParameters'
00107 TrackMon_cosmicTk.doSeedParameterHistos            = True
00108 
00109 # Clone for CKF Tracks
00110 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00111 TrackMon_ckf = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00112 TrackMon_ckf.TrackProducer                         = 'ctfWithMaterialTracksP5'
00113 TrackMon_ckf.AlgoName                              = 'CKFTk'
00114 TrackMon_ckf.FolderName                            = 'Tracking/TrackParameters'
00115 TrackMon_ckf.doSeedParameterHistos                 = True
00116 
00117 # Clone for Road Search  Tracks
00118 #import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00119 #TrackMon_rs = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00120 #TrackMon_rs.TrackProducer                          = 'rsWithMaterialTracksP5'
00121 #TrackMon_rs.AlgoName                               = 'RSTk'
00122 #TrackMon_rs.FolderName                             = 'Tracking/TrackParameters'
00123 #TrackMon_rs.doSeedParameterHistos                  = True
00124 
00125 # Clone for Beam Halo Muon Tracks
00126 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00127 TrackMon_bhmuon = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00128 TrackMon_bhmuon.TrackProducer                      = 'ctfWithMaterialTracksBeamHaloMuon'
00129 TrackMon_bhmuon.AlgoName                           = 'BHMuonTk'
00130 TrackMon_bhmuon.FolderName                         = 'Tracking/TrackParameters'
00131 TrackMon_bhmuon.doSeedParameterHistos              = True
00132 
00133 # Tracking Efficiency
00134 # Clone for Cosmic Tracks
00135 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00136 TrackEffMon_cosmicTk = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00137 TrackEffMon_cosmicTk.TKTrackCollection             = 'cosmictrackfinderP5'
00138 TrackEffMon_cosmicTk.AlgoName                      = 'CosmicTk'
00139 TrackEffMon_cosmicTk.FolderName                    = 'Tracking/TrackParameters/TrackEfficiency'
00140 
00141 # Clone for CKF Tracks
00142 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00143 TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00144 TrackEffMon_ckf.TKTrackCollection                  = 'ctfWithMaterialTracksP5'
00145 TrackEffMon_ckf.AlgoName                           = 'CKFTk'
00146 TrackEffMon_ckf.FolderName                         = 'Tracking/TrackParameters/TrackEfficiency'
00147 
00148 # Clone for RS Tracks
00149 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00150 #TrackEffMon_rs = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00151 #TrackEffMon_rs.TKTrackCollection                   = 'rsWithMaterialTracksP5'
00152 #TrackEffMon_rs.AlgoName                            = 'RSTk'
00153 #TrackEffMon_rs.FolderName                          = 'Tracking/TrackParameters/TrackEfficiency'
00154 
00155 # Clone for Beam Halo  Tracks
00156 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00157 TrackEffMon_bhmuon = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00158 TrackEffMon_bhmuon.TKTrackCollection               = 'ctfWithMaterialTracksBeamHaloMuon'
00159 TrackEffMon_bhmuon.AlgoName                        = 'BHMuonTk'
00160 TrackEffMon_bhmuon.FolderName                      = 'Tracking/TrackParameters/TrackEfficiency'
00161 
00162 # Split Tracking
00163 from  DQM.TrackingMonitor.TrackSplittingMonitor_cfi import *
00164 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
00165 
00166 
00167 # DQM Services
00168 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
00169      subSystemFolder = cms.untracked.string('SiStrip')
00170 )
00171 
00172 # Services needed for TkHistoMap
00173 TkDetMap = cms.Service("TkDetMap")
00174 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
00175 
00176 # Event History Producer
00177 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
00178 
00179 # APV Phase Producer
00180 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1ts2011_cfi import *
00181 
00182 # Sequences 
00183 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
00184 
00185 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
00186 
00187 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
00188 
00189 SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)