CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Variables
vertexPlots Namespace Reference

Classes

class  VertexSummaryTable
 
class  VertexValidation
 

Variables

dictionary _common = {"xtitle": "Simulated interactions", "xmin": _minPU, "xmax": _maxPU, "ymin": _minVtx, "ymax": _maxVtx}
 Extended set of plots. More...
 
tuple _commonNumTracks = dict(title="", xtitle="Number of tracks", scale=1e4, ylog=True, ymin=_minMaxRes , ymax=_minMaxRes)
 
tuple _commonPt = copy.copy(_commonNumTracks)
 
tuple _commonPU = copy.copy(_commonZ)
 
tuple _commonXY = dict(xmin=[x*0.1 for x in range(-6, 6, 1)], xmax=[x*0.1 for x in range(-5, 7, 1)])
 
tuple _commonZ = dict(xmin=[-60,-30], xmax=[30,60])
 
tuple _effandfake
 
tuple _extDist
 
tuple _extDqm
 
tuple _extDqmDiff
 
tuple _extDqmErr
 
tuple _extGenpos
 
tuple _extPullPU
 
tuple _extPullZ
 
tuple _extResidualNumTracks
 
tuple _extResidualPt
 
tuple _extResidualPU
 
tuple _extResidualZ
 
tuple _extResolutionPU
 
tuple _extResolutionZ
 
tuple _k0_effandfake
 
tuple _k0_effandfakeTk
 
tuple _k0_mass
 
tuple _lambda_effandfake
 
tuple _lambda_effandfakeTk
 
tuple _lambda_mass
 
float _maxEff = 1.025
 
list _maxFake = [0.05, 0.1, 0.2, 0.5, 0.7, 1.025]
 
list _maxPU = [60, 80, 100, 150, 200, 250]
 
list _maxPull = [1.1, 1.2, 1.5, 2]
 
tuple _maxVertexZ = list(range(20,70,10))
 
list _maxVtx = [60, 100, 150, 200, 250]
 
list _minMaxPt = [5e-1, 1, 5, 1e1, 5e1, 1e2, 5e2, 1e3, 5e3, 1e4]
 
list _minMaxRes = [0.1, 0.5, 1, 5, 10, 50, 100, 200, 500, 1000, 2000, 5000]
 
list _minPU = [0, 10, 20, 40, 80, 120]
 
list _minPull = [0, 0.5, 0.8, 0.9]
 
tuple _minVertexZ = list(range(-60,-10,10))
 
list _minVtx = [0, 80, 120]
 
tuple _pull
 
tuple _pullNumTracks
 
tuple _pullPt
 
tuple _puritymissing
 
tuple _pvtagging
 
tuple _recovsgen
 
tuple _resolution
 
tuple _resolutionNumTracks
 
tuple _resolutionPt
 
tuple _sumpt2
 
list _v0Folders
 
list _vertexDqmFolders
 
list _vertexFolders
 
string _vertexNumberOfEventsHistogram = "DQMData/Run 1/Vertexing/Run summary/PrimaryVertexV/GenPV_Z"
 
 loopSubFolders = False,
 
 numberOfEventsHistogram = _vertexNumberOfEventsHistogram
 
 onlyForPileup = True,
 
string page = "vertex"
 
tuple plotter = Plotter()
 
tuple plotterExt = Plotter()
 
 purpose = PlotPurpose.Vertexing,
 
string section = "offlinePrimaryVertices"
 

Variable Documentation

tuple vertexPlots._common = {"xtitle": "Simulated interactions", "xmin": _minPU, "xmax": _maxPU, "ymin": _minVtx, "ymax": _maxVtx}

Extended set of plots.

Definition at line 25 of file vertexPlots.py.

tuple vertexPlots._commonNumTracks = dict(title="", xtitle="Number of tracks", scale=1e4, ylog=True, ymin=_minMaxRes , ymax=_minMaxRes)

Definition at line 64 of file vertexPlots.py.

tuple vertexPlots._commonPt = copy.copy(_commonNumTracks)

Definition at line 78 of file vertexPlots.py.

tuple vertexPlots._commonPU = copy.copy(_commonZ)

Definition at line 243 of file vertexPlots.py.

tuple vertexPlots._commonXY = dict(xmin=[x*0.1 for x in range(-6, 6, 1)], xmax=[x*0.1 for x in range(-5, 7, 1)])

Definition at line 209 of file vertexPlots.py.

tuple vertexPlots._commonZ = dict(xmin=[-60,-30], xmax=[30,60])

Definition at line 210 of file vertexPlots.py.

