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