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 SiStripMonitorTrackCommon.TH1ClusterCharge.ringView = cms.bool( True )
81 SiStripMonitorTrackCommon.TH1ClusterStoNCorr.ringView = cms.bool( True )
82 
83 # Clone for SiStripMonitorTrack for Minimum Bias ####
85 SiStripMonitorTrackMB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
86 SiStripMonitorTrackMB.TrackProducer = 'generalTracks'
87 SiStripMonitorTrackMB.Mod_On = False
88 SiStripMonitorTrackMB.andOr = cms.bool( False )
89 SiStripMonitorTrackMB.dbLabel = cms.string("SiStripDQMTrigger")
90 SiStripMonitorTrackMB.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
91 SiStripMonitorTrackMB.hltPaths = cms.vstring("HLT_ZeroBias_v*","HLT_HIZeroBias_v*")
92 SiStripMonitorTrackMB.hltDBKey = cms.string("Tracker_MB")
93 SiStripMonitorTrackMB.errorReplyHlt = cms.bool( False )
94 SiStripMonitorTrackMB.andOrHlt = cms.bool(True) # True:=OR; False:=AND
95 SiStripMonitorTrackMB.TH1ClusterCharge.ringView = cms.bool( True )
96 SiStripMonitorTrackMB.TH1ClusterStoNCorr.ringView = cms.bool( True )
97 
98 ### TrackerMonitorTrack defined and used only for MinimumBias ####
100 MonitorTrackResiduals.trajectoryInput = 'generalTracks'
101 MonitorTrackResiduals.Tracks = 'generalTracks'
102 MonitorTrackResiduals.Mod_On = False
103 MonitorTrackResiduals.andOr = cms.bool( False )
104 MonitorTrackResiduals.dbLabel = cms.string("SiStripDQMTrigger")
105 MonitorTrackResiduals.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
106 MonitorTrackResiduals.hltPaths = cms.vstring("HLT_ZeroBias_v*","HLT_HIZeroBias_v*")
107 MonitorTrackResiduals.hltDBKey = cms.string("Tracker_MB")
108 MonitorTrackResiduals.errorReplyHlt = cms.bool( False )
109 MonitorTrackResiduals.andOrHlt = cms.bool(True)
110 
111 # DQM Services
112 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
113  subSystemFolder = cms.untracked.string('SiStrip')
114 )
115 
116 # Services needed for TkHistoMap
117 TkDetMap = cms.Service("TkDetMap")
118 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
119 
120 # Event History Producer
122 
123 # APV Phase Producer
125 
126 # temporary patch in order to have BXlumi
128 
129 # Sequence
130 #removed modules using TkDetMap service
131 #SiStripDQMTier0 = cms.Sequence(
132 # APVPhases*consecutiveHEs*siStripFEDCheck
133 # *MonitorTrackResiduals
134 # *dqmInfoSiStrip)
135 
136 #SiStripDQMTier0Common = cms.Sequence(
137 # APVPhases*consecutiveHEs*siStripFEDCheck
138 # *dqmInfoSiStrip)
139 
140 #SiStripDQMTier0MinBias = cms.Sequence(
141 # APVPhases*consecutiveHEs*siStripFEDCheck
142 # *SiStripMonitorTrackMB*MonitorTrackResiduals
143 # *dqmInfoSiStrip)
144 
145 SiStripDQMTier0 = cms.Sequence(
146  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
147  *SiStripMonitorTrackCommon*MonitorTrackResiduals
148  *dqmInfoSiStrip)
149 
150 SiStripDQMTier0Common = cms.Sequence(
151  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
152  *SiStripMonitorTrackCommon
153  *dqmInfoSiStrip)
154 
155 SiStripDQMTier0MinBias = cms.Sequence(
156  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
157  *SiStripMonitorTrackMB*MonitorTrackResiduals
158  *dqmInfoSiStrip)
159 
160 
161 
TrackerMonitorTrack defined and used only for MinimumBias ####.