CMS 3D CMS Logo

SiPixelPhase1OnlineDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 SuperimoposePlotsInOnlineBlocks=True
6 IsOffline.enabled=False
7 
8 
9 StandardSpecifications1D.append(
10  Specification(OverlayCurvesForTiming).groupBy("PXBarrel/PXLayer/OnlineBlock") # per-layer with history for online
11  .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
12  .save()
13  )
14 
15 StandardSpecifications1D.append(
16  Specification(OverlayCurvesForTiming).groupBy("PXForward/PXDisk/OnlineBlock") # per-layer with history for online
17  .groupBy("PXForward/PXDisk", "EXTEND_Y")
18  .save()
19  )
20 
21 StandardSpecifications1D.append(
22  Specification(OverlayCurvesForTiming).groupBy("PXBarrel/OnlineBlock") # per-layer with history for online
23  .groupBy("PXBarrel", "EXTEND_Y")
24  .save()
25  )
26 StandardSpecifications1D.append(
27  Specification(OverlayCurvesForTiming).groupBy("PXForward/OnlineBlock") # per-layer with history for online
28  .groupBy("PXForward", "EXTEND_Y")
29  .save()
30  )
31 
32 
33 # To Configure Phase1 DQM for Phase0 data
34 SiPixelPhase1Geometry.upgradePhase = 1
35 
36 #define number of lumis for overlayed plots
37 SiPixelPhase1Geometry.onlineblock = 150
38 
39 # Turn on 'online' harvesting. This has to be set before other configs are
40 # loaded (due to how the DefaultHisto PSet is later cloned), therefore it is
41 # here and not in the harvestng config.
42 DefaultHisto.perLumiHarvesting = True
43 DefaultHistoDigiCluster.perLumiHarvesting = True
44 DefaultHistoSummary.perLumiHarvesting = True
45 DefaultHistoTrack.perLumiHarvesting = True
46 
47 
48 # Pixel Digi Monitoring
50 
51 # Cluster (track-independent) monitoring
53 
54 # We could overwrite the Harvesters like this, and use the custom() steps to
55 # perform resetting of histograms.
56 #SiPixelPhase1ClustersHarvester = cms.EDAnalyzer("SiPixelPhase1OnlineHarvester",
57 # histograms = SiPixelPhase1ClustersConf,
58 # geometry = SiPixelPhase1Geometry
59 #)
60 
61 
62 # Raw data errors
65 
67 
68 #Summary maps
70 
71 # Track cluster
73 SiPixelPhase1TrackClustersOnTrackCorrCharge.enabled=cms.bool(False)
74 SiPixelPhase1TrackTemplateCorr.enabled=cms.bool(False)
75 SiPixelPhase1TrackClustersOnTrackCorrChargeOuter.enabled=cms.bool(False)
76 SiPixelPhase1TrackTemplateCorrOuter.enabled=cms.bool(False)
77 SiPixelPhase1TrackClustersOnTrackCorrChargeInner.enabled=cms.bool(False)
78 SiPixelPhase1TrackTemplateCorrInner.enabled=cms.bool(False)
80 
81 siPixelPhase1OnlineDQM_source = cms.Sequence(
82  SiPixelPhase1DigisAnalyzer
83  + SiPixelPhase1DeadFEDChannelsAnalyzer
84  + SiPixelPhase1ClustersAnalyzer
85  + SiPixelPhase1RawDataAnalyzer
86  + SiPixelPhase1TrackClustersAnalyzer
87  + SiPixelPhase1TrackResidualsAnalyzer
88 # + SiPixelPhase1GeometryDebugAnalyzer
89 )
90 
91 siPixelPhase1OnlineDQM_harvesting = cms.Sequence(
92  SiPixelPhase1DigisHarvester
93  + SiPixelPhase1DeadFEDChannelsHarvester
94  + SiPixelPhase1ClustersHarvester
95  + SiPixelPhase1RawDataHarvester
96  + SiPixelPhase1TrackClustersHarvester
97  + SiPixelPhase1TrackResidualsHarvester
98  + RunQTests_online
99  + SiPixelPhase1SummaryOnline
100 # + SiPixelPhase1GeometryDebugHarvester
101 )
102 
103 
104 
105 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone()
106 SiPixelPhase1TrackClustersAnalyzer_cosmics.tracks = cms.InputTag( "ctfWithMaterialTracksP5" )
107 SiPixelPhase1TrackClustersAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
108 
109 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone()
110 SiPixelPhase1TrackResidualsAnalyzer_cosmics.Tracks = cms.InputTag( "ctfWithMaterialTracksP5" )
111 SiPixelPhase1TrackResidualsAnalyzer_cosmics.trajectoryInput = "ctfWithMaterialTracksP5"
112 SiPixelPhase1TrackResidualsAnalyzer_cosmics.VertexCut = cms.untracked.bool(False)
113 
114 siPixelPhase1OnlineDQM_source_cosmics = cms.Sequence(
115  SiPixelPhase1DigisAnalyzer
116  + SiPixelPhase1DeadFEDChannelsAnalyzer
117  + SiPixelPhase1ClustersAnalyzer
118  + SiPixelPhase1RawDataAnalyzer
119  + SiPixelPhase1TrackClustersAnalyzer_cosmics
120  + SiPixelPhase1TrackResidualsAnalyzer_cosmics
121 )
122 
123 
124 SiPixelPhase1TrackClustersAnalyzer_pprun = SiPixelPhase1TrackClustersAnalyzer.clone()
125 SiPixelPhase1TrackClustersAnalyzer_pprun.tracks = cms.InputTag( "initialStepTracksPreSplitting" )
126 SiPixelPhase1TrackClustersAnalyzer_pprun.clusterShapeCache = cms.InputTag("siPixelClusterShapeCachePreSplitting")
127 SiPixelPhase1TrackClustersAnalyzer_pprun.vertices = cms.InputTag('firstStepPrimaryVerticesPreSplitting')
128 SiPixelPhase1TrackClustersAnalyzer_pprun.VertexCut = cms.untracked.bool(False)
129 
130 SiPixelPhase1TrackResidualsAnalyzer_pprun = SiPixelPhase1TrackResidualsAnalyzer.clone()
131 SiPixelPhase1TrackResidualsAnalyzer_pprun.Tracks = cms.InputTag( "initialStepTracksPreSplitting" )
132 SiPixelPhase1TrackResidualsAnalyzer_pprun.trajectoryInput = "initialStepTracksPreSplitting"
133 SiPixelPhase1TrackResidualsAnalyzer_pprun.VertexCut = cms.untracked.bool(False)
134 
135 siPixelPhase1OnlineDQM_source_pprun = cms.Sequence(
136  SiPixelPhase1DigisAnalyzer
137  + SiPixelPhase1DeadFEDChannelsAnalyzer
138  + SiPixelPhase1ClustersAnalyzer
139  + SiPixelPhase1RawDataAnalyzer
140  + SiPixelPhase1TrackClustersAnalyzer_pprun
141  + SiPixelPhase1TrackResidualsAnalyzer_pprun
142 )
143 
144 siPixelPhase1OnlineDQM_timing_harvesting = siPixelPhase1OnlineDQM_harvesting.copyAndExclude([
145  RunQTests_online,
146  SiPixelPhase1SummaryOnline,
147 ])
SiPixelPhase1RawData_cfi
SiPixelPhase1TrackClusters_cfi
SiPixelPhase1Digis_cfi
SiPixelPhase1DeadFEDChannels_cfi
SiPixelPhase1TrackResiduals_cfi
HistogramManager_cfi
SiPixelPhase1Summary_cfi
SiPixelPhase1GeometryDebug_cfi
cuy.save
save
Definition: cuy.py:1164
SiPixelPhase1Clusters_cfi