CMS 3D CMS Logo

SiPixelP5DQM_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 = True
9 
10 # Pixel Digi Monitoring
12 SiPixelDigiSource.saveFile = False
13 SiPixelDigiSource.isPIB = False
14 SiPixelDigiSource.slowDown = False
15 SiPixelDigiSource.hiRes = True
16 SiPixelDigiSource.reducedSet = False
17 SiPixelDigiSource.twoDimModOn = False
18 SiPixelDigiSource.twoDimOnlyLayDisk = True
19 
20 # Pixel Cluster Monitoring
22 SiPixelClusterSource.saveFile = False
23 SiPixelClusterSource.isPIB = False
24 
25 # Pixel RecHit Monitoring
27 SiPixelRecHitSource.saveFile = False
28 SiPixelRecHitSource.isPIB = False
29 
30 # Pixel Track Monitoring
32 SiPixelTrackResidualSource.saveFile = False
33 SiPixelTrackResidualSource.TrackCandidateProducer = cms.string('newTrackCandidateMaker')
34 SiPixelTrackResidualSource.trajectoryInput = cms.InputTag('generalTracks')
36 SiPixelTrackResidualSource_Cosmics.saveFile = False
37 SiPixelTrackResidualSource_Cosmics.TrackCandidateProducer = cms.string('ckfTrackCandidatesP5')
38 SiPixelTrackResidualSource_Cosmics.trajectoryInput = cms.string('ctfWithMaterialTracksP5')
40 SiPixelHitEfficiencySource.saveFile = False
41 SiPixelHitEfficiencySource.trajectoryInput = cms.InputTag('generalTracks')
43 
44 ##online/offline
45 #RawDataErrors
46 SiPixelRawDataErrorSource.modOn = True
47 SiPixelRawDataErrorSource.ladOn = False
48 SiPixelRawDataErrorSource.bladeOn = False
49 #Digi
50 SiPixelDigiSource.modOn = True
51 SiPixelDigiSource.twoDimOn = True
52 SiPixelDigiSource.reducedSet = False
53 SiPixelDigiSource.hiRes = True ## do not set to False, otherwise occupancy map code will crash!
54 SiPixelDigiSource.ladOn = False
55 SiPixelDigiSource.layOn = False
56 SiPixelDigiSource.phiOn = False
57 SiPixelDigiSource.bladeOn = False
58 SiPixelDigiSource.diskOn = False
59 SiPixelDigiSource.ringOn = False
60 SiPixelDigiSource.bigEventSize = 5000
61 #Cluster
62 SiPixelClusterSource.modOn = True
63 SiPixelClusterSource.twoDimOn = True
64 SiPixelClusterSource.reducedSet = True
65 SiPixelClusterSource.ladOn = False
66 SiPixelClusterSource.layOn = False
67 SiPixelClusterSource.phiOn = False
68 SiPixelClusterSource.bladeOn = False
69 SiPixelClusterSource.diskOn = False
70 SiPixelClusterSource.ringOn = False
71 SiPixelClusterSource.bigEventSize = 330
72 #RecHit
73 SiPixelRecHitSource.modOn = True
74 SiPixelRecHitSource.twoDimOn = True
75 SiPixelRecHitSource.reducedSet = True
76 SiPixelRecHitSource.ladOn = False
77 SiPixelRecHitSource.layOn = False
78 SiPixelRecHitSource.phiOn = False
79 SiPixelRecHitSource.bladeOn = False
80 SiPixelRecHitSource.diskOn = False
81 SiPixelRecHitSource.ringOn = False
82 
83 #Track
84 SiPixelTrackResidualSource.modOn = True
85 SiPixelTrackResidualSource.ladOn = False
86 SiPixelTrackResidualSource.layOn = False
87 SiPixelTrackResidualSource.phiOn = False
88 SiPixelTrackResidualSource.bladeOn = False
89 SiPixelTrackResidualSource.diskOn = False
90 SiPixelTrackResidualSource.ringOn = False
91 SiPixelTrackResidualSource_Cosmics.modOn = True
92 SiPixelTrackResidualSource_Cosmics.ladOn = False
93 SiPixelTrackResidualSource_Cosmics.layOn = False
94 SiPixelTrackResidualSource_Cosmics.phiOn = False
95 SiPixelTrackResidualSource_Cosmics.bladeOn = False
96 SiPixelTrackResidualSource_Cosmics.diskOn = False
97 SiPixelTrackResidualSource_Cosmics.ringOn = False
98 SiPixelHitEfficiencySource.modOn = True
99 SiPixelHitEfficiencySource.ladOn = False
100 SiPixelHitEfficiencySource.layOn = False
101 SiPixelHitEfficiencySource.phiOn = False
102 SiPixelHitEfficiencySource.bladeOn = False
103 SiPixelHitEfficiencySource.diskOn = False
104 SiPixelHitEfficiencySource.ringOn = False
105 
106 #HI track modules
107 hiTracks = "hiGlobalPrimTracks"
108 
109 SiPixelTrackResidualSource_HeavyIons = SiPixelTrackResidualSource.clone(
110  TrackCandidateProducer = 'hiPrimTrackCandidates',
111  trajectoryInput = hiTracks,
112  vtxsrc='hiSelectedVertex'
113  )
114 
115 SiPixelHitEfficiencySource_HeavyIons = SiPixelHitEfficiencySource.clone(
116  trajectoryInput = hiTracks,
117  vtxsrc='hiSelectedVertex'
118  )
119 
120 #DQM service
121 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
122 dqmInfo = DQMEDAnalyzer('DQMEventInfo',
123  subSystemFolder = cms.untracked.string('Pixel')
124 )
125 
126 #FED integrity
128 SiPixelHLTSource.DirName = cms.untracked.string('Pixel/FEDIntegrity/')
129 
130 siPixelP5DQM_source = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + SiPixelMonitorTrackResiduals + dqmInfo)
131 
132 siPixelP5DQM_cosmics_source = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)
133 
134 siPixelP5DQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)
135 
136 siPixelP5DQM_source_woTrack = cms.Sequence(SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)