tuple vertexPlots._effandfake
Initial value:
1 = PlotGroup("effandfake", [
2  Plot("effic_vs_NumVertices", xtitle="Simulated interactions", ytitle="Efficiency vs. N sim vertices", xmin=_minPU, xmax=_maxPU, ymax=_maxEff),
3  Plot("fakerate_vs_PU", xtitle="Simulated interactions", ytitle="Fake rate vs. N sim vertices", xmin=_minPU, xmax=_maxPU, ymax=_maxFake),
4  Plot("effic_vs_NumTracks", xtitle="Tracks", ytitle="Efficiency vs. N tracks", title="", ymax=_maxEff),
5  Plot("fakerate_vs_NumTracks", xtitle="Tracks", ytitle="Fake rate vs. N tracks", title="", ymax=_maxFake),
6  Plot("effic_vs_Pt2", xtitle="Sum p_{T}^{2} ", ytitle="Efficiency vs. sum p_{T}^{2}", xlog=True, ymax=_maxEff),
7  Plot("fakerate_vs_Pt2", xtitle="Sum p_{T}^{2} ", ytitle="Fake rate vs. sum p_{T}^{2}", xlog=True, ymax=_maxFake),
8 ])

Definition at line 42 of file vertexPlots.py.

tuple vertexPlots._extDist
Initial value:
1 = PlotGroup("dist", [
2  Plot("RecoAllAssoc2Gen_X", xtitle="Reco vertex pos x (cm)", ytitle="N", **_commonXY),
3  Plot("RecoAllAssoc2Gen_Y", xtitle="Reco vertex pos y (cm)", ytitle="N", **_commonXY),
4  Plot("RecoAllAssoc2Gen_R", xtitle="Reco vertex pos r (cm)", ytitle="N", **_commonXY),
5  Plot("RecoAllAssoc2Gen_Z", xtitle="Reco vertex pos z (cm)", ytitle="N", **_commonZ),
6  Plot("RecoAllAssoc2Gen_NumVertices", xtitle="Number of reco vertices", ytitle="A.u.", normalizeToUnitArea=True, stat=True, drawStyle="hist", min=_minVtx, xmax=_maxVtx),
7  Plot("RecoAllAssoc2Gen_NumTracks", xtitle="Number of tracks in vertex fit", ytitle="N", stat=True, drawStyle="hist"),
8 ])

Definition at line 221 of file vertexPlots.py.

tuple vertexPlots._extDqm
Initial value:
1 = PlotGroup("dqm", [
2  Plot("tagVtxTrksVsZ", xtitle="z_{vertex} - z_{beamspot} (cm)", ytitle="Tracks / selected PV"),
3  Plot("otherVtxTrksVsZ", xtitle="z_{vertex} - z_{beamspot} (cm)", ytitle="Tracks / pileup vertex"),
4  Plot("vtxNbr", xtitle="Reconstructed vertices", ytitle="Events", stat=True, drawStyle="hist", xmin=_minVtx, xmax=_maxVtx),
5 ])

Definition at line 342 of file vertexPlots.py.

tuple vertexPlots._extDqmDiff
Initial value:
1 = PlotGroup("dqmDiff", [
2  Plot("tagDiffX", xtitle="PV x_{vertex} - x_{beamspot} (#mum)", **_common),
3  Plot("otherDiffX", xtitle="Pileup vertex x_{vertex} - x_{beamspot} (#mum)", **_common),
4  #
5  Plot("tagDiffY", xtitle="PV y_{vertex} - y_{beamspot} (#mum)", **_common),
6  Plot("otherDiffY", xtitle="Pileup vertex y_{vertex} - y_{beamspot} (#mum)", **_common),
7 ])

Definition at line 348 of file vertexPlots.py.

tuple vertexPlots._extDqmErr
Initial value:
1 = PlotGroup("dqmErr", [
2  Plot("tagErrX", xtitle="PV uncertainty in x (um)", **_common),
3  Plot("otherErrX", xtitle="Pileup vertex uncertainty in x (um)", **_common),
4  #
5  Plot("otherErrY", xtitle="Pileup vertex uncertainty in y (um)", **_common),
6  Plot("tagErrY", xtitle="PV uncertainty in y (um)", **_common),
7  #
8  Plot("otherErrZ", xtitle="Pileup vertex uncertainty in z (um)", **_common),
9  Plot("tagErrZ", xtitle="PV uncertainty in z (um)", **_common),
10 ])

Definition at line 355 of file vertexPlots.py.

tuple vertexPlots._extGenpos
Initial value:
1 = PlotGroup("genpos", [
2  Plot("GenAllV_X", xtitle="Gen AllV pos x (cm)", ytitle="N", **_commonXY),
3  Plot("GenPV_X", xtitle="Gen PV pos x (cm)", ytitle="N", **_commonXY),
4  Plot("GenAllV_Y", xtitle="Gen AllV pos y (cm)", ytitle="N", **_commonXY),
5  Plot("GenPV_Y", xtitle="Gen PV pos y (cm)", ytitle="N", **_commonXY),
6  Plot("GenAllV_Z", xtitle="Gen AllV pos z (cm)", ytitle="N", **_commonZ),
7  Plot("GenPV_Z", xtitle="Gen PV pos z (cm)", ytitle="N", **_commonZ),
8 ])

