1 import FWCore.ParameterSet.Config
as cms
31 PerModule.enabled =
False
32 IsOffline.enabled=
True
34 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
35 + SiPixelPhase1DigisAnalyzer
36 + SiPixelPhase1DeadFEDChannelsAnalyzer
37 + SiPixelPhase1ClustersAnalyzer
38 + SiPixelPhase1RecHitsAnalyzer
39 + SiPixelPhase1TrackResidualsAnalyzer
40 + SiPixelPhase1TrackClustersAnalyzer
41 + SiPixelPhase1TrackEfficiencyAnalyzer
47 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
48 SiPixelPhase1TrackEfficiencyAnalyzer
51 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
52 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks =
"ctfWithMaterialTracksP5"
53 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput =
"ctfWithMaterialTracksP5"
54 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(
False)
57 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
58 SiPixelPhase1TrackResidualsAnalyzer_cosmics)
60 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
61 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits =
True
62 SiPixelPhase1RecHitsAnalyzer_cosmics.src =
"ctfWithMaterialTracksP5"
63 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
65 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
66 SiPixelPhase1RecHitsAnalyzer_cosmics)
68 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
69 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks =
"ctfWithMaterialTracksP5"
70 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
72 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
73 SiPixelPhase1TrackClustersAnalyzer_cosmics)
78 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copy()
80 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
81 SiPixelPhase1RecHitsAnalyzer_hi.src =
"hiGeneralTracks"
83 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
84 SiPixelPhase1RecHitsAnalyzer_hi)
86 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
87 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks =
"hiGeneralTracks"
88 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput =
"hiRefittedForPixelDQM"
89 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices =
"hiSelectedVertex"
91 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
92 SiPixelPhase1TrackResidualsAnalyzer_hi)
94 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
95 SiPixelPhase1TrackClustersAnalyzer_hi.tracks =
"hiGeneralTracks"
96 SiPixelPhase1TrackClustersAnalyzer_hi.vertices =
"hiSelectedVertex"
98 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
99 SiPixelPhase1TrackClustersAnalyzer_hi)
101 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
102 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks =
"hiGeneralTracks"
103 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices =
"hiSelectedVertex"
105 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
106 SiPixelPhase1TrackEfficiencyAnalyzer_hi)