test
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 
37 
38 # SiStripMonitorCluster ####
40 SiStripMonitorClusterBPTX = SiStripMonitorCluster.clone()
41 SiStripMonitorClusterBPTX.Mod_On = False
42 SiStripMonitorClusterBPTX.TH1TotalNumberOfClusters.subdetswitchon = True
43 SiStripMonitorClusterBPTX.TProfClustersApvCycle.subdetswitchon = True
44 SiStripMonitorClusterBPTX.TProfTotalNumberOfClusters.subdetswitchon = True
45 SiStripMonitorClusterBPTX.TrendVsLS = True
46 SiStripMonitorClusterBPTX.TH2CStripVsCpixel.globalswitchon = True
47 SiStripMonitorClusterBPTX.TH1MultiplicityRegions.globalswitchon = True
48 SiStripMonitorClusterBPTX.TH1MainDiagonalPosition.globalswitchon = True
49 SiStripMonitorClusterBPTX.TH1StripNoise2ApvCycle.globalswitchon = True
50 SiStripMonitorClusterBPTX.TH1StripNoise3ApvCycle.globalswitchon = True
51 SiStripMonitorClusterBPTX.ClusterHisto = True
52 SiStripMonitorClusterBPTX.BPTXfilter = genericTriggerEventFlag4L1bd
53 SiStripMonitorClusterBPTX.PixelDCSfilter = cms.PSet(
54  andOr = cms.bool( False ),
55  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
56  dcsPartitions = cms.vint32 ( 28, 29),
57  andOrDcs = cms.bool( False ),
58  errorReplyDcs = cms.bool( True ),
59 )
60 SiStripMonitorClusterBPTX.StripDCSfilter = cms.PSet(
61  andOr = cms.bool( False ),
62  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
63  dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
64  andOrDcs = cms.bool( False ),
65  errorReplyDcs = cms.bool( True ),
66 )
67 
68 from Configuration.StandardSequences.Eras import eras
69 eras.stage2L1Trigger.toModify(SiStripMonitorClusterBPTX,
70  BPTXfilter = dict(
71  stage2 = cms.bool(True),
72  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
73  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis")
74  )
75 )
76 
77 # Clone for SiStripMonitorTrack for all PDs but Minimum Bias and Jet ####
79 SiStripMonitorTrackCommon = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
80 SiStripMonitorTrackCommon.TrackProducer = 'generalTracks'
81 SiStripMonitorTrackCommon.Mod_On = False
82 SiStripMonitorTrackCommon.TH1ClusterCharge.ringView = cms.bool( True )
83 SiStripMonitorTrackCommon.TH1ClusterStoNCorr.ringView = cms.bool( True )
84 SiStripMonitorTrackCommon.TH1ClusterPos.layerView = cms.bool( False )
85 SiStripMonitorTrackCommon.TH1ClusterPos.ringView = cms.bool( True )
86 
87 # Clone for SiStripMonitorTrack for Minimum Bias ####
89 SiStripMonitorTrackMB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
90 SiStripMonitorTrackMB.TrackProducer = 'generalTracks'
91 SiStripMonitorTrackMB.Mod_On = False
92 SiStripMonitorTrackMB.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
93 SiStripMonitorTrackMB.TH1ClusterCharge.ringView = cms.bool( True )
94 SiStripMonitorTrackMB.TH1ClusterStoNCorr.ringView = cms.bool( True )
95 
96 
97 # Clone for SiStripMonitorTrack for Minimum Bias ####
99 SiStripMonitorTrackIB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
100 SiStripMonitorTrackIB.TrackProducer = 'generalTracks'
101 SiStripMonitorTrackIB.Mod_On = False
102 SiStripMonitorTrackIB.genericTriggerEventPSet = genericTriggerEventFlag4HLTdbIB
103 SiStripMonitorTrackIB.TH1ClusterCharge.ringView = cms.bool( True )
104 SiStripMonitorTrackIB.TH1ClusterStoNCorr.ringView = cms.bool( True )
105 SiStripMonitorTrackIB.TkHistoMap_On = cms.bool(False)
106 SiStripMonitorTrackIB.TH1ClusterNoise.layerView = cms.bool(False)
107 SiStripMonitorTrackIB.TH1ClusterWidth.layerView = cms.bool(False)
108 SiStripMonitorTrackIB.TH1ClusterChargePerCM.ringView = cms.bool(False)
109 SiStripMonitorTrackIB.TopFolderName = cms.string("SiStrip/IsolatedBunches")
110 
111 
112 ### TrackerMonitorTrack defined and used only for MinimumBias ####
114 MonitorTrackResiduals.trajectoryInput = 'generalTracks'
115 MonitorTrackResiduals.Tracks = 'generalTracks'
116 MonitorTrackResiduals.Mod_On = False
117 MonitorTrackResiduals.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
118 
119 # DQM Services
120 dqmInfoSiStrip = cms.EDAnalyzer("DQMEventInfo",
121  subSystemFolder = cms.untracked.string('SiStrip')
122 )
123 
124 # Services needed for TkHistoMap
125 TkDetMap = cms.Service("TkDetMap")
126 SiStripDetInfoFileReade = cms.Service("SiStripDetInfoFileReader")
127 
128 # Event History Producer
130 
131 # APV Phase Producer
133 
134 # temporary patch in order to have BXlumi
136 
137 # Sequence
138 #removed modules using TkDetMap service
139 #SiStripDQMTier0 = cms.Sequence(
140 # APVPhases*consecutiveHEs*siStripFEDCheck
141 # *MonitorTrackResiduals
142 # *dqmInfoSiStrip)
143 
144 #SiStripDQMTier0Common = cms.Sequence(
145 # APVPhases*consecutiveHEs*siStripFEDCheck
146 # *dqmInfoSiStrip)
147 
148 #SiStripDQMTier0MinBias = cms.Sequence(
149 # APVPhases*consecutiveHEs*siStripFEDCheck
150 # *SiStripMonitorTrackMB*MonitorTrackResiduals
151 # *dqmInfoSiStrip)
152 
153 SiStripDQMTier0 = cms.Sequence(
154  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
155  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB*MonitorTrackResiduals
156  *dqmInfoSiStrip)
157 
158 SiStripDQMTier0Common = cms.Sequence(
159  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
160  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB
161  *dqmInfoSiStrip)
162 
163 SiStripDQMTier0MinBias = cms.Sequence(
164  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
165  *SiStripMonitorTrackMB*SiStripMonitorTrackIB*MonitorTrackResiduals
166  *dqmInfoSiStrip)
167 
168 
169 
TrackerMonitorTrack defined and used only for MinimumBias ####.