Definition at line 213 of file vertexPlots.py.

tuple vertexPlots._extPullPU
Initial value:
1 = PlotGroup("pullPU", [
2  Plot("RecoPVAssoc2GenPVMatched_PullX_vs_PU_Sigma", ytitle="Pull of x for PV", **_commonPU),
3  Plot("RecoAllAssoc2GenMatched_PullX_vs_PU_Sigma", ytitle="Pull of x", **_commonPU),
4  Plot("RecoAllAssoc2GenMatchedMerged_PullX_vs_PU_Sigma", ytitle="Pull of x for merged vertices", **_commonPU),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_PullY_vs_PU_Sigma", ytitle="Pull of y for PV", **_commonPU),
7  Plot("RecoAllAssoc2GenMatched_PullY_vs_PU_Sigma", ytitle="Pull of y", **_commonPU),
8  Plot("RecoAllAssoc2GenMatchedMerged_PullY_vs_PU_Sigma", ytitle="Pull of y for merged vertices", **_commonPU),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_PullZ_vs_PU_Sigma", ytitle="Pull of z for PV", **_commonPU),
11  Plot("RecoAllAssoc2GenMatched_PullZ_vs_PU_Sigma", ytitle="Pull of z", **_commonPU),
12  Plot("RecoAllAssoc2GenMatchedMerged_PullZ_vs_PU_Sigma", ytitle="Pull of z for merged vertices", **_commonPU),
13 ], ncols=3)

Definition at line 273 of file vertexPlots.py.

tuple vertexPlots._extPullZ
Initial value:
1 = PlotGroup("pullZ", [
2  Plot("RecoPVAssoc2GenPVMatched_PullX_vs_Z_Sigma", ytitle="Pull of x for PV", **_commonZ),
3  Plot("RecoAllAssoc2GenMatched_PullX_vs_Z_Sigma", ytitle="Pull of x", **_commonZ),
4  Plot("RecoAllAssoc2GenMatchedMerged_PullX_vs_Z_Sigma", ytitle="Pull of x for merged vertices", **_commonZ),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_PullY_vs_Z_Sigma", ytitle="Pull of y for PV", **_commonZ),
7  Plot("RecoAllAssoc2GenMatched_PullY_vs_Z_Sigma", ytitle="Pull of y", **_commonZ),
8  Plot("RecoAllAssoc2GenMatchedMerged_PullY_vs_Z_Sigma", ytitle="Pull of y for merged vertices", **_commonZ),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_PullZ_vs_Z_Sigma", ytitle="Pull of z for PV", **_commonZ),
11  Plot("RecoAllAssoc2GenMatched_PullZ_vs_Z_Sigma", ytitle="Pull of z", **_commonZ),
12  Plot("RecoAllAssoc2GenMatchedMerged_PullZ_vs_Z_Sigma", ytitle="Pull of z for merged vertices", **_commonZ),
13 ], ncols=3)

Definition at line 259 of file vertexPlots.py.

tuple vertexPlots._extResidualNumTracks
Initial value:
1 = PlotGroup("residualNumTracks", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_NumTracks_Mean", ytitle="< #delta x > (#mum) for PV", **_commonNumTracks),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_NumTracks_Mean", ytitle="< #delta x > (#mum)", **_commonNumTracks),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_NumTracks_Mean", ytitle="< #delta x > for merged vertices (#mum)", **_commonNumTracks),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_NumTracks_Mean", ytitle="< #delta y > (#mum) for PV", **_commonNumTracks),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_NumTracks_Mean", ytitle="< #delta y > (#mum)", **_commonNumTracks),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_NumTracks_Mean", ytitle="< #delta y > for merged vertices (#mum)", **_commonNumTracks),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_NumTracks_Mean", ytitle="< #delta z > (#mum) for PV", **_commonNumTracks),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_NumTracks_Mean", ytitle="< #delta z > (#mum)", **_commonNumTracks),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_NumTracks_Mean", ytitle="< #delta z > for merged vertices (#mum)", **_commonNumTracks),
13 ], ncols=3)

Definition at line 287 of file vertexPlots.py.

tuple vertexPlots._extResidualPt
Initial value:
1 = PlotGroup("residualPt", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_Pt_Mean", ytitle="< #delta x > (#mum) for PV", **_commonPt),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_Pt_Mean", ytitle="< #delta x > (#mum)", **_commonPt),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_Pt_Mean", ytitle="< #delta x > for merged vertices (#mum)", **_commonPt),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_Pt_Mean", ytitle="< #delta y > (#mum) for PV", **_commonPt),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_Pt_Mean", ytitle="< #delta y > (#mum)", **_commonPt),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_Pt_Mean", ytitle="< #delta y > for merged vertices (#mum)", **_commonPt),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_Pt_Mean", ytitle="< #delta z > (#mum) for PV", **_commonPt),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_Pt_Mean", ytitle="< #delta z > (#mum)", **_commonPt),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_Pt_Mean", ytitle="< #delta z > for merged vertices (#mum)", **_commonPt),
13 ], ncols=3)

