CMS 3D CMS Logo

SiPixelPhase1TrackEfficiency_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 SiPixelPhase1TrackEfficiencyValid = DefaultHistoTrack.clone(
5  name = "valid",
6  title = "Valid Hits",
7  xlabel = "valid hits",
8  dimensions = 0,
9  specs = VPSet(
10  StandardSpecifications1D_Num,
11  StandardSpecification2DOccupancy,
12  )
13 )
14 
15 SiPixelPhase1TrackEfficiencyMissing = DefaultHistoTrack.clone(
16  name = "missing",
17  title = "Missing Hits",
18  xlabel = "missing hits",
19  dimensions = 0,
20  specs = VPSet(
21  StandardSpecifications1D_Num,
22  StandardSpecification2DOccupancy,
23  )
24 )
25 
26 SiPixelPhase1TrackEfficiencyEfficiency = SiPixelPhase1TrackEfficiencyValid.clone(
27  name = "hitefficiency",
28  title = "Hit Efficiency",
29  xlabel = "#valid/(#valid+#missing)",
30  dimensions = 1,
31  specs = VPSet(
32  StandardSpecification2DProfile
33  #StandardSpecificationPixelmapProfile
34  )
35 )
36 
37 SiPixelPhase1TrackEfficiencyVertices= DefaultHistoTrack.clone(
38  name = "num_vertices",
39  title = "PrimaryVertices",
40  xlabel= "# Vertices",
41  dimensions = 1,
42  range_min = -0.5,
43  range_max = 100.5,
44  range_nbins =101,
45  specs = VPSet(
46  Specification().groupBy("")
47  .save(),
48  Specification().groupBy("/Lumisection")
49  .reduce("MEAN")
50  .groupBy("","EXTEND_X")
51  .save()
52  )
53 )
54 
55 
56 
57 SiPixelPhase1TrackEfficiencyConf = cms.VPSet(
58  SiPixelPhase1TrackEfficiencyValid,
59  SiPixelPhase1TrackEfficiencyMissing,
60  SiPixelPhase1TrackEfficiencyEfficiency,
61  SiPixelPhase1TrackEfficiencyVertices
62 )
63 
64 
65 SiPixelPhase1TrackEfficiencyAnalyzer = cms.EDAnalyzer("SiPixelPhase1TrackEfficiency",
66  clusters = cms.InputTag("siPixelClusters"),
67  tracks = cms.InputTag("generalTracks"),
68  primaryvertices = cms.InputTag("offlinePrimaryVertices"),
69  histograms = SiPixelPhase1TrackEfficiencyConf,
70  geometry = SiPixelPhase1Geometry
71 )
72 
73 SiPixelPhase1TrackEfficiencyHarvester = cms.EDAnalyzer("SiPixelPhase1Harvester",
74  histograms = SiPixelPhase1TrackEfficiencyConf,
75  geometry = SiPixelPhase1Geometry
76 )
DQM Environment
save
Definition: cuy.py:1163