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