Definition at line 301 of file vertexPlots.py.

tuple vertexPlots._extResidualPU
Initial value:
1 = PlotGroup("residualPU", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_PU_Mean", ytitle="< #delta x > (#mum) for PV", **_commonPU),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_PU_Mean", ytitle="< #delta x > (#mum)", **_commonPU),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_PU_Mean", ytitle="< #delta x > for merged vertices (#mum)", **_commonPU),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_PU_Mean", ytitle="< #delta y > (#mum) for PV", **_commonPU),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_PU_Mean", ytitle="< #delta y > (#mum)", **_commonPU),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_PU_Mean", ytitle="< #delta y > for merged vertices (#mum)", **_commonPU),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_PU_Mean", ytitle="< #delta z > (#mum) for PV", **_commonPU),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_PU_Mean", ytitle="< #delta z > (#mum)", **_commonPU),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_PU_Mean", ytitle="< #delta z > for merged vertices (#mum)", **_commonPU),
13 ], ncols=3)

Definition at line 329 of file vertexPlots.py.

tuple vertexPlots._extResidualZ
Initial value:
1 = PlotGroup("residualZ", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_Z_Mean", ytitle="< #delta x > (#mum) for PV", **_commonZ),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_Z_Mean", ytitle="< #delta x > (#mum)", **_commonZ),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_Z_Mean", ytitle="< #delta x > for merged vertices (#mum)", **_commonZ),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_Z_Mean", ytitle="< #delta y > (#mum) for PV", **_commonZ),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_Z_Mean", ytitle="< #delta y > (#mum)", **_commonZ),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_Z_Mean", ytitle="< #delta y > for merged vertices (#mum)", **_commonZ),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_Z_Mean", ytitle="< #delta z > (#mum) for PV", **_commonZ),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_Z_Mean", ytitle="< #delta z > (#mum)", **_commonZ),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_Z_Mean", ytitle="< #delta z > for merged vertices (#mum)", **_commonZ),
13 ], ncols=3)

Definition at line 315 of file vertexPlots.py.

tuple vertexPlots._extResolutionPU
Initial value:
1 = PlotGroup("resolutionPU", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_PU_Sigma", ytitle="Resolution in x (#mum) for PV", **_commonPU),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_PU_Sigma", ytitle="Resolution in x (#mum)", **_commonPU),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_PU_Sigma", ytitle="Resolution in x for merged vertices (#mum)", **_commonPU),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_PU_Sigma", ytitle="Resolution in y (#mum) for PV", **_commonPU),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_PU_Sigma", ytitle="Resolution in y (#mum)", **_commonPU),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_PU_Sigma", ytitle="Resolution in y for merged vertices (#mum)", **_commonPU),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_PU_Sigma", ytitle="Resolution in z (#mum) for PV", **_commonPU),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_PU_Sigma", ytitle="Resolution in z (#mum)", **_commonPU),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_PU_Sigma", ytitle="Resolution in z for merged vertices (#mum)", **_commonPU),
13 ], ncols=3)

Definition at line 245 of file vertexPlots.py.

tuple vertexPlots._extResolutionZ
Initial value:
1 = PlotGroup("resolutionZ", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_Z_Sigma", ytitle="#sigma(#delta x) (#mum) for PV", **_commonZ),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_Z_Sigma", ytitle="#sigma(#delta x) (#mum)", **_commonZ),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_Z_Sigma", ytitle="#sigma(#delta x) for merged vertices (#mum)", **_commonZ),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_Z_Sigma", ytitle="#sigma(#delta y) (#mum) for PV", **_commonZ),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_Z_Sigma", ytitle="#sigma(#delta y) (#mum)", **_commonZ),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_Z_Sigma", ytitle="#sigma(#delta y) for merged vertices (#mum)", **_commonZ),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_Z_Sigma", ytitle="#sigma(#delta z) (#mum) for PV", **_commonZ),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_Z_Sigma", ytitle="#sigma(#delta z) (#mum)", **_commonZ),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_Z_Sigma", ytitle="#sigma(#delta z) for merged vertices (#mum)", **_commonZ),
13 ], ncols=3)

Definition at line 230 of file vertexPlots.py.

tuple vertexPlots._k0_effandfake
Initial value:
1 = PlotGroup("effandfake", [
2  Plot("K0sEffVsPt", xtitle="p_{T} (GeV)", ytitle="Efficiency vs. p_{T}"),
3  Plot("K0sFakeVsPt", xtitle="p_{T} (GeV)", ytitle="Fake rate vs. p_{T}"),
4  Plot("K0sEffVsEta", xtitle="#eta", ytitle="Efficiency vs. #eta"),
5  Plot("K0sFakeVsEta", xtitle="#eta", ytitle="Fake rate vs. #eta"),
6  Plot("K0sEffVsR", xtitle="R (cm)", ytitle="Efficiency vs. R"),
7  Plot("K0sFakeVsR", xtitle="R (cm)", ytitle="Fake rate vs. R"),
8 ])

