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