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.copyAndExclude([
71 SiPixelPhase1RecHitsAnalyzer,
72 SiPixelPhase1TrackResidualsAnalyzer
84 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
85 SiPixelPhase1TrackClustersAnalyzer_hi.tracks =
"hiGeneralTracks" 86 SiPixelPhase1TrackClustersAnalyzer_hi.vertices =
"hiSelectedVertex" 88 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
89 SiPixelPhase1TrackClustersAnalyzer_hi)
91 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
92 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks =
"hiGeneralTracks" 93 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices =
"hiSelectedVertex" 95 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
96 SiPixelPhase1TrackEfficiencyAnalyzer_hi)