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
7 # Cluster (track-independent) monitoring
9 # RecHit (clusters)
11 # Residuals
13 # Clusters ontrack/offtrack (also general tracks)
15 # Hit Efficiencies
17 # FED/RAW Data
19 #Summary maps
21 
22 PerModule.enabled = False
23 IsOffline.enabled=True
24 
25 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
26  + SiPixelPhase1DigisAnalyzer
27  + SiPixelPhase1ClustersAnalyzer
28  + SiPixelPhase1RecHitsAnalyzer
29  + SiPixelPhase1TrackResidualsAnalyzer
30  + SiPixelPhase1TrackClustersAnalyzer
31  + SiPixelPhase1TrackEfficiencyAnalyzer
32  )
33 
34 
35 #Cosmics config
36 
37 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
38  SiPixelPhase1TrackEfficiencyAnalyzer
39 ])
40 
41 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
42 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks = "ctfWithMaterialTracksP5"
43 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput = "ctfWithMaterialTracksP5"
44 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(False) # don't cuts based on the primary vertex position for cosmics
45 
46 
47 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
48  SiPixelPhase1TrackResidualsAnalyzer_cosmics)
49 
50 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
51 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits = True # In Cosmics the efficiency plugin will not run, so we monitor only valid hits
52 SiPixelPhase1RecHitsAnalyzer_cosmics.src = "ctfWithMaterialTracksP5"
53 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
54 
55 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
56  SiPixelPhase1RecHitsAnalyzer_cosmics)
57 
58 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
59 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks = "ctfWithMaterialTracksP5"
60 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
61 
62 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
63  SiPixelPhase1TrackClustersAnalyzer_cosmics)
64 
65 
66 #heavy ions config
67 
68 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copyAndExclude([
69  SiPixelPhase1RecHitsAnalyzer,
70  SiPixelPhase1TrackResidualsAnalyzer
71 ])
72 
73 
74 #SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
75 #SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks = "hiGeneralTracks"
76 #SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput = "hiGeneralTracks"
77 #SiPixelPhase1TrackResidualsAnalyzer_hi.vertices = "hiSelectedVertex"
78 #
79 #siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
80 # SiPixelPhase1TrackResidualsAnalyzer_hi)
81 
82 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
83 SiPixelPhase1TrackClustersAnalyzer_hi.tracks = "hiGeneralTracks"
84 SiPixelPhase1TrackClustersAnalyzer_hi.vertices = "hiSelectedVertex"
85 
86 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
87  SiPixelPhase1TrackClustersAnalyzer_hi)
88 
89 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
90 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks = "hiGeneralTracks"
91 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices = "hiSelectedVertex"
92 
93 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
94  SiPixelPhase1TrackEfficiencyAnalyzer_hi)