CMS 3D CMS Logo

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