CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripSourceConfigTier0_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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= False
24 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
25 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
26 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = True
27 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
28 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = True
29 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = True
30 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = True
31 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = True
32 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = True
33 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = True
34 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
35 
36 # SiStripMonitorCluster ####
38 SiStripMonitorClusterBPTX = SiStripMonitorCluster.clone()
39 SiStripMonitorClusterBPTX.Mod_On = False
40 SiStripMonitorClusterBPTX.TH1TotalNumberOfClusters.subdetswitchon = True
41 SiStripMonitorClusterBPTX.TProfClustersApvCycle.subdetswitchon = True
42 SiStripMonitorClusterBPTX.TProfTotalNumberOfClusters.subdetswitchon = True
43 SiStripMonitorClusterBPTX.TrendVsLS = True
44 SiStripMonitorClusterBPTX.TH2CStripVsCpixel.globalswitchon = True
45 SiStripMonitorClusterBPTX.TH1MultiplicityRegions.globalswitchon = True
46 SiStripMonitorClusterBPTX.TH1MainDiagonalPosition.globalswitchon = True
47 SiStripMonitorClusterBPTX.TH1StripNoise2ApvCycle.globalswitchon = True
48 SiStripMonitorClusterBPTX.TH1StripNoise3ApvCycle.globalswitchon = True
49 SiStripMonitorClusterBPTX.ClusterHisto = True
50 SiStripMonitorClusterBPTX.BPTXfilter = cms.PSet(
51  andOr = cms.bool( False ),
52  dbLabel = cms.string("SiStripDQMTrigger"),
53  l1Algorithms = cms.vstring( 'L1Tech_BPTX_plus_AND_minus.v0', 'L1_ZeroBias' ),
54  andOrL1 = cms.bool( True ),
55  errorReplyL1 = cms.bool( True ),
56  l1BeforeMask = cms.bool( True ) # specifies, if the L1 algorithm decision should be read as before (true) or after (false) masking is applied.
57 )
58 SiStripMonitorClusterBPTX.PixelDCSfilter = cms.PSet(
59  andOr = cms.bool( False ),
60  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
61  dcsPartitions = cms.vint32 ( 28, 29),
62  andOrDcs = cms.bool( False ),
63  errorReplyDcs = cms.bool( True ),
64 )
65 SiStripMonitorClusterBPTX.StripDCSfilter = cms.PSet(
66  andOr = cms.bool( False ),
67  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
68  dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
69  andOrDcs = cms.bool( False ),
70  errorReplyDcs = cms.bool( True ),
71 )
72 
73 
74 
75 # Clone for SiStripMonitorTrack for all PDs but Minimum Bias and Jet ####
77 SiStripMonitorTrackCommon = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
78 SiStripMonitorTrackCommon.TrackProducer = 'generalTracks'
79 SiStripMonitorTrackCommon.Mod_On = False
80 
81 # Clone for SiStripMonitorTrack for Minimum Bias ####
83 SiStripMonitorTrackMB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
84 SiStripMonitorTrackMB.TrackProducer = 'generalTracks'
85 SiStripMonitorTrackMB.Mod_On = False
86 SiStripMonitorTrackMB.andOr = cms.bool( False )
87 SiStripMonitorTrackMB.dbLabel = cms.string("SiStripDQMTrigger")
88 SiStripMonitorTrackMB.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
89 SiStripMonitorTrackMB.hltPaths = cms.vstring("HLT_ZeroBias_v*","HLT_HIZeroBias_v*")
90 SiStripMonitorTrackMB.hltDBKey = cms.string("Tracker_MB")
91 SiStripMonitorTrackMB.errorReplyHlt = cms.bool( False )
92 SiStripMonitorTrackMB.andOrHlt = cms.bool(True) # True:=OR; False:=AND
93 
94 ### TrackerMonitorTrack defined and used only for MinimumBias ####
96 MonitorTrackResiduals.trajectoryInput = 'generalTracks'
97 MonitorTrackResiduals.Mod_On = False
98 MonitorTrackResiduals.andOr = cms.bool( False )
99 MonitorTrackResiduals.dbLabel = cms.string("SiStripDQMTrigger")
100 MonitorTrackResiduals.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
101 MonitorTrackResiduals.hltPaths = cms.vstring("HLT_ZeroBias_v*","HLT_HIZeroBias_v*")
102 MonitorTrackResiduals.hltDBKey = cms.string("Tracker_MB")
103 MonitorTrackResiduals.errorReplyHlt = cms.bool( False )
104 MonitorTrackResiduals.andOrHlt = cms.bool(True)
105 
106 # DQM Services
107 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
108  subSystemFolder = cms.untracked.string('SiStrip')
109 )
110 
111 # Services needed for TkHistoMap
112 TkDetMap = cms.Service("TkDetMap")
113 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
114 
115 # Event History Producer
117 
118 # APV Phase Producer
120 
121 # temporary patch in order to have BXlumi
123 
124 # Sequence
125 #removed modules using TkDetMap service
126 #SiStripDQMTier0 = cms.Sequence(
127 # APVPhases*consecutiveHEs*siStripFEDCheck
128 # *MonitorTrackResiduals
129 # *dqmInfoSiStrip)
130 
131 #SiStripDQMTier0Common = cms.Sequence(
132 # APVPhases*consecutiveHEs*siStripFEDCheck
133 # *dqmInfoSiStrip)
134 
135 #SiStripDQMTier0MinBias = cms.Sequence(
136 # APVPhases*consecutiveHEs*siStripFEDCheck
137 # *SiStripMonitorTrackMB*MonitorTrackResiduals
138 # *dqmInfoSiStrip)
139 
140 SiStripDQMTier0 = cms.Sequence(
141  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
142  *SiStripMonitorTrackCommon*MonitorTrackResiduals
143  *dqmInfoSiStrip)
144 
145 SiStripDQMTier0Common = cms.Sequence(
146  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
147  *SiStripMonitorTrackCommon
148  *dqmInfoSiStrip)
149 
150 SiStripDQMTier0MinBias = cms.Sequence(
151  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
152  *SiStripMonitorTrackMB*MonitorTrackResiduals
153  *dqmInfoSiStrip)
154 
155 
156 
TrackerMonitorTrack defined and used only for MinimumBias ####.