CMS 3D CMS Logo

SiPixelPhase1OfflineDQM_source_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Raw data
5 # Pixel Digi Monitoring
8 # Cluster (track-independent) monitoring
10 # RecHit (clusters)
12 # Residuals
14 # Clusters ontrack/offtrack (also general tracks)
16 # Hit Efficiencies
18 # FED/RAW Data
20 #Summary maps
22 
23 PerModule.enabled = False
24 IsOffline.enabled=True
25 
26 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
27  + SiPixelPhase1DigisAnalyzer
28  + SiPixelPhase1DeadFEDChannelsAnalyzer
29  + SiPixelPhase1ClustersAnalyzer
30  + SiPixelPhase1RecHitsAnalyzer
31  + SiPixelPhase1TrackResidualsAnalyzer
32  + SiPixelPhase1TrackClustersAnalyzer
33  + SiPixelPhase1TrackEfficiencyAnalyzer
34  )
35 
36 
37 #Cosmics config
38 
39 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
40  SiPixelPhase1TrackEfficiencyAnalyzer
41 ])
42 
43 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
44 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks = "ctfWithMaterialTracksP5"
45 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput = "ctfWithMaterialTracksP5"
46 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(False) # don't cuts based on the primary vertex position for cosmics
47 
48 
49 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
50  SiPixelPhase1TrackResidualsAnalyzer_cosmics)
51 
52 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
53 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits = True # In Cosmics the efficiency plugin will not run, so we monitor only valid hits
54 SiPixelPhase1RecHitsAnalyzer_cosmics.src = "ctfWithMaterialTracksP5"
55 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
56 
57 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
58  SiPixelPhase1RecHitsAnalyzer_cosmics)
59 
60 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
61 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks = "ctfWithMaterialTracksP5"
62 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
63 
64 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
65  SiPixelPhase1TrackClustersAnalyzer_cosmics)
66 
67 
68 #heavy ions config
69 
70 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copyAndExclude([
71  SiPixelPhase1RecHitsAnalyzer,
72  SiPixelPhase1TrackResidualsAnalyzer
73 ])
74 
75 
76 #SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
77 #SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks = "hiGeneralTracks"
78 #SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput = "hiGeneralTracks"
79 #SiPixelPhase1TrackResidualsAnalyzer_hi.vertices = "hiSelectedVertex"
80 #
81 #siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
82 # SiPixelPhase1TrackResidualsAnalyzer_hi)
83 
84 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
85 SiPixelPhase1TrackClustersAnalyzer_hi.tracks = "hiGeneralTracks"
86 SiPixelPhase1TrackClustersAnalyzer_hi.vertices = "hiSelectedVertex"
87 
88 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
89  SiPixelPhase1TrackClustersAnalyzer_hi)
90 
91 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
92 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks = "hiGeneralTracks"
93 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices = "hiSelectedVertex"
94 
95 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
96  SiPixelPhase1TrackEfficiencyAnalyzer_hi)