1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
6 SiPixelPhase1TrackEfficiencyValid = DefaultHistoTrack.clone(
13 StandardSpecifications1D_Num,
14 StandardSpecification2DOccupancy,
16 Specification().groupBy(
"PXBarrel/PXLayer/Event")
18 .groupBy(
"PXBarrel/PXLayer")
19 .
save(nbins=100, xmin=0, xmax=3000),
20 Specification().groupBy(
"PXForward/PXDisk/Event")
22 .groupBy(
"PXForward/PXDisk/")
23 .
save(nbins=100, xmin=0, xmax=3000),
27 SiPixelPhase1TrackEfficiencyMissing = DefaultHistoTrack.clone(
29 title =
"Missing Hits",
30 xlabel =
"missing hits",
34 StandardSpecifications1D_Num,
35 StandardSpecification2DOccupancy,
37 Specification().groupBy(
"PXBarrel/PXLayer/Event")
39 .groupBy(
"PXBarrel/PXLayer")
40 .
save(nbins=100, xmin=0, xmax=100),
41 Specification().groupBy(
"PXForward/PXDisk/Event")
43 .groupBy(
"PXForward/PXDisk/")
44 .
save(nbins=100, xmin=0, xmax=100),
48 SiPixelPhase1TrackEfficiencyEfficiency = SiPixelPhase1TrackEfficiencyValid.clone(
49 name =
"hitefficiency",
50 title =
"Hit Efficiency",
51 xlabel =
"#valid/(#valid+#missing)",
54 StandardSpecification2DProfile
59 SiPixelPhase1TrackEfficiencyVertices= DefaultHistoTrack.clone(
60 name =
"num_vertices",
61 title =
"PrimaryVertices",
68 Specification().groupBy(
"")
70 Specification().groupBy(
"/Lumisection")
72 .groupBy(
"",
"EXTEND_X")
79 SiPixelPhase1TrackEfficiencyConf = cms.VPSet(
80 SiPixelPhase1TrackEfficiencyValid,
81 SiPixelPhase1TrackEfficiencyMissing,
82 SiPixelPhase1TrackEfficiencyEfficiency,
83 SiPixelPhase1TrackEfficiencyVertices
87 SiPixelPhase1TrackEfficiencyAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1TrackEfficiency",
88 clusters = cms.InputTag(
"siPixelClusters"),
89 tracks = cms.InputTag(
"generalTracks"),
90 primaryvertices = cms.InputTag(
"offlinePrimaryVertices"),
91 histograms = SiPixelPhase1TrackEfficiencyConf,
92 geometry = SiPixelPhase1Geometry
95 SiPixelPhase1TrackEfficiencyHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
96 histograms = SiPixelPhase1TrackEfficiencyConf,
97 geometry = SiPixelPhase1Geometry