17 pvGroup = helper.addGroup(alg,
'PrimaryVertex')
18 pathpv =
'/InDetGlobal/PrimaryVertex'
22 title =
'Primary vertex: x;x (mm);Events'
23 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=500, xmin=-1.0, xmax=1.0)
26 title =
'Primary vertex: y;y (mm);Events'
27 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=500, xmin=-1.0, xmax=1.0)
30 title =
'Primary vertex: z;z (mm);Events'
31 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=100, xmin=-200., xmax=200.)
34 title =
'Total number of vertices (primary and pile up);Total number of vertices;Events'
35 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=60, xmin=-0.5, xmax=59.5)
37 varName =
'm_nPriVtx;pvNPriVtx'
38 title =
'Number of primary vertices;Number of primary vertices;Events'
39 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=3, xmin=-0.5, xmax=2.5)
41 varName =
'm_nPileupVtx;pvNPileupVtx'
42 title =
'Number of pileup vertices;Number of pile up vertices;Events'
43 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=50, xmin=-0.5, xmax=49.5)
45 varName =
'm_PvErrX;pvErrX'
46 title =
'Primary vertex: #sigma_{x}; #sigma_{x} (mm);Events'
47 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=200, xmin=0., xmax=0.03)
49 varName =
'm_PvErrY;pvErrY'
50 title =
'Primary vertex: #sigma_{y}; #sigma_{y} (mm);Events'
51 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=200, xmin=0., xmax=0.03)
53 varName =
'm_PvErrZ;pvErrZ'
54 title =
'Primary vertex: #sigma_{z}; #sigma_{z} (mm);Events'
55 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=100, xmin=0., xmax=0.1)
57 varName =
'm_PvChiSqDoF;pvChiSqDof'
58 title =
'Primary vertex: #Chi^{2}/DoF of vertex fit;#Chi^{2}/DoF;Events'
59 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=100, xmin=0., xmax=5.)
61 varName =
'm_PvN;pvNTracks'
62 title =
'Number of tracks in primary vertex;Number of tracks;Events'
63 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=300, xmin=0., xmax=300.)
65 varName =
'm_PvTrackPt;pvTrackPt'
66 title =
'Primary vertex: original track p_{t};p_{t} (GeV);Events'
67 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=100, xmin=0., xmax=20.)
69 varName =
'm_PvTrackEta;pvTrackEta'
70 title =
'Primary vertex: original track #eta; #eta;Events'
71 pvGroup.defineHistogram(varName, type=
'TH1F', path=pathpv, title=title, xbins=100, xmin=-3, xmax=3)