1 import FWCore.ParameterSet.Config
as cms
28 PerModule.enabled =
False
29 IsOffline.enabled=
True
31 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
32 + SiPixelPhase1DigisAnalyzer
33 + SiPixelPhase1DeadFEDChannelsAnalyzer
34 + SiPixelPhase1ClustersAnalyzer
35 + SiPixelPhase1RecHitsAnalyzer
36 + SiPixelPhase1TrackResidualsAnalyzer
37 + SiPixelPhase1TrackClustersAnalyzer
38 + SiPixelPhase1TrackEfficiencyAnalyzer
44 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
45 SiPixelPhase1TrackEfficiencyAnalyzer
48 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
49 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks =
"ctfWithMaterialTracksP5"
50 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput =
"ctfWithMaterialTracksP5"
51 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(
False)
54 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
55 SiPixelPhase1TrackResidualsAnalyzer_cosmics)
57 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
58 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits =
True
59 SiPixelPhase1RecHitsAnalyzer_cosmics.src =
"ctfWithMaterialTracksP5"
60 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
62 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
63 SiPixelPhase1RecHitsAnalyzer_cosmics)
65 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
66 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks =
"ctfWithMaterialTracksP5"
67 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
69 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
70 SiPixelPhase1TrackClustersAnalyzer_cosmics)
75 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copy()
77 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
78 SiPixelPhase1RecHitsAnalyzer_hi.src =
"hiGeneralTracks"
80 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
81 SiPixelPhase1RecHitsAnalyzer_hi)
83 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
84 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks =
"hiGeneralTracks"
85 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput =
"hiRefittedForPixelDQM"
86 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices =
"hiSelectedVertex"
88 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
89 SiPixelPhase1TrackResidualsAnalyzer_hi)
91 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
92 SiPixelPhase1TrackClustersAnalyzer_hi.tracks =
"hiGeneralTracks"
93 SiPixelPhase1TrackClustersAnalyzer_hi.vertices =
"hiSelectedVertex"
95 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
96 SiPixelPhase1TrackClustersAnalyzer_hi)
98 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
99 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks =
"hiGeneralTracks"
100 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices =
"hiSelectedVertex"
102 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
103 SiPixelPhase1TrackEfficiencyAnalyzer_hi)