Definition at line 155 of file vertexPlots.py.

tuple vertexPlots._k0_effandfakeTk
Initial value:
1 = PlotGroup("effandfakeTk", [
2 # Plot("K0sTkEffVsPt"),
3  Plot("K0sTkFakeVsPt", xtitle="p_{T} (GeV)", ytitle="Fake rate vs. p_{T}"),
4 # Plot("K0sTkEffVsEta"),
5  Plot("K0sTkFakeVsEta", xtitle="#eta", ytitle="Fake rate vs. #eta"),
6 # Plot("K0sTkEffVsR"),
7  Plot("K0sTkFakeVsR", xtitle="R (cm)", ytitle="Fake rate vs. R"),
8 ],
9  legendDy=_legendDy_2rows
10 )

Definition at line 163 of file vertexPlots.py.

tuple vertexPlots._k0_mass
Initial value:
1 = PlotGroup("mass", [
2  Plot("ksMassAll", xtitle="mass of all (GeV)", **_common),
3  Plot("ksMassGood", xtitle="mass of good (GeV)", **_common),
4  Plot("ksMassFake", xtitle="mass of fake (GeV)", **_common),
5 ],
6  legendDy=_legendDy_2rows
7 )

Definition at line 174 of file vertexPlots.py.

tuple vertexPlots._lambda_effandfake
Initial value:
1 = PlotGroup("effandfake", [
2  Plot("LamEffVsPt", xtitle="p_{T} (GeV)", ytitle="Efficiency vs. p_{T}"),
3  Plot("LamFakeVsPt", xtitle="p_{T} (GeV)", ytitle="Fake rate vs. p_{T}"),
4  Plot("LamEffVsEta", xtitle="#eta", ytitle="Efficiency vs. #eta"),
5  Plot("LamFakeVsEta", xtitle="#eta", ytitle="Fake rate vs. #eta"),
6  Plot("LamEffVsR", xtitle="R (cm)", ytitle="Efficiency vs. R"),
7  Plot("LamFakeVsR", xtitle="R (cm)", ytitle="Fake rate vs. R"),
8 ])

Definition at line 181 of file vertexPlots.py.

tuple vertexPlots._lambda_effandfakeTk
Initial value:
1 = PlotGroup("effandfakeTk", [
2 # Plot("LamTkEffVsPt"),
3  Plot("LamTkFakeVsPt", xtitle="p_{T} (GeV)", ytitle="Fake rate vs. p_{T}"),
4 # Plot("LamTkEffVsEta"),
5  Plot("LamTkFakeVsEta", xtitle="#eta", ytitle="Fake rate vs. #eta"),
6 # Plot("LamTkEffVsR"),
7  Plot("LamTkFakeVsR", xtitle="R (cm)", ytitle="Fake rate vs. R"),
8 ],
9  legendDy=_legendDy_2rows
10 )

Definition at line 189 of file vertexPlots.py.

tuple vertexPlots._lambda_mass
Initial value:
1 = PlotGroup("mass", [
2  Plot("lamMassAll", xtitle="mass of all (GeV)", **_common),
3  Plot("lamMassGood", xtitle="mass of good (GeV)", **_common),
4  Plot("lamMassFake", xtitle="mass of fake (GeV)", **_common),
5 ],
6  legendDy=_legendDy_2rows
7 )

Definition at line 199 of file vertexPlots.py.

float vertexPlots._maxEff = 1.025

Definition at line 13 of file vertexPlots.py.

list vertexPlots._maxFake = [0.05, 0.1, 0.2, 0.5, 0.7, 1.025]

Definition at line 14 of file vertexPlots.py.

list vertexPlots._maxPU = [60, 80, 100, 150, 200, 250]

Definition at line 10 of file vertexPlots.py.

list vertexPlots._maxPull = [1.1, 1.2, 1.5, 2]

Definition at line 19 of file vertexPlots.py.

tuple vertexPlots._maxVertexZ = list(range(20,70,10))

Definition at line 21 of file vertexPlots.py.

list vertexPlots._maxVtx = [60, 100, 150, 200, 250]

Definition at line 12 of file vertexPlots.py.

list vertexPlots._minMaxPt = [5e-1, 1, 5, 1e1, 5e1, 1e2, 5e2, 1e3, 5e3, 1e4]

Definition at line 17 of file vertexPlots.py.

list vertexPlots._minMaxRes = [0.1, 0.5, 1, 5, 10, 50, 100, 200, 500, 1000, 2000, 5000]

Definition at line 15 of file vertexPlots.py.

list vertexPlots._minPU = [0, 10, 20, 40, 80, 120]

Definition at line 9 of file vertexPlots.py.

list vertexPlots._minPull = [0, 0.5, 0.8, 0.9]

Definition at line 18 of file vertexPlots.py.

