1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 SiPixelPhase1TrackClustersCharge = DefaultHisto.clone(
7 title =
"Corrected Cluster Charge",
8 range_min = 0, range_max = 200e3, range_nbins = 200,
9 xlabel =
"Charge size",
10 topFolderName =
"PixelPhase1V/Clusters",
12 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
13 Specification().groupBy(
"PXForward/PXDisk").
save(),
14 StandardSpecification2DProfile,
18 SiPixelPhase1TrackClustersSizeX = DefaultHisto.clone(
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",
25 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
26 Specification().groupBy(
"PXForward/PXDisk").
save(),
27 StandardSpecification2DProfile,
31 SiPixelPhase1TrackClustersSizeY = DefaultHisto.clone(
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",
38 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
39 Specification().groupBy(
"PXForward/PXDisk").
save(),
40 StandardSpecification2DProfile,
44 SiPixelPhase1TrackClustersConf = cms.VPSet(
45 SiPixelPhase1TrackClustersCharge,
46 SiPixelPhase1TrackClustersSizeX,
47 SiPixelPhase1TrackClustersSizeY
51 SiPixelPhase1TrackClustersAnalyzerV = cms.EDAnalyzer(
"SiPixelPhase1TrackClustersV",
52 clusters = cms.InputTag(
"siPixelClusters"),
53 tracks = cms.InputTag(
"generalTracks"),
54 histograms = SiPixelPhase1TrackClustersConf,
55 geometry = SiPixelPhase1Geometry
58 SiPixelPhase1TrackClustersHarvesterV =
DQMEDHarvester(
"SiPixelPhase1Harvester",
59 histograms = SiPixelPhase1TrackClustersConf,
60 geometry = SiPixelPhase1Geometry