1 import FWCore.ParameterSet.Config
as cms
4 SiPixelPhase1TrackClustersOnTrackCharge = DefaultHisto.clone(
6 title =
"Corrected Cluster Charge",
7 range_min = 0, range_max = 200e3, range_nbins = 200,
8 xlabel =
"Charge (electrons)",
9 topFolderName =
"PixelPhase1/OnTrack",
12 Specification().groupBy(
"PXBarrel|PXForward/PXLayer|PXDisk").saveAll(),
13 StandardSpecification2DProfile
17 SiPixelPhase1TrackClustersOnTrackSize = DefaultHisto.clone(
19 title =
"Total Cluster Size",
20 range_min = 0, range_max = 30, range_nbins = 30,
21 xlabel =
"size[pixels]",
22 topFolderName =
"PixelPhase1/OnTrack",
25 Specification().groupBy(
"PXBarrel|PXForward/PXLayer|PXDisk").saveAll(),
29 SiPixelPhase1TrackClustersOnTrackNClusters = DefaultHisto.clone(
32 range_min = 0, range_max = 10, range_nbins = 10,
35 topFolderName =
"PixelPhase1/OnTrack",
37 Specification().groupBy(
"PXBarrel|PXForward/PXLayer|PXDisk" +
"/DetId/Event")
39 .groupBy(
"PXBarrel|PXForward/PXLayer|PXDisk")
44 SiPixelPhase1TrackClustersOnTrackPositionB = DefaultHisto.clone(
45 bookUndefined =
False,
46 name =
"clusterposition_zphi",
47 title =
"Cluster Positions",
48 range_min = -60, range_max = 60, range_nbins = 600,
49 range_y_min = -3.2, range_y_max = 3.2, range_y_nbins = 200,
50 xlabel =
"Global Z", ylabel =
"Global \phi",
52 topFolderName =
"PixelPhase1/OnTrack",
54 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
55 Specification().groupBy(
"").
save(),
59 SiPixelPhase1TrackClustersOnTrackPositionF = DefaultHisto.clone(
60 bookUndefined =
False,
61 name =
"clusterposition_xy",
62 title =
"Cluster Positions",
63 xlabel =
"Global X", ylabel =
"Global Y",
64 range_min = -20, range_max = 20, range_nbins = 200,
65 range_y_min = -20, range_y_max = 20, range_y_nbins = 200,
67 topFolderName =
"PixelPhase1/OnTrack",
69 Specification().groupBy(
"PXForward/PXDisk").
save(),
73 SiPixelPhase1TrackClustersOffTrackCharge = \
74 SiPixelPhase1TrackClustersOnTrackCharge.clone(topFolderName =
"PixelPhase1/OffTrack",
75 title =
"Cluster Charge")
76 SiPixelPhase1TrackClustersOffTrackSize = \
77 SiPixelPhase1TrackClustersOnTrackSize.clone(topFolderName =
"PixelPhase1/OffTrack")
79 SiPixelPhase1TrackClustersOffTrackNClusters = \
80 SiPixelPhase1TrackClustersOnTrackNClusters.clone(topFolderName =
"PixelPhase1/OffTrack")
82 SiPixelPhase1TrackClustersOffTrackPositionB = \
83 SiPixelPhase1TrackClustersOnTrackPositionB.clone(topFolderName =
"PixelPhase1/OffTrack")
85 SiPixelPhase1TrackClustersOffTrackPositionF = \
86 SiPixelPhase1TrackClustersOnTrackPositionF.clone(topFolderName =
"PixelPhase1/OffTrack")
88 SiPixelPhase1TrackClustersNTracks = DefaultHisto.clone(
90 title =
"Number of Tracks",
91 xlabel =
"All - Pixel - BPIX - FPIX",
92 range_min = 1, range_max = 5, range_nbins = 4,
94 topFolderName =
"PixelPhase1/Tracks",
96 Specification().groupBy(
"").
save()
100 SiPixelPhase1TrackClustersNTracksInVolume = DefaultHisto.clone(
101 name =
"ntracksinpixvolume",
102 title =
"Number of Tracks in Pixel fiducial Volume",
103 xlabel =
"without hits - with hits",
104 range_min = 0, range_max = 2, range_nbins = 2,
106 topFolderName =
"PixelPhase1/Tracks",
108 Specification().groupBy(
"").
save()
112 SiPixelPhase1TrackClustersConf = cms.VPSet(
113 SiPixelPhase1TrackClustersOnTrackCharge,
114 SiPixelPhase1TrackClustersOnTrackSize,
115 SiPixelPhase1TrackClustersOnTrackNClusters,
116 SiPixelPhase1TrackClustersOnTrackPositionB,
117 SiPixelPhase1TrackClustersOnTrackPositionF,
119 SiPixelPhase1TrackClustersOffTrackCharge,
120 SiPixelPhase1TrackClustersOffTrackSize,
121 SiPixelPhase1TrackClustersOffTrackNClusters,
122 SiPixelPhase1TrackClustersOffTrackPositionB,
123 SiPixelPhase1TrackClustersOffTrackPositionF,
125 SiPixelPhase1TrackClustersNTracks,
126 SiPixelPhase1TrackClustersNTracksInVolume,
130 SiPixelPhase1TrackClustersAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1TrackClusters",
131 clusters = cms.InputTag(
"siPixelClusters"),
132 trajectories = cms.InputTag(
"generalTracks"),
133 histograms = SiPixelPhase1TrackClustersConf,
134 geometry = SiPixelPhase1Geometry
137 SiPixelPhase1TrackClustersHarvester = cms.EDAnalyzer(
"SiPixelPhase1Harvester",
138 histograms = SiPixelPhase1TrackClustersConf,
139 geometry = SiPixelPhase1Geometry