CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
106 # Raw data errors
108 
110 
112 
113 siPixelPhase1OnlineDQM_source = cms.Sequence(
114  SiPixelPhase1DigisAnalyzer
115  + SiPixelPhase1ClustersAnalyzer
116  + SiPixelPhase1RawDataAnalyzer
117  + SiPixelPhase1TrackClustersAnalyzer
118  + SiPixelPhase1TrackResidualsAnalyzer
119 )
120 
121 siPixelPhase1OnlineDQM_harvesting = cms.Sequence(
122  SiPixelPhase1DigisHarvester
123  + SiPixelPhase1ClustersHarvester
124  + SiPixelPhase1RawDataHarvester
125  + SiPixelPhase1TrackClustersHarvester
126  + SiPixelPhase1TrackResidualsHarvester
127  + SiPixelPhase1TrackEfficiencyHarvester
128 )
129 
130 ## Additional settings for cosmic runs
131 
132 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone(
133  tracks = "ctfWithMaterialTracksP5",
134  VertexCut = False
135 )
136 
137 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone(
138  Tracks = "ctfWithMaterialTracksP5",
139  trajectoryInput = "ctfWithMaterialTracksP5",
140  VertexCut = False
141 )
142 
143 SiPixelPhase1TrackEfficiencyAnalyzer_cosmics=SiPixelPhase1TrackEfficiencyAnalyzer.clone(
144  tracks = "ctfWithMaterialTracksP5"
145 )
146 
147 siPixelPhase1OnlineDQM_source_cosmics = cms.Sequence(
148  SiPixelPhase1DigisAnalyzer
149  + SiPixelPhase1ClustersAnalyzer
150  + SiPixelPhase1RawDataAnalyzer
151  + SiPixelPhase1TrackClustersAnalyzer_cosmics
152  + SiPixelPhase1TrackResidualsAnalyzer_cosmics
153 )
154 
155 ## Additional settings for pp_run (Phase 0 test)
156 SiPixelPhase1TrackClustersAnalyzer_pprun = SiPixelPhase1TrackClustersAnalyzer.clone(
157  tracks = "initialStepTracksPreSplitting",
158  clusterShapeCache = "siPixelClusterShapeCachePreSplitting",
159  vertices = 'firstStepPrimaryVerticesPreSplitting',
160  VertexCut = False
161 )
162 
163 SiPixelPhase1TrackResidualsAnalyzer_pprun = SiPixelPhase1TrackResidualsAnalyzer.clone(
164  Tracks = "initialStepTracksPreSplitting",
165  trajectoryInput = "initialStepTracksPreSplitting",
166  VertexCut = False
167 )
168 
169 SiPixelPhase1TrackEfficiencyAnalyzer_pprun = SiPixelPhase1TrackEfficiencyAnalyzer.clone(
170  tracks = "initialStepTracksPreSplitting",
171  VertexCut = False
172 )
173 
174 siPixelPhase1OnlineDQM_source_pprun = cms.Sequence(
175  SiPixelPhase1DigisAnalyzer
176  + SiPixelPhase1ClustersAnalyzer
177  + SiPixelPhase1RawDataAnalyzer
178  + SiPixelPhase1TrackClustersAnalyzer_pprun
179  + SiPixelPhase1TrackResidualsAnalyzer_pprun
180  + SiPixelPhase1TrackEfficiencyAnalyzer_pprun
181 )
182 
list save
Definition: cuy.py:1164