CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
26 SiPixelTrackResidualSource.saveFile = False
27 SiPixelTrackResidualSource.TrackCandidateProducer = cms.string('initialStepTrackCandidates')
28 SiPixelTrackResidualSource.trajectoryInput = cms.InputTag('generalTracks')
30 SiPixelTrackResidualSource_Cosmics.saveFile = False
32 SiPixelHitEfficiencySource.saveFile = False
33 SiPixelHitEfficiencySource.trajectoryInput = cms.InputTag('generalTracks')
35 
36 ##online/offline
37 #RawDataErrors
38 SiPixelRawDataErrorSource.modOn = False
39 SiPixelRawDataErrorSource.ladOn = True
40 SiPixelRawDataErrorSource.bladeOn = True
41 #Digi
42 SiPixelDigiSource.modOn = False
43 SiPixelDigiSource.twoDimOn = False
44 SiPixelDigiSource.reducedSet = True
45 SiPixelDigiSource.hiRes = False
46 SiPixelDigiSource.twoDimModOn = False
47 SiPixelDigiSource.twoDimOnlyLayDisk = False
48 SiPixelDigiSource.ladOn = True
49 SiPixelDigiSource.layOn = True
50 SiPixelDigiSource.phiOn = False
51 SiPixelDigiSource.bladeOn = True
52 SiPixelDigiSource.diskOn = True
53 SiPixelDigiSource.ringOn = False
54 SiPixelDigiSource.bigEventSize = 2600
55 #Cluster
56 SiPixelClusterSource.modOn = False
57 SiPixelClusterSource.twoDimOn = False
58 SiPixelClusterSource.reducedSet = True
59 SiPixelClusterSource.ladOn = True
60 SiPixelClusterSource.layOn = True
61 SiPixelClusterSource.phiOn = False
62 SiPixelClusterSource.bladeOn = True
63 SiPixelClusterSource.diskOn = True
64 SiPixelClusterSource.ringOn = False
65 SiPixelClusterSource.bigEventSize = 180
66 #RecHit
67 SiPixelRecHitSource.modOn = False
68 SiPixelRecHitSource.twoDimOn = False
69 SiPixelRecHitSource.reducedSet = True
70 SiPixelRecHitSource.ladOn = True
71 SiPixelRecHitSource.layOn = True
72 SiPixelRecHitSource.phiOn = False
73 SiPixelRecHitSource.bladeOn = True
74 SiPixelRecHitSource.diskOn = True
75 SiPixelRecHitSource.ringOn = False
76 
77 #Track
78 SiPixelTrackResidualSource.modOn = False
79 SiPixelTrackResidualSource.ladOn = True
80 SiPixelTrackResidualSource.layOn = True
81 SiPixelTrackResidualSource.phiOn = False
82 SiPixelTrackResidualSource.bladeOn = True
83 SiPixelTrackResidualSource.diskOn = True
84 SiPixelTrackResidualSource.ringOn = False
85 SiPixelTrackResidualSource_Cosmics.modOn = False
86 SiPixelTrackResidualSource_Cosmics.ladOn = True
87 SiPixelTrackResidualSource_Cosmics.layOn = True
88 SiPixelTrackResidualSource_Cosmics.phiOn = False
89 SiPixelTrackResidualSource_Cosmics.bladeOn = True
90 SiPixelTrackResidualSource_Cosmics.diskOn = True
91 SiPixelTrackResidualSource_Cosmics.ringOn = False
92 SiPixelHitEfficiencySource.modOn = False
93 SiPixelHitEfficiencySource.ladOn = True
94 SiPixelHitEfficiencySource.layOn = False
95 SiPixelHitEfficiencySource.phiOn = False
96 SiPixelHitEfficiencySource.bladeOn = True
97 SiPixelHitEfficiencySource.diskOn = False
98 SiPixelHitEfficiencySource.ringOn = False
99 
100 #HI track modules
101 hiTracks = "hiGeneralTracks"
102 
103 SiPixelTrackResidualSource_HeavyIons = SiPixelTrackResidualSource.clone(
104  TrackCandidateProducer = hiTracks,
105  trajectoryInput = hiTracks,
106  tracksrc=hiTracks,
107  vtxsrc='hiSelectedVertex'
108  )
109 
110 SiPixelHitEfficiencySource_HeavyIons = SiPixelHitEfficiencySource.clone(
111  trajectoryInput = hiTracks,
112  vtxsrc='hiSelectedVertex'
113  )
114 
115 
116 # Phase1 Upgrade configuration
117 SiPixelRawDataErrorSource_phase1 = SiPixelRawDataErrorSource.clone(
118  isUpgrade = cms.untracked.bool(True)
119  )
120 SiPixelDigiSource_phase1 = SiPixelDigiSource.clone(
121  isUpgrade = cms.untracked.bool(True)
122  )
123 SiPixelClusterSource_phase1 = SiPixelClusterSource.clone(
124  isUpgrade = cms.untracked.bool(True)
125  )
126 SiPixelRecHitSource_phase1 = SiPixelRecHitSource.clone(
127  isUpgrade = cms.untracked.bool(True)
128  )
129 SiPixelTrackResidualSource_phase1 = SiPixelTrackResidualSource.clone(
130  isUpgrade = cms.untracked.bool(True)
131  )
132 SiPixelHitEfficiencySource_phase1 = SiPixelHitEfficiencySource.clone(
133  isUpgrade = cms.untracked.bool(True)
134  )
135 
136 
137 #DQM service
138 dqmInfo = cms.EDAnalyzer("DQMEventInfo",
139  subSystemFolder = cms.untracked.string('Pixel')
140 )
141 
142 #FED integrity
144 
145 siPixelOfflineDQM_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + SiPixelMonitorTrackResiduals + dqmInfo)
146 
147 siPixelOfflineDQM_cosmics_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)
148 
149 siPixelOfflineDQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)
150 
151 siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)
152 
153 siPixelOfflineDQM_phase1_source = cms.Sequence(SiPixelRawDataErrorSource_phase1 + SiPixelDigiSource_phase1 + SiPixelRecHitSource_phase1 + SiPixelClusterSource_phase1 + SiPixelTrackResidualSource_phase1 + SiPixelHitEfficiencySource_phase1 + dqmInfo)