Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-24 23:46:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # FED integrity Check
0004 from DQM.SiStripMonitorHardware.siStripFEDCheck_cfi import *
0005 siStripFEDCheck.HistogramUpdateFrequency = 0
0006 siStripFEDCheck.DoPayloadChecks          = True
0007 siStripFEDCheck.CheckChannelLengths      = True
0008 siStripFEDCheck.CheckChannelPacketCodes  = True
0009 siStripFEDCheck.CheckFELengths           = True
0010 siStripFEDCheck.CheckChannelStatus       = True
0011 
0012 # FED Monitoring
0013 from DQM.SiStripMonitorHardware.siStripFEDMonitor_Tier0_cff import *
0014 
0015 # SiStripMonitorDigi ####
0016 from DQM.SiStripMonitorDigi.SiStripMonitorDigi_cfi import *
0017 SiStripMonitorDigi.Mod_On = False
0018 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
0019 
0020 # APV shots monitoring
0021 SiStripMonitorDigi.TkHistoMapNApvShots_On = True 
0022 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= False
0023 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= False
0024 
0025 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
0026 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
0027 
0028 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = False
0029 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
0030 
0031 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = False
0032 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = False
0033 
0034 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = False
0035 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = False
0036 
0037 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = False
0038 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = False
0039 
0040 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
0041 
0042 # SiStripMonitorCluster ####
0043 from DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi import *
0044 SiStripMonitorCluster.Mod_On = False
0045 SiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon = True
0046 SiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = True 
0047 SiStripMonitorCluster.TrendVs10LS = False
0048 SiStripMonitorCluster.TH2CStripVsCpixel.globalswitchon=False
0049 SiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon=False
0050 SiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon=False
0051 SiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon=True
0052 SiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon=True
0053 SiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon = True
0054 SiStripMonitorCluster.TH1TotalNumberOfClusters.xmax = cms.double(1999.5)
0055 SiStripMonitorCluster.ClusterHisto = True
0056 SiStripMonitorCluster.TH1NClusStrip.Nbinsx = cms.int32(100)
0057 SiStripMonitorCluster.TH1NClusStrip.xmax = cms.double(1999.5)
0058 SiStripMonitorCluster.TH1NClusPx.Nbinsx = cms.int32(100)
0059 SiStripMonitorCluster.TH1NClusPx.xmax = cms.double(999.5)
0060 
0061 # SiStripMonitorTrack ####
0062 # Clone for Cosmic Tracks
0063 from DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi import *
0064 SiStripMonitorTrack_cosmicTk  = SiStripMonitorTrack.clone(
0065     TrackProducer = 'cosmictrackfinderP5',
0066     Mod_On = False
0067 )
0068 
0069 # Clone for CKF Tracks
0070 SiStripMonitorTrack_ckf = SiStripMonitorTrack.clone(
0071     TrackProducer = 'ctfWithMaterialTracksP5',
0072     Mod_On = False,
0073     TH1nClustersOff = SiStripMonitorTrack.TH1nClustersOff.clone(
0074         xmax = 1999.5
0075     )
0076 )
0077 
0078 # Clone for Road Search  Tracks
0079 # SiStripMonitorTrack_rs = SiStripMonitorTrack.clone(
0080 #     TrackProducer = 'rsWithMaterialTracksP5',
0081 #     Mod_On = False
0082 # )
0083 
0084 # track refitter 
0085 from RecoTracker.TrackProducer.TrackRefitterP5_cfi import *
0086 refitterForCosmictrackfinderP5 = TrackRefitterP5.clone(
0087     src = "cosmictrackfinderP5"
0088 )
0089 refitterForCtfWithMaterialTracksP5 = TrackRefitterP5.clone(
0090     src = "ctfWithMaterialTracksP5"
0091 )
0092 refitterForRsWithMaterialTracksP5 = TrackRefitterP5.clone(
0093     src = "rsWithMaterialTracksP5"
0094 )
0095 
0096 # TrackerMonitorTrack ####
0097 # Clone for Cosmic Track Finder
0098 from DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi import *
0099 MonitorTrackResiduals_cosmicTk = MonitorTrackResiduals.clone(
0100     trajectoryInput = 'refitterForCosmictrackfinderP5',
0101     Tracks = 'refitterForCosmictrackfinderP5',
0102     Mod_On = False,
0103     VertexCut = False
0104 )
0105 # Clone for CKF Tracks
0106 MonitorTrackResiduals_ckf = MonitorTrackResiduals.clone(
0107     trajectoryInput = 'refitterForCtfWithMaterialTracksP5',
0108     Tracks = 'refitterForCtfWithMaterialTracksP5',
0109     Mod_On = False,
0110     VertexCut = False
0111 )
0112 
0113 # Clone for Road Search Tracks
0114 # MonitorTrackResiduals_rs = MonitorTrackResiduals.clone(
0115 #     trajectoryInput = 'refitterForRsWithMaterialTracksP5',
0116 #     Tracks = 'refitterForRsWithMaterialTracksP5',
0117 #     Mod_On = False,
0118 #     VertexCut = False
0119 # )
0120 
0121 # DQM Services
0122 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0123 dqmInfoSiStrip = DQMEDAnalyzer('DQMEventInfo',
0124      subSystemFolder = cms.untracked.string('SiStrip')
0125 )
0126 
0127 # Services needed for TkHistoMap
0128 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *
0129 
0130 # Event History Producer
0131 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
0132 
0133 # APV Phase Producer
0134 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1tsDB_cfi import *
0135 
0136 # Sequences 
0137 #SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk*TrackMon_cosmicTk*TrackEffMon_cosmicTk)
0138 SiStripDQMTier0_cosmicTk = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_cosmicTk*MonitorTrackResiduals_cosmicTk)
0139 
0140 #removed modules using TkDetMap
0141 #SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*MonitorTrackResiduals_ckf*TrackMon_ckf*TrackEffMon_ckf)
0142 SiStripDQMTier0_ckf = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf)
0143 
0144 #SiStripDQMTier0_rs = cms.Sequence(APVPhases*consecutiveHEs*SiStripMonitorTrack_rs*MonitorTrackResiduals_rs*TrackMon_rs*TrackEffMon_rs)
0145 
0146 #removed modules using TkDetMap
0147 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
0148 #SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*MonitorTrackResiduals_ckf*TrackMon_cosmicTk*TrackMon_ckf*TrackEffMon_ckf*TrackSplitMonitor*dqmInfoSiStrip)
0149 SiStripDQMTier0 = cms.Sequence(APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorCluster*SiStripMonitorTrack_ckf*refitterForCtfWithMaterialTracksP5*MonitorTrackResiduals_ckf*dqmInfoSiStrip)