CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/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=True
00048 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=True
00049 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=True
00050 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
00051 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
00052 
00053 # SiStripMonitorTrack ####
00054 # Clone for Cosmic Tracks
00055 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00056 SiStripMonitorTrack_cosmicTk  = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00057 SiStripMonitorTrack_cosmicTk.TrackProducer = 'cosmictrackfinderP5'
00058 SiStripMonitorTrack_cosmicTk.Mod_On        = False
00059 
00060 # Clone for CKF Tracks
00061 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00062 SiStripMonitorTrack_ckf = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00063 SiStripMonitorTrack_ckf.TrackProducer      = 'ctfWithMaterialTracksP5'
00064 SiStripMonitorTrack_ckf.Mod_On             = False
00065 
00066 # Clone for Road Search  Tracks
00067 #import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
00068 #SiStripMonitorTrack_rs = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
00069 #SiStripMonitorTrack_rs.TrackProducer       = 'rsWithMaterialTracksP5'
00070 #SiStripMonitorTrack_rs.Mod_On              = False
00071 
00072 # TrackerMonitorTrack ####
00073 # Clone for Cosmic Track Finder
00074 import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00075 MonitorTrackResiduals_cosmicTk = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00076 MonitorTrackResiduals_cosmicTk.trajectoryInput     = 'cosmictrackfinderP5'
00077 MonitorTrackResiduals_cosmicTk.OutputMEsInRootFile = False
00078 MonitorTrackResiduals_cosmicTk.Mod_On              = False
00079 # Clone for CKF Tracks
00080 import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00081 MonitorTrackResiduals_ckf = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00082 MonitorTrackResiduals_ckf.trajectoryInput          = 'ctfWithMaterialTracksP5'
00083 MonitorTrackResiduals_ckf.OutputMEsInRootFile      = False
00084 MonitorTrackResiduals_ckf.Mod_On                   = False
00085 # Clone for Road Search  Tracks
00086 #import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
00087 #MonitorTrackResiduals_rs = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone()
00088 #MonitorTrackResiduals_rs.trajectoryInput           = 'rsWithMaterialTracksP5'
00089 #MonitorTrackResiduals_rs.OutputMEsInRootFile       = False
00090 #MonitorTrackResiduals_rs.Mod_On                    = False
00091 
00092 # TrackingMonitor ####
00093 # Clone for Cosmic Track Finder
00094 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00095 TrackMon_cosmicTk = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00096 TrackMon_cosmicTk.TrackProducer                    = 'cosmictrackfinderP5'
00097 TrackMon_cosmicTk.AlgoName                         = 'CosmicTk'
00098 TrackMon_cosmicTk.FolderName                       = 'Tracking/TrackParameters'
00099 TrackMon_cosmicTk.doSeedParameterHistos            = True
00100 
00101 # Clone for CKF Tracks
00102 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00103 TrackMon_ckf = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00104 TrackMon_ckf.TrackProducer                         = 'ctfWithMaterialTracksP5'
00105 TrackMon_ckf.AlgoName                              = 'CKFTk'
00106 TrackMon_ckf.FolderName                            = 'Tracking/TrackParameters'
00107 TrackMon_ckf.doSeedParameterHistos                 = True
00108 
00109 # Clone for Road Search  Tracks
00110 #import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00111 #TrackMon_rs = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00112 #TrackMon_rs.TrackProducer                          = 'rsWithMaterialTracksP5'
00113 #TrackMon_rs.AlgoName                               = 'RSTk'
00114 #TrackMon_rs.FolderName                             = 'Tracking/TrackParameters'
00115 #TrackMon_rs.doSeedParameterHistos                  = True
00116 
00117 # Clone for Beam Halo Muon Tracks
00118 import DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi
00119 TrackMon_bhmuon = DQM.TrackingMonitor.TrackerCosmicsTrackingMonitor_cfi.TrackerCosmicTrackMon.clone()
00120 TrackMon_bhmuon.TrackProducer                      = 'ctfWithMaterialTracksBeamHaloMuon'
00121 TrackMon_bhmuon.AlgoName                           = 'BHMuonTk'
00122 TrackMon_bhmuon.FolderName                         = 'Tracking/TrackParameters'
00123 TrackMon_bhmuon.doSeedParameterHistos              = True
00124 
00125 # Tracking Efficiency
00126 # Clone for Cosmic Tracks
00127 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00128 TrackEffMon_cosmicTk = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00129 TrackEffMon_cosmicTk.TKTrackCollection             = 'cosmictrackfinderP5'
00130 TrackEffMon_cosmicTk.AlgoName                      = 'CosmicTk'
00131 TrackEffMon_cosmicTk.FolderName                    = 'Tracking/TrackParameters/TrackEfficiency'
00132 
00133 # Clone for CKF Tracks
00134 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00135 TrackEffMon_ckf = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00136 TrackEffMon_ckf.TKTrackCollection                  = 'ctfWithMaterialTracksP5'
00137 TrackEffMon_ckf.AlgoName                           = 'CKFTk'
00138 TrackEffMon_ckf.FolderName                         = 'Tracking/TrackParameters/TrackEfficiency'
00139 
00140 # Clone for RS Tracks
00141 #import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00142 #TrackEffMon_rs = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00143 #TrackEffMon_rs.TKTrackCollection                   = 'rsWithMaterialTracksP5'
00144 #TrackEffMon_rs.AlgoName                            = 'RSTk'
00145 #TrackEffMon_rs.FolderName                          = 'Tracking/TrackParameters/TrackEfficiency'
00146 
00147 # Clone for Beam Halo  Tracks
00148 import DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi
00149 TrackEffMon_bhmuon = DQM.TrackingMonitor.TrackEfficiencyMonitor_cfi.TrackEffMon.clone()
00150 TrackEffMon_bhmuon.TKTrackCollection               = 'ctfWithMaterialTracksBeamHaloMuon'
00151 TrackEffMon_bhmuon.AlgoName                        = 'BHMuonTk'
00152 TrackEffMon_bhmuon.FolderName                      = 'Tracking/TrackParameters/TrackEfficiency'
00153 
00154 # Split Tracking
00155 from  DQM.TrackingMonitor.TrackSplittingMonitor_cfi import *
00156 TrackSplitMonitor.FolderName = 'Tracking/TrackParameters/SplitTracks'
00157 
00158 
00159 # DQM Services
00160 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
00161      subSystemFolder = cms.untracked.string('SiStrip')
00162 )
00163 
00164 # Services needed for TkHistoMap
00165 TkDetMap = cms.Service("TkDetMap")
00166 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
00167 
00168 # Event History Producer
00169 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
00170 
00171 # APV Phase Producer
00172 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1ts2011_cfi import *
00173 
00174 # Sequences 
00175 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
00176 
00177 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
00178 
00179 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
00180 
00181 SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)