CMS 3D CMS Logo

SiPixelOfflineDQM_source_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Pixel RawDataError Monitoring
5 SiPixelRawDataErrorSource.saveFile = False
6 SiPixelRawDataErrorSource.isPIB = False
7 SiPixelRawDataErrorSource.slowDown = False
8 SiPixelRawDataErrorSource.reducedSet = False
9 
10 # Pixel Digi Monitoring
12 SiPixelDigiSource.saveFile = False
13 SiPixelDigiSource.isPIB = False
14 SiPixelDigiSource.slowDown = False
15 
16 # Pixel Cluster Monitoring
18 SiPixelClusterSource.saveFile = False
19 
20 # Pixel RecHit Monitoring
22 SiPixelRecHitSource.saveFile = False
23 
24 # Pixel Track Monitoring
27 SiPixelTrackResidualSource.saveFile = False
29 SiPixelTrackResidualSource_Cosmics.saveFile = False
31 SiPixelHitEfficiencySource.saveFile = False
33 
34 ##online/offline
35 #RawDataErrors
36 SiPixelRawDataErrorSource.modOn = False
37 SiPixelRawDataErrorSource.ladOn = True
38 SiPixelRawDataErrorSource.bladeOn = True
39 #Digi
40 SiPixelDigiSource.modOn = False
41 SiPixelDigiSource.twoDimOn = False
42 SiPixelDigiSource.reducedSet = True
43 SiPixelDigiSource.hiRes = False
44 SiPixelDigiSource.twoDimModOn = False
45 SiPixelDigiSource.twoDimOnlyLayDisk = False
46 SiPixelDigiSource.ladOn = True
47 SiPixelDigiSource.layOn = True
48 SiPixelDigiSource.phiOn = False
49 SiPixelDigiSource.bladeOn = True
50 SiPixelDigiSource.diskOn = True
51 SiPixelDigiSource.ringOn = False
52 SiPixelDigiSource.bigEventSize = 2600
53 #Cluster
54 SiPixelClusterSource.modOn = False
55 SiPixelClusterSource.twoDimOn = False
56 SiPixelClusterSource.reducedSet = True
57 SiPixelClusterSource.ladOn = True
58 SiPixelClusterSource.layOn = True
59 SiPixelClusterSource.phiOn = False
60 SiPixelClusterSource.bladeOn = True
61 SiPixelClusterSource.diskOn = True
62 SiPixelClusterSource.ringOn = False
63 SiPixelClusterSource.bigEventSize = 180
64 #RecHit
65 SiPixelRecHitSource.modOn = False
66 SiPixelRecHitSource.twoDimOn = False
67 SiPixelRecHitSource.reducedSet = True
68 SiPixelRecHitSource.ladOn = True
69 SiPixelRecHitSource.layOn = True
70 SiPixelRecHitSource.phiOn = False
71 SiPixelRecHitSource.bladeOn = True
72 SiPixelRecHitSource.diskOn = True
73 SiPixelRecHitSource.ringOn = False
74 
75 #Track
76 SiPixelTrackResidualSource.modOn = False
77 SiPixelTrackResidualSource.ladOn = True
78 SiPixelTrackResidualSource.layOn = True
79 SiPixelTrackResidualSource.phiOn = False
80 SiPixelTrackResidualSource.bladeOn = True
81 SiPixelTrackResidualSource.diskOn = True
82 SiPixelTrackResidualSource.ringOn = False
83 SiPixelTrackResidualSource_Cosmics.modOn = False
84 SiPixelTrackResidualSource_Cosmics.ladOn = True
85 SiPixelTrackResidualSource_Cosmics.layOn = True
86 SiPixelTrackResidualSource_Cosmics.phiOn = False
87 SiPixelTrackResidualSource_Cosmics.bladeOn = True
88 SiPixelTrackResidualSource_Cosmics.diskOn = True
89 SiPixelTrackResidualSource_Cosmics.ringOn = False
90 SiPixelHitEfficiencySource.modOn = False
91 SiPixelHitEfficiencySource.ladOn = True
92 SiPixelHitEfficiencySource.layOn = False
93 SiPixelHitEfficiencySource.phiOn = False
94 SiPixelHitEfficiencySource.bladeOn = True
95 SiPixelHitEfficiencySource.diskOn = False
96 SiPixelHitEfficiencySource.ringOn = False
97 
98 #HI track modules
99 hiTracks = "hiGeneralTracks"
100 hiRefittedForPixelDQM= refittedForPixelDQM.clone()
101 hiRefittedForPixelDQM.src=hiTracks
102 
103 SiPixelTrackResidualSource_HeavyIons = SiPixelTrackResidualSource.clone(
104  vtxsrc='hiSelectedVertex'
105  )
106 
107 SiPixelHitEfficiencySource_HeavyIons = SiPixelHitEfficiencySource.clone(
108  vtxsrc='hiSelectedVertex'
109  )
110 
111 
112 #DQM service
113 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
114 dqmInfo = DQMEDAnalyzer('DQMEventInfo',
115  subSystemFolder = cms.untracked.string('Pixel')
116 )
117 
118 #FED integrity
120 
121 siPixelOfflineDQM_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + refittedForPixelDQM + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + SiPixelMonitorTrackResiduals + dqmInfo)
122 
123 siPixelOfflineDQM_cosmics_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)
124 
125 siPixelOfflineDQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + hiRefittedForPixelDQM + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)
126 
127 siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)
128 
129 # Phase1 config
130 # _all_ of the stuff above becomes obsolete. We just hijack the names and
131 # replace them with the phase1 config of the new DQM.
133 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
134 phase1Pixel.toReplaceWith(siPixelOfflineDQM_source, siPixelPhase1OfflineDQM_source)
135 phase1Pixel.toReplaceWith(siPixelOfflineDQM_cosmics_source, siPixelPhase1OfflineDQM_source_cosmics)
136 phase1Pixel.toReplaceWith(siPixelOfflineDQM_heavyions_source, siPixelPhase1OfflineDQM_source_hi)
137 # don't forget the Harvesters, they are plugged in at PixelOfflineDQMClient
138 # TODO: the same game for the other three.