tuple vertexPlots._minVertexZ = list(range(-60,-10,10))

Definition at line 20 of file vertexPlots.py.

list vertexPlots._minVtx = [0, 80, 120]

Definition at line 11 of file vertexPlots.py.

tuple vertexPlots._pull
Initial value:
1 = PlotGroup("pull", [
2  Plot("RecoPVAssoc2GenPVMatched_PullX", xtitle="x", ytitle="Pull of x for PV", **_common),
3  Plot("RecoAllAssoc2GenMatched_PullX", xtitle="x", ytitle="Pull of x", **_common),
4  Plot("RecoAllAssoc2GenMatchedMerged_PullX", xtitle="x", ytitle="Pull of x for merged vertices", **_common),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_PullY", xtitle="y", ytitle="Pull of y for PV", **_common),
7  Plot("RecoAllAssoc2GenMatched_PullY", xtitle="y", ytitle="Pull of y", **_common),
8  Plot("RecoAllAssoc2GenMatchedMerged_PullY", xtitle="y", ytitle="Pull of y for merged vertices", **_common),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_PullZ", xtitle="z", ytitle="Pull of z for PV", **_common),
11  Plot("RecoAllAssoc2GenMatched_PullZ", xtitle="z", ytitle="Pull of z", **_common),
12  Plot("RecoAllAssoc2GenMatchedMerged_PullZ", xtitle="z", ytitle="Pull of z for merged vertices", **_common),
13 ], ncols=3)

Definition at line 94 of file vertexPlots.py.

tuple vertexPlots._pullNumTracks
Initial value:
1 = PlotGroup("pullNumTracks", [
2  Plot("RecoPVAssoc2GenPVMatched_PullX_vs_NumTracks_Sigma", ytitle="Pull of x for PV", **_commonNumTracks),
3  Plot("RecoAllAssoc2GenMatched_PullX_vs_NumTracks_Sigma", ytitle="Pull of x", **_commonNumTracks),
4  Plot("RecoAllAssoc2GenMatchedMerged_PullX_vs_NumTracks_Sigma", ytitle="Pull of x for merged vertices", **_commonNumTracks),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_PullY_vs_NumTracks_Sigma", ytitle="Pull of y for PV", **_commonNumTracks),
7  Plot("RecoAllAssoc2GenMatched_PullY_vs_NumTracks_Sigma", ytitle="Pull of y", **_commonNumTracks),
8  Plot("RecoAllAssoc2GenMatchedMerged_PullY_vs_NumTracks_Sigma", ytitle="Pull of y for merged vertices", **_commonNumTracks),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_PullZ_vs_NumTracks_Sigma", ytitle="Pull of z for PV", **_commonNumTracks),
11  Plot("RecoAllAssoc2GenMatched_PullZ_vs_NumTracks_Sigma", ytitle="Pull of z", **_commonNumTracks),
12  Plot("RecoAllAssoc2GenMatchedMerged_PullZ_vs_NumTracks_Sigma", ytitle="Pull of z for merged vertices", **_commonNumTracks),
13 ], ncols=3)

Definition at line 108 of file vertexPlots.py.

tuple vertexPlots._pullPt
Initial value:
1 = PlotGroup("pullPt", [
2  Plot("RecoPVAssoc2GenPVMatched_PullX_vs_Pt_Sigma", ytitle="Pull of x for PV", **_commonPt),
3  Plot("RecoAllAssoc2GenMatched_PullX_vs_Pt_Sigma", ytitle="Pull of x", **_commonPt),
4  Plot("RecoAllAssoc2GenMatchedMerged_PullX_vs_Pt_Sigma", ytitle="Pull of x for merged vertices", **_commonPt),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_PullY_vs_Pt_Sigma", ytitle="Pull of y for PV", **_commonPt),
7  Plot("RecoAllAssoc2GenMatched_PullY_vs_Pt_Sigma", ytitle="Pull of y", **_commonPt),
8  Plot("RecoAllAssoc2GenMatchedMerged_PullY_vs_Pt_Sigma", ytitle="Pull of y for merged vertices", **_commonPt),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_PullZ_vs_Pt_Sigma", ytitle="Pull of z for PV", **_commonPt),
11  Plot("RecoAllAssoc2GenMatched_PullZ_vs_Pt_Sigma", ytitle="Pull of z", **_commonPt),
12  Plot("RecoAllAssoc2GenMatchedMerged_PullZ_vs_Pt_Sigma", ytitle="Pull of z for merged vertices", **_commonPt),
13 ], ncols=3)

Definition at line 122 of file vertexPlots.py.

