CMS 3D CMS Logo

SiPixelPhase1GeometryDebug_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 DefaultHistoDebug = DefaultHisto.clone(
5  topFolderName = "PixelPhase1/Debug"
6 )
7 
8 SiPixelPhase1GeometryDebugDetId = DefaultHistoDebug.clone(
9  name = "debug_detid",
10  title = "Location of DetIds",
11  xlabel = "DetId",
12  dimensions = 1,
13  specs = VPSet(
14  StandardSpecification2DProfile,
15  StandardSpecificationPixelmapProfile,
16  )
17 )
18 
19 SiPixelPhase1GeometryDebugLadderBlade = DefaultHistoDebug.clone(
20  name = "debug_ladderblade",
21  title = "Location of Ladders/Blades",
22  xlabel = "offline Ladder/Blade #",
23  dimensions = 1,
24  specs = VPSet(
25  StandardSpecification2DProfile,
26  StandardSpecificationPixelmapProfile,
27  )
28 )
29 
30 SiPixelPhase1GeometryDebugROC = DefaultHistoDebug.clone(
31  name = "debug_roc",
32  title = "Location of ROCs",
33  xlabel = "ROC#",
34  dimensions = 1,
35  specs = VPSet(
36  # TODO: make this per ROC!
37  StandardSpecification2DProfile,
38  StandardSpecificationPixelmapProfile,
39  Specification()
40  .groupBy("PXBarrel/PXLayer/PXModuleName/SignedLadderCoord/SignedModuleCoord")
41  .groupBy("PXBarrel/PXLayer/PXModuleName/SignedLadderCoord", "EXTEND_X")
42  .groupBy("PXBarrel/PXLayer/PXModuleName/", "EXTEND_Y")
43  .reduce("MEAN")
44  .save(),
45 
46  )
47 )
48 
49 SiPixelPhase1GeometryDebugFED = DefaultHistoDebug.clone(
50  name = "debug_fed",
51  title = "Location of FEDs",
52  xlabel = "FED#",
53  dimensions = 1,
54  specs = VPSet(
55  StandardSpecification2DProfile,
56  StandardSpecificationPixelmapProfile,
57  )
58 )
59 
60 SiPixelPhase1GeometryDebugConf = cms.VPSet(
61  SiPixelPhase1GeometryDebugDetId,
62  SiPixelPhase1GeometryDebugLadderBlade,
63  SiPixelPhase1GeometryDebugROC,
64  SiPixelPhase1GeometryDebugFED,
65 )
66 
67 SiPixelPhase1GeometryDebugAnalyzer = cms.EDAnalyzer("SiPixelPhase1GeometryDebug",
68  histograms = SiPixelPhase1GeometryDebugConf,
69  geometry = SiPixelPhase1Geometry
70 )
71 
72 SiPixelPhase1GeometryDebugHarvester = cms.EDAnalyzer("SiPixelPhase1Harvester",
73  histograms = SiPixelPhase1GeometryDebugConf,
74  geometry = SiPixelPhase1Geometry
75 )
DQM Environment
save
Definition: cuy.py:1163