1 import FWCore.ParameterSet.Config
as cms
26 PerModule.enabled =
False
27 IsOffline.enabled=
True
29 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
30 + SiPixelPhase1DigisAnalyzer
31 + SiPixelPhase1DeadFEDChannelsAnalyzer
32 + SiPixelPhase1ClustersAnalyzer
33 + SiPixelPhase1RecHitsAnalyzer
34 + SiPixelPhase1TrackResidualsAnalyzer
35 + SiPixelPhase1TrackClustersAnalyzer
36 + SiPixelPhase1TrackEfficiencyAnalyzer
42 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
43 SiPixelPhase1TrackEfficiencyAnalyzer
46 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
47 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks =
"ctfWithMaterialTracksP5"
48 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput =
"ctfWithMaterialTracksP5"
49 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(
False)
52 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
53 SiPixelPhase1TrackResidualsAnalyzer_cosmics)
55 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
56 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits =
True
57 SiPixelPhase1RecHitsAnalyzer_cosmics.src =
"ctfWithMaterialTracksP5"
58 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
60 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
61 SiPixelPhase1RecHitsAnalyzer_cosmics)
63 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
64 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks =
"ctfWithMaterialTracksP5"
65 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(
False)
67 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
68 SiPixelPhase1TrackClustersAnalyzer_cosmics)
73 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copy()
75 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
76 SiPixelPhase1RecHitsAnalyzer_hi.src =
"hiGeneralTracks"
78 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
79 SiPixelPhase1RecHitsAnalyzer_hi)
81 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
82 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks =
"hiGeneralTracks"
83 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput =
"hiRefittedForPixelDQM"
84 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices =
"hiSelectedVertex"
86 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
87 SiPixelPhase1TrackResidualsAnalyzer_hi)
89 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
90 SiPixelPhase1TrackClustersAnalyzer_hi.tracks =
"hiGeneralTracks"
91 SiPixelPhase1TrackClustersAnalyzer_hi.vertices =
"hiSelectedVertex"
93 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
94 SiPixelPhase1TrackClustersAnalyzer_hi)
96 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
97 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks =
"hiGeneralTracks"
98 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices =
"hiSelectedVertex"
100 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
101 SiPixelPhase1TrackEfficiencyAnalyzer_hi)