tuple vertexPlots._puritymissing
Initial value:
1 = PlotGroup("puritymissing", [
2  Plot("RecoPVAssoc2GenPVMatched_Purity", xtitle="Purity", ytitle="Number of reco PVs matched to gen PVs", ylog=True, ymin=1e-4, **_common),
3  Plot("RecoPVAssoc2GenPVNotMatched_Purity", xtitle="Purity", ytitle="Number of reco PVs not matcched to gen PVs", ylog=True, ymin=1e-3, **_common),
4  Plot("RecoPVAssoc2GenPVMatched_Missing", xtitle="Fraction of reco p_{T} associated to gen PV \"missing\" from reco PV", ytitle="Number of reco PVs matched to gen PVs", ylog=True, ymin=1e-4, **_common),
5  Plot("RecoPVAssoc2GenPVNotMatched_Missing", xtitle="Fraction of reco p_{T} associated to gen PV \"missing\" from reco PV", ytitle="Number of reco PVs not matcched to gen PVs", ylog=True, ymin=1e-3, **_common),
6 # Plot("fakerate_vs_Purity", xtitle="Purity", ytitle="Fake rate", ymax=_maxFake),
7 ])

Definition at line 137 of file vertexPlots.py.

tuple vertexPlots._pvtagging
Initial value:
1 = PlotGroup("pvtagging", [
2  Plot("TruePVLocationIndexCumulative", xtitle="Signal PV status in reco collection", ytitle="Fraction of events", drawStyle="hist", normalizeToUnitArea=True, xbinlabels=["Not reconstructed", "Reco and identified", "Reco, not identified"], xbinlabelsize=15, xbinlabeloption="h", xgrid=False, ylog=True, ymin=1e-3, ratioCoverageXrange=[-0.5, 0.5]),
3  Plot("TruePVLocationIndex", xtitle="Index of signal PV in reco collection", ytitle="Fraction of events", drawStyle="hist", normalizeToUnitArea=True, ylog=True, ymin=1e-5),
4  Plot("MisTagRate_vs_PU", xtitle="PU", ytitle="Mistag rate vs. PU", title="", xmax=_maxPU, ymax=_maxFake),
5  Plot("MisTagRate_vs_sum-pt2", xtitle="#Sigmap_{T}^{2}", ytitle="Mistag rate vs. #Sigmap_{T}^{2}", title="", xlog=True, ymax=_maxFake),
6 ],
7  legendDy=_legendDy_2rows
8 )

Definition at line 34 of file vertexPlots.py.

tuple vertexPlots._recovsgen
Initial value:
1 = PlotGroup("recovsgen", [
2  Plot("RecoVtx_vs_GenVtx", ytitle="Reco vertices", **_common),
3  Plot("MatchedRecoVtx_vs_GenVtx", ytitle="Matched reco vertices", **_common),
4  Plot("merged_vs_ClosestVertexInZ", xtitle="Closest distance in Z (cm)", ytitle="Merge rate", xlog=True, xmin=1e-3, ymax=_maxFake),
5  Plot("merged_vs_Z", xtitle="Z (cm)", ytitle="Merge rate", xmin=-20, xmax=20, ymax=_maxFake),
6 ],
7  legendDy=_legendDy_2rows, onlyForPileup=True,
8 )

Definition at line 26 of file vertexPlots.py.

