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
15 # Clusters ontrack/offtrack (also general tracks)
17 # Hit Efficiencies
19 # FED/RAW Data
21 #Summary maps
23 #Barycenter plots
25 
26 
27 
30 
31 PerModule.enabled = False
32 IsOffline.enabled=True
33 
34 siPixelPhase1OfflineDQM_source = cms.Sequence(SiPixelPhase1RawDataAnalyzer
35  + SiPixelPhase1DigisAnalyzer
36  + SiPixelPhase1DeadFEDChannelsAnalyzer
37  + SiPixelPhase1ClustersAnalyzer
38  + SiPixelPhase1RecHitsAnalyzer
39  + SiPixelPhase1TrackResidualsAnalyzer
40  + SiPixelPhase1TrackClustersAnalyzer
41  + SiPixelPhase1TrackEfficiencyAnalyzer
42  )
43 
44 
45 #Cosmics config
46 
47 siPixelPhase1OfflineDQM_source_cosmics = siPixelPhase1OfflineDQM_source.copyAndExclude([
48  SiPixelPhase1TrackEfficiencyAnalyzer
49 ])
50 
51 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
52 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks = "ctfWithMaterialTracksP5"
53 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput = "ctfWithMaterialTracksP5"
54 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut =cms.untracked.bool(False) # don't cuts based on the primary vertex position for cosmics
55 
56 
57 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackResidualsAnalyzer,
58  SiPixelPhase1TrackResidualsAnalyzer_cosmics)
59 
60 SiPixelPhase1RecHitsAnalyzer_cosmics = SiPixelPhase1RecHitsAnalyzer.clone()
61 SiPixelPhase1RecHitsAnalyzer_cosmics.onlyValidHits = True # In Cosmics the efficiency plugin will not run, so we monitor only valid hits
62 SiPixelPhase1RecHitsAnalyzer_cosmics.src = "ctfWithMaterialTracksP5"
63 SiPixelPhase1RecHitsAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
64 
65 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1RecHitsAnalyzer,
66  SiPixelPhase1RecHitsAnalyzer_cosmics)
67 
68 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
69 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks = "ctfWithMaterialTracksP5"
70 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
71 
72 siPixelPhase1OfflineDQM_source_cosmics.replace(SiPixelPhase1TrackClustersAnalyzer,
73  SiPixelPhase1TrackClustersAnalyzer_cosmics)
74 
75 
76 #heavy ions config
77 
78 siPixelPhase1OfflineDQM_source_hi = siPixelPhase1OfflineDQM_source.copy()
79 
80 SiPixelPhase1RecHitsAnalyzer_hi = SiPixelPhase1RecHitsAnalyzer.clone()
81 SiPixelPhase1RecHitsAnalyzer_hi.src = "hiGeneralTracks"
82 
83 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1RecHitsAnalyzer,
84  SiPixelPhase1RecHitsAnalyzer_hi)
85 
86 SiPixelPhase1TrackResidualsAnalyzer_hi = SiPixelPhase1TrackResidualsAnalyzer.clone()
87 SiPixelPhase1TrackResidualsAnalyzer_hi.Tracks = "hiGeneralTracks"
88 SiPixelPhase1TrackResidualsAnalyzer_hi.trajectoryInput = "hiRefittedForPixelDQM"
89 SiPixelPhase1TrackResidualsAnalyzer_hi.vertices = "hiSelectedVertex"
90 
91 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackResidualsAnalyzer,
92  SiPixelPhase1TrackResidualsAnalyzer_hi)
93 
94 SiPixelPhase1TrackClustersAnalyzer_hi = SiPixelPhase1TrackClustersAnalyzer.clone()
95 SiPixelPhase1TrackClustersAnalyzer_hi.tracks = "hiGeneralTracks"
96 SiPixelPhase1TrackClustersAnalyzer_hi.vertices = "hiSelectedVertex"
97 
98 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackClustersAnalyzer,
99  SiPixelPhase1TrackClustersAnalyzer_hi)
100 
101 SiPixelPhase1TrackEfficiencyAnalyzer_hi = SiPixelPhase1TrackEfficiencyAnalyzer.clone()
102 SiPixelPhase1TrackEfficiencyAnalyzer_hi.tracks = "hiGeneralTracks"
103 SiPixelPhase1TrackEfficiencyAnalyzer_hi.primaryvertices = "hiSelectedVertex"
104 
105 siPixelPhase1OfflineDQM_source_hi.replace(SiPixelPhase1TrackEfficiencyAnalyzer,
106  SiPixelPhase1TrackEfficiencyAnalyzer_hi)
SiPixelPhase1ResidualsExtra_cfi
SiPixelPhase1RawData_cfi
SiPixelPhase1RecHits_cfi
ClusterShapeHitFilterESProducer_cfi
SiPixelPhase1TrackClusters_cfi
SiPixelPhase1TrackEfficiency_cfi
SiStripClusterChargeCut_cfi
SiPixelPhase1Digis_cfi
SiPixelPhase1DeadFEDChannels_cfi
SiPixelPhase1TrackResiduals_cfi
SiPixelPhase1Summary_cfi
SiPixelBarycenter_cfi
SiPixelPhase1Clusters_cfi