CMS 3D CMS Logo

SiPixelPhase1TrackClustersV_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 SiPixelPhase1TrackClustersCharge = DefaultHisto.clone(
6  name = "charge",
7  title = "Corrected Cluster Charge",
8  range_min = 0, range_max = 200e3, range_nbins = 200,
9  xlabel = "Charge size",
10  topFolderName = "PixelPhase1V/Clusters",
11  specs = VPSet(
12  Specification().groupBy("PXBarrel/PXLayer").save(),
13  Specification().groupBy("PXForward/PXDisk").save(),
14  StandardSpecification2DProfile,
15  )
16 )
17 
18 SiPixelPhase1TrackClustersSizeX = DefaultHisto.clone(
19  name = "size_x",
20  title = "Cluster Size X",
21  range_min = 0, range_max = 30, range_nbins = 30,
22  xlabel = "Cluster size (in pixels)",
23  topFolderName = "PixelPhase1V/Clusters",
24  specs = VPSet(
25  Specification().groupBy("PXBarrel/PXLayer").save(),
26  Specification().groupBy("PXForward/PXDisk").save(),
27  StandardSpecification2DProfile,
28  )
29 )
30 
31 SiPixelPhase1TrackClustersSizeY = DefaultHisto.clone(
32  name = "size_y",
33  title = "Cluster Size Y",
34  range_min = 0, range_max = 30, range_nbins = 30,
35  xlabel = "Cluster size (in pixels)",
36  topFolderName = "PixelPhase1V/Clusters",
37  specs = VPSet(
38  Specification().groupBy("PXBarrel/PXLayer").save(),
39  Specification().groupBy("PXForward/PXDisk").save(),
40  StandardSpecification2DProfile,
41  )
42 )
43 
44 SiPixelPhase1TrackClustersConf = cms.VPSet(
45  SiPixelPhase1TrackClustersCharge,
46  SiPixelPhase1TrackClustersSizeX,
47  SiPixelPhase1TrackClustersSizeY
48 )
49 
50 
51 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
52 SiPixelPhase1TrackClustersAnalyzerV = DQMEDAnalyzer('SiPixelPhase1TrackClustersV',
53  clusters = cms.InputTag("siPixelClusters"),
54  tracks = cms.InputTag("generalTracks"),
55  histograms = SiPixelPhase1TrackClustersConf,
56  geometry = SiPixelPhase1Geometry
57 )
58 
59 SiPixelPhase1TrackClustersHarvesterV = DQMEDHarvester("SiPixelPhase1Harvester",
60  histograms = SiPixelPhase1TrackClustersConf,
61  geometry = SiPixelPhase1Geometry
62 )
DQM Environment
save
Definition: cuy.py:1163