1 import FWCore.ParameterSet.Config
as cms
23 PerModule.enabled =
False
24 IsOffline.enabled=
True
26 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
27 + SiPixelPhase1DigisAnalyzer
28 + SiPixelPhase1DeadFEDChannelsAnalyzer
29 + SiPixelPhase1ClustersAnalyzer
30 + SiPixelPhase1RecHitsAnalyzer
31 + SiPixelPhase1TrackResidualsAnalyzer
32 + SiPixelPhase1TrackClustersAnalyzer
33 + SiPixelPhase1TrackEfficiencyAnalyzer
39 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
40 SiPixelPhase1TrackEfficiencyAnalyzer
43 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
44 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks =
"ctfWithMaterialTracksP5"
45 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput =
"ctfWithMaterialTracksP5"
46 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(
False)
49 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
50 SiPixelPhase1TrackResidualsAnalyzer_cosmics)
52 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
53 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits =
True
54 SiPixelPhase1RecHitsAnalyzer_cosmics.src =
"ctfWithMaterialTracksP5"
55 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
57 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
58 SiPixelPhase1RecHitsAnalyzer_cosmics)
60 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
61 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks =
"ctfWithMaterialTracksP5"
62 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
64 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
65 SiPixelPhase1TrackClustersAnalyzer_cosmics)
70 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copy()
72 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
73 SiPixelPhase1RecHitsAnalyzer_hi.src =
"hiGeneralTracks"
75 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
76 SiPixelPhase1RecHitsAnalyzer_hi)
78 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
79 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks =
"hiGeneralTracks"
80 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput =
"hiRefittedForPixelDQM"
81 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices =
"hiSelectedVertex"
83 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
84 SiPixelPhase1TrackResidualsAnalyzer_hi)
86 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
87 SiPixelPhase1TrackClustersAnalyzer_hi.tracks =
"hiGeneralTracks"
88 SiPixelPhase1TrackClustersAnalyzer_hi.vertices =
"hiSelectedVertex"
90 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
91 SiPixelPhase1TrackClustersAnalyzer_hi)
93 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
94 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks =
"hiGeneralTracks"
95 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices =
"hiSelectedVertex"
97 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
98 SiPixelPhase1TrackEfficiencyAnalyzer_hi)