CMS 3D CMS Logo

SiPixelPhase1OnlineDQM_Timing_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 StandardSpecifications1D_Num.append(
33  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
34  .reduce("COUNT")
35  .groupBy("PXBarrel/PXLayer/OnlineBlock")
36  .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
37  .save()
38  )
39 
40 StandardSpecifications1D_Num.append(
41  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
42  .reduce("COUNT")
43  .groupBy("PXForward/PXDisk/OnlineBlock")
44  .groupBy("PXForward/PXDisk", "EXTEND_Y")
45  .save()
46  )
47 
48 #StandardSpecifications1D_Num.append(
49 # Specification(OverlayCurvesForTiming).groupBy("PXBarrel/OnlineBlock/PXLayer/Event") # per-layer with history for online
50 # .reduce("COUNT")
51 # .groupBy("PXBarrel/OnlineBlock")
52 # .groupBy("PXBarrel", "EXTEND_Y")
53 # .save()
54 # )
55 
56 
57 StandardSpecifications1D_Num.append(
58 Specification(OverlayCurvesForTiming).groupBy("DetId/Event")
59  .reduce("COUNT")
60  .groupBy("PXBarrel/OnlineBlock")
61  .groupBy("PXBarrel", "EXTEND_Y")
62  .save()
63 )
64 
65 
66 StandardSpecifications1D_Num.append(
67 Specification(OverlayCurvesForTiming).groupBy("DetId/Event")
68  .reduce("COUNT")
69  .groupBy("PXForward/OnlineBlock")
70  .groupBy("PXForward", "EXTEND_Y")
71  .save()
72 )
73 
74 #StandardSpecifications1D_Num.append(
75 # Specification(OverlayCurvesForTiming).groupBy("PXForward/OnlineBlock/PXDisk/Event") # per-layer with history for online
76 # .reduce("COUNT")
77 # .groupBy("PXForward/OnlineBlock")
78 # .groupBy("PXForward", "EXTEND_Y")
79 # .save()
80 # )
81 #
82 
83 # To Configure Phase1 DQM for Phase0 data
84 SiPixelPhase1Geometry.upgradePhase = 1
85 SiPixelPhase1Geometry.onlineblock = 15
86 # Turn on 'online' harvesting. This has to be set before other configs are
87 # loaded (due to how the DefaultHisto PSet is later cloned), therefore it is
88 # here and not in the harvestng config.
89 DefaultHisto.perLumiHarvesting = True
90 DefaultHistoDigiCluster.perLumiHarvesting = True
91 DefaultHistoSummary.perLumiHarvesting = True
92 DefaultHistoTrack.perLumiHarvesting = True
93 
94 
95 # Pixel Digi Monitoring
97 
98 # Cluster (track-independent) monitoring
100 
101 # Track cluster
104 
105 # Raw data errors
107 
109 
111 
112 siPixelPhase1OnlineDQM_source = cms.Sequence(
113  SiPixelPhase1DigisAnalyzer
114  + SiPixelPhase1ClustersAnalyzer
115  + SiPixelPhase1RawDataAnalyzer
116  + SiPixelPhase1TrackClustersAnalyzer
117  + SiPixelPhase1TrackResidualsAnalyzer
118 )
119 
120 siPixelPhase1OnlineDQM_harvesting = cms.Sequence(
121  SiPixelPhase1DigisHarvester
122  + SiPixelPhase1ClustersHarvester
123  + SiPixelPhase1RawDataHarvester
124  + SiPixelPhase1TrackClustersHarvester
125  + SiPixelPhase1TrackResidualsHarvester
126  + SiPixelPhase1TrackEfficiencyHarvester
127 )
128 
129 
130 
131 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone(
132  tracks = "ctfWithMaterialTracksP5",
133  VertexCut = False
134 )
135 
136 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone(
137  Tracks = "ctfWithMaterialTracksP5",
138  trajectoryInput = "ctfWithMaterialTracksP5",
139  VertexCut = False
140 )
141 
142 SiPixelPhase1TrackEfficiencyAnalyzer_cosmics=SiPixelPhase1TrackEfficiencyAnalyzer.clone(
143  tracks = "ctfWithMaterialTracksP5"
144 )
145 
146 siPixelPhase1OnlineDQM_source_cosmics = cms.Sequence(
147  SiPixelPhase1DigisAnalyzer
148  + SiPixelPhase1ClustersAnalyzer
149  + SiPixelPhase1RawDataAnalyzer
150  + SiPixelPhase1TrackClustersAnalyzer_cosmics
151  + SiPixelPhase1TrackResidualsAnalyzer_cosmics
152 )
153 
154 
155 SiPixelPhase1TrackClustersAnalyzer_pprun = SiPixelPhase1TrackClustersAnalyzer.clone(
156  tracks = "initialStepTracksPreSplitting",
157  clusterShapeCache = "siPixelClusterShapeCachePreSplitting",
158  vertices = 'firstStepPrimaryVerticesPreSplitting',
159  VertexCut = False
160 )
161 
162 SiPixelPhase1TrackResidualsAnalyzer_pprun = SiPixelPhase1TrackResidualsAnalyzer.clone(
163  Tracks = "initialStepTracksPreSplitting",
164  trajectoryInput = "initialStepTracksPreSplitting",
165  VertexCut = False
166 )
167 
168 SiPixelPhase1TrackEfficiencyAnalyzer_pprun = SiPixelPhase1TrackEfficiencyAnalyzer.clone(
169  tracks = "initialStepTracksPreSplitting",
170  VertexCut = False
171 )
172 
173 siPixelPhase1OnlineDQM_source_pprun = cms.Sequence(
174  SiPixelPhase1DigisAnalyzer
175  + SiPixelPhase1ClustersAnalyzer
176  + SiPixelPhase1RawDataAnalyzer
177  + SiPixelPhase1TrackClustersAnalyzer_pprun
178  + SiPixelPhase1TrackResidualsAnalyzer_pprun
179  + SiPixelPhase1TrackEfficiencyAnalyzer_pprun
180 )
181 
save
Definition: cuy.py:1164