test
CMS 3D CMS Logo

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

Classes

class  VertexValidation
 

Variables

dictionary _common = {"xlabel": "Pileup interactions", "xmax": _maxPU, "ymax": _maxVtx}
 
tuple _effandfake
 
tuple _genpos
 
float _maxEff = 1.025
 
list _maxFake = [0.05, 0.1, 0.2, 0.5, 0.7, 1.025]
 
int _maxPU = 80
 
int _maxVtx = 60
 
tuple _pull
 
tuple _puritymissing
 
tuple _pvtagging
 
tuple _recovsgen
 
tuple _resolution
 
tuple _sumpt2
 
list _vertexFolders
 
string page = "vertex"
 
tuple plotter = Plotter()
 
tuple plotterGen = Plotter()
 
 purpose = PlotPurpose.Vertexing,
 

Variable Documentation

dictionary vertexPlots._common = {"xlabel": "Pileup interactions", "xmax": _maxPU, "ymax": _maxVtx}

Definition at line 11 of file vertexPlots.py.

tuple vertexPlots._effandfake
Initial value:
1 = PlotGroup("effandfake", [
2  Plot("effic_vs_NumVertices", xtitle="Reco vertices", ytitle="Efficiency vs. N vertices", xmax=_maxVtx, ymax=_maxEff),
3  Plot("fakerate_vs_PU", xtitle="Pileup interactions", ytitle="Fake rate vs. PU", 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 27 of file vertexPlots.py.

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

Definition at line 72 of file vertexPlots.py.

float vertexPlots._maxEff = 1.025

Definition at line 8 of file vertexPlots.py.

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

Definition at line 9 of file vertexPlots.py.

int vertexPlots._maxPU = 80

Definition at line 6 of file vertexPlots.py.

int vertexPlots._maxVtx = 60

Definition at line 7 of file vertexPlots.py.

tuple vertexPlots._pull
Initial value:
1 = PlotGroup("pull", [
2  Plot("RecoAllAssoc2GenMatched_PullX", xtitle="x", ytitle="Pull vs. x", **_common),
3  Plot("RecoAllAssoc2GenMatched_PullY", xtitle="y", ytitle="Pull vs. y", **_common),
4  Plot("RecoAllAssoc2GenMatched_PullZ", xtitle="z", ytitle="Pull vs. z", **_common),
5 ],
6  legendDy=-0.025
7 )

Definition at line 45 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 53 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),
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=-0.025
8 )

Definition at line 19 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),
5 ],
6  legendDy=-0.025
7 )

Definition at line 12 of file vertexPlots.py.

tuple vertexPlots._resolution
Initial value:
1 = PlotGroup("resolution", [
2  Plot("RecoAllAssoc2GenMatched_ResolX_vs_NumTracks_Sigma", ytitle="Resolution in x (#mum)", **_common),
3  Plot("RecoAllAssoc2GenMatchedMerged_ResolX_vs_NumTracks_Sigma", ytitle="Resolution in x for merged vertices (#mum)", **_common),
4  Plot("RecoAllAssoc2GenMatched_ResolY_vs_NumTracks_Sigma", ytitle="Resolution in y (#mum)", **_common),
5  Plot("RecoAllAssoc2GenMatchedMerged_ResolY_vs_NumTracks_Sigma", ytitle="Resolution in y for merged vertices (#mum)", **_common),
6  Plot("RecoAllAssoc2GenMatched_ResolZ_vs_NumTracks_Sigma", ytitle="Resolution in z (#mum)", **_common),
7  Plot("RecoAllAssoc2GenMatchedMerged_ResolZ_vs_NumTracks_Sigma", ytitle="Resolution in z for merged vertices (#mum)", **_common),
8 ])

Definition at line 36 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=-0.025
8 )

Definition at line 62 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 81 of file vertexPlots.py.

string vertexPlots.page = "vertex"

Definition at line 97 of file vertexPlots.py.

tuple vertexPlots.plotter = Plotter()

Definition at line 87 of file vertexPlots.py.

tuple vertexPlots.plotterGen = Plotter()

Definition at line 99 of file vertexPlots.py.

vertexPlots.purpose = PlotPurpose.Vertexing,