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
74 
75 SiPixelPhase1TrackClustersOnTrackCorrCharge.enabled=cms.bool(False)
76 SiPixelPhase1TrackTemplateCorr.enabled=cms.bool(False)
77 SiPixelPhase1TrackClustersOnTrackCorrChargeOuter.enabled=cms.bool(False)
78 SiPixelPhase1TrackTemplateCorrOuter.enabled=cms.bool(False)
79 SiPixelPhase1TrackClustersOnTrackCorrChargeInner.enabled=cms.bool(False)
80 SiPixelPhase1TrackTemplateCorrInner.enabled=cms.bool(False)
82 
83 siPixelPhase1OnlineDQM_source = cms.Sequence(
84  SiPixelPhase1DigisAnalyzer
85  + SiPixelPhase1DeadFEDChannelsAnalyzer
86  + SiPixelPhase1ClustersAnalyzer
87  + SiPixelPhase1RawDataAnalyzer
88  + SiPixelPhase1TrackClustersAnalyzer
89  + SiPixelPhase1TrackResidualsAnalyzer
90 # + SiPixelPhase1GeometryDebugAnalyzer
91 )
92 
93 siPixelPhase1OnlineDQM_harvesting = cms.Sequence(
94  SiPixelPhase1DigisHarvester
95  + SiPixelPhase1DeadFEDChannelsHarvester
96  + SiPixelPhase1ClustersHarvester
97  + SiPixelPhase1RawDataHarvester
98  + SiPixelPhase1TrackClustersHarvester
99  + SiPixelPhase1TrackResidualsHarvester
100  + RunQTests_online
101  + SiPixelPhase1SummaryOnline
102 # + SiPixelPhase1GeometryDebugHarvester
103 )
104 
105 
106 
107 SiPixelPhase1TrackClustersAnalyzer_cosmics = SiPixelPhase1TrackClustersAnalyzer.clone(
108  tracks = "ctfWithMaterialTracksP5",
109  VertexCut = False
110 )
111 
112 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone(
113  Tracks = "ctfWithMaterialTracksP5",
114  trajectoryInput = "ctfWithMaterialTracksP5",
115  VertexCut = False
116 )
117 
118 siPixelPhase1OnlineDQM_source_cosmics = cms.Sequence(
119  SiPixelPhase1DigisAnalyzer
120  + SiPixelPhase1DeadFEDChannelsAnalyzer
121  + SiPixelPhase1ClustersAnalyzer
122  + SiPixelPhase1RawDataAnalyzer
123  + SiPixelPhase1TrackClustersAnalyzer_cosmics
124  + SiPixelPhase1TrackResidualsAnalyzer_cosmics
125 )
126 
127 
128 SiPixelPhase1TrackClustersAnalyzer_pprun = SiPixelPhase1TrackClustersAnalyzer.clone(
129  tracks = "initialStepTracksPreSplitting",
130  clusterShapeCache = "siPixelClusterShapeCachePreSplitting",
131  vertices = 'firstStepPrimaryVerticesPreSplitting',
132  VertexCut = False
133 )
134 
135 SiPixelPhase1TrackResidualsAnalyzer_pprun = SiPixelPhase1TrackResidualsAnalyzer.clone(
136  Tracks = "initialStepTracksPreSplitting",
137  trajectoryInput = "initialStepTracksPreSplitting",
138  VertexCut = False
139 )
140 
141 siPixelPhase1OnlineDQM_source_pprun = cms.Sequence(
142  SiPixelPhase1DigisAnalyzer
143  + SiPixelPhase1DeadFEDChannelsAnalyzer
144  + SiPixelPhase1ClustersAnalyzer
145  + SiPixelPhase1RawDataAnalyzer
146  + SiPixelPhase1TrackClustersAnalyzer_pprun
147  + SiPixelPhase1TrackResidualsAnalyzer_pprun
148 )
149 
150 siPixelPhase1OnlineDQM_timing_harvesting = siPixelPhase1OnlineDQM_harvesting.copyAndExclude([
151  RunQTests_online,
152  SiPixelPhase1SummaryOnline,
153 ])
save
Definition: cuy.py:1164