test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelPhase1TrackClusters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 SiPixelPhase1TrackClustersOnTrackCharge = DefaultHisto.clone(
5  name = "charge",
6  title = "Corrected Cluster Charge",
7  range_min = 0, range_max = 200e3, range_nbins = 200,
8  xlabel = "Charge (electrons)",
9  topFolderName = "PixelPhase1/OnTrack",
10 
11  specs = cms.VPSet(
12  Specification().groupBy("PXBarrel|PXForward/PXLayer|PXDisk").saveAll(),
13  StandardSpecification2DProfile
14  )
15 )
16 
17 SiPixelPhase1TrackClustersOnTrackSize = DefaultHisto.clone(
18  name = "size",
19  title = "Total Cluster Size",
20  range_min = 0, range_max = 30, range_nbins = 30,
21  xlabel = "size[pixels]",
22  topFolderName = "PixelPhase1/OnTrack",
23 
24  specs = cms.VPSet(
25  Specification().groupBy("PXBarrel|PXForward/PXLayer|PXDisk").saveAll(),
26  )
27 )
28 
29 SiPixelPhase1TrackClustersOnTrackNClusters = DefaultHisto.clone(
30  name = "clusters",
31  title = "Clusters",
32  range_min = 0, range_max = 10, range_nbins = 10,
33  xlabel = "clusters",
34  dimensions = 0,
35  topFolderName = "PixelPhase1/OnTrack",
36  specs = cms.VPSet(
37  Specification().groupBy("PXBarrel|PXForward/PXLayer|PXDisk" + "/DetId/Event")
38  .reduce("COUNT")
39  .groupBy("PXBarrel|PXForward/PXLayer|PXDisk")
40  .saveAll()
41  )
42 )
43 
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",
51  dimensions = 2,
52  topFolderName = "PixelPhase1/OnTrack",
53  specs = cms.VPSet(
54  Specification().groupBy("PXBarrel/PXLayer").save(),
55  Specification().groupBy("").save(),
56  )
57 )
58 
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,
66  dimensions = 2,
67  topFolderName = "PixelPhase1/OnTrack",
68  specs = cms.VPSet(
69  Specification().groupBy("PXForward/PXDisk").save(),
70  )
71 )
72 
73 SiPixelPhase1TrackClustersOffTrackCharge = \
74  SiPixelPhase1TrackClustersOnTrackCharge.clone(topFolderName = "PixelPhase1/OffTrack",
75  title = "Cluster Charge")
76 SiPixelPhase1TrackClustersOffTrackSize = \
77  SiPixelPhase1TrackClustersOnTrackSize.clone(topFolderName = "PixelPhase1/OffTrack")
78 
79 SiPixelPhase1TrackClustersOffTrackNClusters = \
80  SiPixelPhase1TrackClustersOnTrackNClusters.clone(topFolderName = "PixelPhase1/OffTrack")
81 
82 SiPixelPhase1TrackClustersOffTrackPositionB = \
83  SiPixelPhase1TrackClustersOnTrackPositionB.clone(topFolderName = "PixelPhase1/OffTrack")
84 
85 SiPixelPhase1TrackClustersOffTrackPositionF = \
86  SiPixelPhase1TrackClustersOnTrackPositionF.clone(topFolderName = "PixelPhase1/OffTrack")
87 
88 SiPixelPhase1TrackClustersNTracks = DefaultHisto.clone(
89  name = "ntracks",
90  title = "Number of Tracks",
91  xlabel = "All - Pixel - BPIX - FPIX",
92  range_min = 1, range_max = 5, range_nbins = 4,
93  dimensions = 1,
94  topFolderName = "PixelPhase1/Tracks",
95  specs = cms.VPSet(
96  Specification().groupBy("").save()
97  )
98 )
99 
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,
105  dimensions = 1,
106  topFolderName = "PixelPhase1/Tracks",
107  specs = cms.VPSet(
108  Specification().groupBy("").save()
109  )
110 )
111 
112 SiPixelPhase1TrackClustersConf = cms.VPSet(
113  SiPixelPhase1TrackClustersOnTrackCharge,
114  SiPixelPhase1TrackClustersOnTrackSize,
115  SiPixelPhase1TrackClustersOnTrackNClusters,
116  SiPixelPhase1TrackClustersOnTrackPositionB,
117  SiPixelPhase1TrackClustersOnTrackPositionF,
118 
119  SiPixelPhase1TrackClustersOffTrackCharge,
120  SiPixelPhase1TrackClustersOffTrackSize,
121  SiPixelPhase1TrackClustersOffTrackNClusters,
122  SiPixelPhase1TrackClustersOffTrackPositionB,
123  SiPixelPhase1TrackClustersOffTrackPositionF,
124 
125  SiPixelPhase1TrackClustersNTracks,
126  SiPixelPhase1TrackClustersNTracksInVolume,
127 )
128 
129 
130 SiPixelPhase1TrackClustersAnalyzer = cms.EDAnalyzer("SiPixelPhase1TrackClusters",
131  clusters = cms.InputTag("siPixelClusters"),
132  trajectories = cms.InputTag("generalTracks"),
133  histograms = SiPixelPhase1TrackClustersConf,
134  geometry = SiPixelPhase1Geometry
135 )
136 
137 SiPixelPhase1TrackClustersHarvester = cms.EDAnalyzer("SiPixelPhase1Harvester",
138  histograms = SiPixelPhase1TrackClustersConf,
139  geometry = SiPixelPhase1Geometry
140 )
list save
Definition: cuy.py:1163