tuple vertexPlots._resolution
Initial value:
1 = PlotGroup("resolution", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX", xtitle="Resolution in x (#mum) for PV", **_common),
3  Plot("RecoAllAssoc2GenMatched_ResolX", xtitle="Resolution in x (#mum)", **_common),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX", xtitle="Resolution in x for merged vertices (#mum)", **_common),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY", xtitle="Resolution in y (#mum)", **_common),
7  Plot("RecoAllAssoc2GenMatched_ResolY", xtitle="Resolution in y (#mum)", **_common),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY", xtitle="Resolution in y for merged vertices (#mum)", **_common),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ", xtitle="Resolution in z (#mum)", **_common),
11  Plot("RecoAllAssoc2GenMatched_ResolZ", xtitle="Resolution in z (#mum)", **_common),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ", xtitle="Resolution in z for merged vertices (#mum)", **_common),
13 ], ncols=3)

Definition at line 51 of file vertexPlots.py.

tuple vertexPlots._resolutionNumTracks
Initial value:
1 = PlotGroup("resolutionNumTracks", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_NumTracks_Sigma", ytitle="#sigma(#delta x) (#mum) for PV", **_commonNumTracks),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_NumTracks_Sigma", ytitle="#sigma(#delta x) (#mum)", **_commonNumTracks),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_NumTracks_Sigma", ytitle="#sigma(#delta x) x for merged vertices (#mum)", **_commonNumTracks),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_NumTracks_Sigma", ytitle="#sigma(#delta y) (#mum) for PV", **_commonNumTracks),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_NumTracks_Sigma", ytitle="#sigma(#delta y) (#mum)", **_commonNumTracks),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_NumTracks_Sigma", ytitle="#sigma(#delta y) for merged vertices (#mum)", **_commonNumTracks),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_NumTracks_Sigma", ytitle="#sigma(#delta z) (#mum) for PV", **_commonNumTracks),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_NumTracks_Sigma", ytitle="#sigma(#delta z) (#mum)", **_commonNumTracks),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_NumTracks_Sigma", ytitle="#sigma(#delta z) for merged vertices (#mum)", **_commonNumTracks),
13 ], ncols=3)

Definition at line 65 of file vertexPlots.py.

tuple vertexPlots._resolutionPt
Initial value:
1 = PlotGroup("resolutionPt", [
2  Plot("RecoPVAssoc2GenPVMatched_ResolX_vs_Pt_Sigma", ytitle="#sigma(#delta x) (#mum) for PV", **_commonPt),
3  Plot("RecoAllAssoc2GenMatched_ResolX_vs_Pt_Sigma", ytitle="#sigma(#delta x) (#mum)", **_commonPt),
4  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_Pt_Sigma", ytitle="#sigma(#delta x) for merged vertices (#mum)", **_commonPt),
5  #
6  Plot("RecoPVAssoc2GenPVMatched_ResolY_vs_Pt_Sigma", ytitle="#sigma(#delta y) (#mum) for PV", **_commonPt),
7  Plot("RecoAllAssoc2GenMatched_ResolY_vs_Pt_Sigma", ytitle="#sigma(#delta y) (#mum)", **_commonPt),
8  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_Pt_Sigma", ytitle="#sigma(#delta y) for merged vertices (#mum)", **_commonPt),
9  #
10  Plot("RecoPVAssoc2GenPVMatched_ResolZ_vs_Pt_Sigma", ytitle="#sigma(#delta z) (#mum) for PV", **_commonPt),
11  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_Pt_Sigma", ytitle="#sigma(#delta z) (#mum)", **_commonPt),
12  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_Pt_Sigma", ytitle="#sigma(#delta z) for merged vertices (#mum)", **_commonPt),
13 ], ncols=3)

Definition at line 80 of file vertexPlots.py.

tuple vertexPlots._sumpt2
Initial value:
1 = PlotGroup("sumpt2", [
2  Plot("RecoAssoc2GenPVMatched_Pt2", xtitle="#sum^{}p_{T}^{2}", ytitle="Reco vertices matched to gen PV", **_common),
3  Plot("RecoAssoc2GenPVMatchedNotHighest_Pt2", xtitle="#sum^{}p_{T}^{2}", ytitle="Reco non-PV-vertices matched to gen PV", **_common),
4  Plot("RecoAssoc2GenPVNotMatched_Pt2", xtitle="#sum^{}p_{T}^{2}", ytitle="Reco vertices not matched to gen PV", **_common),
5  Plot("RecoAssoc2GenPVNotMatched_GenPVTracksRemoved_Pt2", xtitle="#sum^{}p_{T}^{2}, gen PV tracks removed", ytitle="Reco vertices not matched to gen PV", **_common),
6 ],
7  legendDy=_legendDy_2rows, onlyForPileup=True,
8 )

Definition at line 146 of file vertexPlots.py.

list vertexPlots._v0Folders
Initial value:
1 = [
2  "DQMData/Run 1/Vertexing/Run summary/V0",
3  "DQMData/Vertexing/V0",
4  "DQMData/Run 1/Vertexing/Run summary/V0V",
5  "DQMData/Vertexing/V0V",
6 ]

Definition at line 434 of file vertexPlots.py.

list vertexPlots._vertexDqmFolders
Initial value:
1 = [
2  "DQMData/Run 1/OfflinePV/Run summary/offlinePrimaryVertices",
3  "DQMData/OffinePV/offlinePrimaryVertices",
4 ]

Definition at line 430 of file vertexPlots.py.

list vertexPlots._vertexFolders
Initial value:
1 = [
2  "DQMData/Run 1/Vertexing/Run summary/PrimaryVertex",
3  "DQMData/Vertexing/PrimaryVertex",
4  "DQMData/Run 1/Vertexing/Run summary/PrimaryVertexV",
5  "DQMData/Vertexing/PrimaryVertexV",
6 ]

Definition at line 424 of file vertexPlots.py.

string vertexPlots._vertexNumberOfEventsHistogram = "DQMData/Run 1/Vertexing/Run summary/PrimaryVertexV/GenPV_Z"

Definition at line 23 of file vertexPlots.py.

vertexPlots.loopSubFolders = False,

Definition at line 462 of file vertexPlots.py.

vertexPlots.numberOfEventsHistogram = _vertexNumberOfEventsHistogram

Definition at line 487 of file vertexPlots.py.

vertexPlots.onlyForPileup = True,

Definition at line 486 of file vertexPlots.py.

string vertexPlots.page = "vertex"

Definition at line 455 of file vertexPlots.py.

tuple vertexPlots.plotter = Plotter()

Definition at line 440 of file vertexPlots.py.

tuple vertexPlots.plotterExt = Plotter()

Definition at line 441 of file vertexPlots.py.

vertexPlots.purpose = PlotPurpose.Vertexing,

Definition at line 454 of file vertexPlots.py.

string vertexPlots.section = "offlinePrimaryVertices"