Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-26 10:51:14

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.SiStripMonitorHardware.siStripFEDMonitor_P5_cff import *
0004 siStripFEDMonitor.nFEDErrorsHistogramConfig.NBins = cms.untracked.uint32(441)
0005 siStripFEDMonitor.nFEDErrorsHistogramConfig.Max = cms.untracked.double(440.5)
0006 
0007 # SiStripMonitorDigi ####
0008 from DQM.SiStripMonitorDigi.SiStripMonitorDigi_cfi import *
0009 SiStripMonitorDigi.SelectAllDetectors = True
0010 SiStripMonitorDigi.TProfTotalNumberOfDigis.subdetswitchon = True
0011 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
0012 SiStripMonitorDigi.TotalNumberOfDigisFailure.subdetswitchon = True
0013 
0014 # APV shots monitoring
0015 SiStripMonitorDigi.TkHistoMapNApvShots_On = True 
0016 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= False
0017 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= False
0018 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
0019 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
0020 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = False
0021 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
0022 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = False
0023 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = False
0024 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = False
0025 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = False
0026 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = False
0027 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = False
0028 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
0029 
0030 # removing some histograms
0031 SiStripMonitorDigi.TH1ADCsCoolestStrip.moduleswitchon = False
0032 SiStripMonitorDigi.TH1ADCsHottestStrip.moduleswitchon = False
0033 SiStripMonitorDigi.TH1DigiADCs.moduleswitchon = False
0034 SiStripMonitorDigi.TH1StripOccupancy.moduleswitchon = False
0035 SiStripMonitorDigi.TH1NumberOfDigis.moduleswitchon = False
0036 
0037 from DQM.SiStripMonitorDigi.SiStripBaselineValidator_cfi import *
0038 
0039 # SiStripMonitorCluster ####
0040 from DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi import *
0041 SiStripMonitorClusterReal = SiStripMonitorCluster.clone(
0042     SelectAllDetectors = True,
0043     TProfTotalNumberOfClusters = SiStripMonitorCluster.TProfTotalNumberOfClusters.clone(
0044         subdetswitchon = True
0045     ),
0046     TProfClustersApvCycle = SiStripMonitorCluster.TProfClustersApvCycle.clone(
0047         subdetswitchon = True
0048     ),
0049     TH2CStripVsCpixel = SiStripMonitorCluster.TH2CStripVsCpixel.clone(
0050         globalswitchon = True
0051     ),
0052     TH1MultiplicityRegions = SiStripMonitorCluster.TH1MultiplicityRegions.clone(
0053         globalswitchon = True
0054     ),
0055     TH1MainDiagonalPosition = SiStripMonitorCluster.TH1MainDiagonalPosition.clone(
0056         globalswitchon = True
0057     ),
0058     TH1StripNoise2ApvCycle = SiStripMonitorCluster.TH1StripNoise2ApvCycle.clone(
0059         globalswitchon = True
0060     ),
0061     TH1StripNoise3ApvCycle = SiStripMonitorCluster.TH1StripNoise3ApvCycle.clone(
0062         globalswitchon = True
0063     ),
0064     ClusterHisto = True,
0065     # removing some histograms
0066     TH1NrOfClusterizedStrips = SiStripMonitorCluster.TH1NrOfClusterizedStrips.clone(
0067         moduleswitchon = False
0068     ),
0069     TH1ClusterNoise = SiStripMonitorCluster.TH1ClusterNoise.clone(
0070         moduleswitchon = False
0071     ),
0072     TH1ClusterStoN = SiStripMonitorCluster.TH1ClusterStoN.clone(
0073         moduleswitchon = False
0074     ),
0075     TH1ClusterCharge = SiStripMonitorCluster.TH1ClusterCharge.clone(
0076         moduleswitchon = False
0077     ),
0078     TH1ClusterWidth = SiStripMonitorCluster.TH1ClusterWidth.clone(
0079         moduleswitchon = False
0080     ),
0081     TH1ModuleLocalOccupancy = SiStripMonitorCluster.TH1ModuleLocalOccupancy.clone(
0082         moduleswitchon = False
0083     ),
0084     TH1nClusters = SiStripMonitorCluster.TH1nClusters.clone(
0085         moduleswitchon = False
0086     ),
0087     TH1ClusterPos = SiStripMonitorCluster.TH1ClusterPos.clone(
0088         moduleswitchon = False
0089     )
0090 )
0091 
0092 # Clone for Cosmic Track Finder
0093 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
0094 SiStripMonitorTrack_cosmicTk = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0095     TrackProducer = 'cosmictrackfinderP5',
0096     Mod_On = False,
0097 )
0098 
0099 # Clone for CKF Tracks
0100 SiStripMonitorTrack_ckf = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0101     TrackProducer = 'ctfWithMaterialTracksP5',
0102     Mod_On = False,
0103 )
0104 
0105 # Clone fir Road Search  Tracks
0106 # SiStripMonitorTrack_rs = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0107 #     TrackProducer = 'rsWithMaterialTracksP5',
0108 #     Mod_On = True,
0109 # )
0110 
0111 # Clone for General Tracks (for Collision)
0112 SiStripMonitorTrack_gentk = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0113     TrackProducer = 'generalTracks',
0114     Mod_On = False
0115 )
0116 
0117 # Clone for Heavy Ion Tracks (for HI Collisions)
0118 SiStripMonitorTrack_hi = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0119     TrackProducer = 'hiGeneralTracks',
0120     Mod_On = True
0121 )
0122 
0123 # TrackerMonitorTrack ####
0124 # Clone for Cosmic Track Finder
0125 # import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
0126 # MonitorTrackResiduals_cosmicTk = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone(
0127 #     Tracks = 'cosmictrackfinderP5',
0128 #     trajectoryInput = 'cosmictrackfinderP5',
0129 #     Mod_On = False,
0130 #     VertexCut = False
0131 # )
0132 
0133 # Clone for CKF Tracks
0134 # import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
0135 # MonitorTrackResiduals_ckf = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone(
0136 #     Tracks = 'ctfWithMaterialTracksP5',
0137 #     trajectoryInput = 'ctfWithMaterialTracksP5',
0138 #     Mod_On = False
0139 #     VertexCut = False
0140 # )
0141 
0142 # Clone for Road Search  Tracks
0143 # import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
0144 # MonitorTrackResiduals_rs = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone(
0145 #     Tracks = 'rsWithMaterialTracksP5',
0146 #     trajectoryInput = 'rsWithMaterialTracksP5',
0147 #     Mod_On = False,
0148 #     VertexCut = False
0149 # )
0150 
0151 # Clone for General Track (for Collision data)
0152 import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
0153 MonitorTrackResiduals_gentk = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone(
0154     Tracks = 'generalTracks',
0155     trajectoryInput = 'generalTracks',
0156     Mod_On = False
0157 )
0158 
0159 # Clone for Heavy Ion Tracks (for HI Collisions)
0160 # import DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi
0161 # MonitorTrackResiduals_hi = DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi.MonitorTrackResiduals.clone(
0162 #     Tracks = 'hiGeneralTracks',
0163 #     trajectoryInput = 'hiGeneralTracks',
0164 #     Mod_On = False
0165 # )
0166 
0167 # Services needed for TkHistoMap
0168 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *