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