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.copy()
71 
72 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
73 SiPixelPhase1RecHitsAnalyzer_hi.src = "hiGeneralTracks"
74 
75 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
76  SiPixelPhase1RecHitsAnalyzer_hi)
77 
78 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
79 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks = "hiGeneralTracks"
80 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput = "hiRefittedForPixelDQM"
81 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices = "hiSelectedVertex"
82 
83 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
84  SiPixelPhase1TrackResidualsAnalyzer_hi)
85 
86 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
87 SiPixelPhase1TrackClustersAnalyzer_hi.tracks = "hiGeneralTracks"
88 SiPixelPhase1TrackClustersAnalyzer_hi.vertices = "hiSelectedVertex"
89 
90 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
91  SiPixelPhase1TrackClustersAnalyzer_hi)
92 
93 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
94 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks = "hiGeneralTracks"
95 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices = "hiSelectedVertex"
96 
97 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
98  SiPixelPhase1TrackEfficiencyAnalyzer_hi)
SiPixelPhase1RawData_cfi
SiPixelPhase1RecHits_cfi
SiPixelPhase1TrackClusters_cfi
SiPixelPhase1TrackEfficiency_cfi
SiPixelPhase1Digis_cfi
SiPixelPhase1DeadFEDChannels_cfi
SiPixelPhase1TrackResiduals_cfi
SiPixelPhase1Summary_cfi
SiPixelPhase1Clusters_cfi