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  tracks = "ctfWithMaterialTracksP5",
107  VertexCut = False
108 )
109 
110 SiPixelPhase1TrackResidualsAnalyzer_cosmics = SiPixelPhase1TrackResidualsAnalyzer.clone(
111  Tracks = "ctfWithMaterialTracksP5",
112  trajectoryInput = "ctfWithMaterialTracksP5",
113  VertexCut = False
114 )
115 
116 siPixelPhase1OnlineDQM_source_cosmics = cms.Sequence(
117  SiPixelPhase1DigisAnalyzer
118  + SiPixelPhase1DeadFEDChannelsAnalyzer
119  + SiPixelPhase1ClustersAnalyzer
120  + SiPixelPhase1RawDataAnalyzer
121  + SiPixelPhase1TrackClustersAnalyzer_cosmics
122  + SiPixelPhase1TrackResidualsAnalyzer_cosmics
123 )
124 
125 
126 SiPixelPhase1TrackClustersAnalyzer_pprun = SiPixelPhase1TrackClustersAnalyzer.clone(
127  tracks = "initialStepTracksPreSplitting",
128  clusterShapeCache = "siPixelClusterShapeCachePreSplitting",
129  vertices = 'firstStepPrimaryVerticesPreSplitting',
130  VertexCut = False
131 )
132 
133 SiPixelPhase1TrackResidualsAnalyzer_pprun = SiPixelPhase1TrackResidualsAnalyzer.clone(
134  Tracks = "initialStepTracksPreSplitting",
135  trajectoryInput = "initialStepTracksPreSplitting",
136  VertexCut = False
137 )
138 
139 siPixelPhase1OnlineDQM_source_pprun = cms.Sequence(
140  SiPixelPhase1DigisAnalyzer
141  + SiPixelPhase1DeadFEDChannelsAnalyzer
142  + SiPixelPhase1ClustersAnalyzer
143  + SiPixelPhase1RawDataAnalyzer
144  + SiPixelPhase1TrackClustersAnalyzer_pprun
145  + SiPixelPhase1TrackResidualsAnalyzer_pprun
146 )
147 
148 siPixelPhase1OnlineDQM_timing_harvesting = siPixelPhase1OnlineDQM_harvesting.copyAndExclude([
149  RunQTests_online,
150  SiPixelPhase1SummaryOnline,
151 ])
save
Definition: cuy.py:1164