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=False
6 IsOffline.enabled=False
7 
8 
9 
10 
11 StandardSpecifications1D.append(
12  Specification(OverlayCurvesForTiming).groupBy("PXBarrel/PXLayer/OnlineBlock") # per-layer with history for online
13  .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
14  .save()
15  )
16 
17 StandardSpecifications1D.append(
18  Specification(OverlayCurvesForTiming).groupBy("PXForward/PXDisk/OnlineBlock") # per-layer with history for online
19  .groupBy("PXForward/PXDisk", "EXTEND_Y")
20  .save()
21  )
22 
23 StandardSpecifications1D.append(
24  Specification(OverlayCurvesForTiming).groupBy("PXBarrel/OnlineBlock") # per-layer with history for online
25  .groupBy("PXBarrel", "EXTEND_Y")
26  .save()
27  )
28 StandardSpecifications1D.append(
29  Specification(OverlayCurvesForTiming).groupBy("PXForward/OnlineBlock") # per-layer with history for online
30  .groupBy("PXForward", "EXTEND_Y")
31  .save()
32  )
33 
34 StandardSpecifications1D_Num.append(
35  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
36  .reduce("COUNT")
37  .groupBy("PXBarrel/PXLayer/OnlineBlock")
38  .groupBy("PXBarrel/PXLayer", "EXTEND_Y")
39  .save()
40  )
41 StandardSpecifications1D_Num.append(
42  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
43  .reduce("COUNT")
44  .groupBy("PXForward/PXDisk/OnlineBlock")
45  .groupBy("PXForward/PXDisk", "EXTEND_Y")
46  .save()
47  )
48 StandardSpecifications1D_Num.append(
49  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
50  .reduce("COUNT")
51  .groupBy("PXBarrel/OnlineBlock")
52  .groupBy("PXBarrel", "EXTEND_Y")
53  .save()
54  )
55 StandardSpecifications1D_Num.append(
56  Specification(OverlayCurvesForTiming).groupBy("DetId/Event") # per-layer with history for online
57  .reduce("COUNT")
58  .groupBy("PXForward/OnlineBlock")
59  .groupBy("PXForward", "EXTEND_Y")
60  .save()
61  )
62 
63 
64 # To Configure Phase1 DQM for Phase0 data
65 SiPixelPhase1Geometry.upgradePhase = 1
66 
67 # Turn on 'online' harvesting. This has to be set before other configs are
68 # loaded (due to how the DefaultHisto PSet is later cloned), therefore it is
69 # here and not in the harvestng config.
70 DefaultHisto.perLumiHarvesting = True
71 DefaultHistoDigiCluster.perLumiHarvesting = True
72 DefaultHistoSummary.perLumiHarvesting = True
73 DefaultHistoTrack.perLumiHarvesting = True
74 
75 
76 # Pixel Digi Monitoring
78 
79 # Cluster (track-independent) monitoring
81 
82 # We could overwrite the Harvesters like this, and use the custom() steps to
83 # perform resetting of histograms.
84 #SiPixelPhase1ClustersHarvester = cms.EDAnalyzer("SiPixelPhase1OnlineHarvester",
85 # histograms = SiPixelPhase1ClustersConf,
86 # geometry = SiPixelPhase1Geometry
87 #)
88 
89 
90 # Raw data errors
92 
94 
95 #Summary maps
97 
98 siPixelPhase1OnlineDQM_source = cms.Sequence(
99  SiPixelPhase1DigisAnalyzer
100  + SiPixelPhase1ClustersAnalyzer
101  + SiPixelPhase1RawDataAnalyzer
102 # + SiPixelPhase1GeometryDebugAnalyzer
103 )
104 
105 siPixelPhase1OnlineDQM_harvesting = cms.Sequence(
106  SiPixelPhase1DigisHarvester
107  + SiPixelPhase1ClustersHarvester
108  + SiPixelPhase1RawDataHarvester
109  + RunQTests_online
110  + SiPixelPhase1SummaryOnline
111 # + SiPixelPhase1GeometryDebugHarvester
112 )
113 
114 siPixelPhase1OnlineDQM_timing_harvesting = siPixelPhase1OnlineDQM_harvesting.copyAndExclude([
115  RunQTests_online,
116  SiPixelPhase1SummaryOnline,
117 ])
DQM Environment
save
Definition: cuy.py:1163