19 m_nMDT =
Book1D(
"m_MSVx_nMDT",
"m MSVx nMDT: M MSVx MDT Hits;;N_{MDT}", 100, 0.0, 3000.);
20 m_nRPC =
Book1D(
"m_MSVx_nRPC",
"m MSVx nRPC: M MSVx RPC Hits;;N_{RPC}", 100, 0.0, 1000.);
21 m_nTGC =
Book1D(
"m_MSVx_nTGC",
"m MSVx nTGC: M MSVx TGC Hits;;N_{TGC}", 100, 0.0, 1000.);
23 m_nTracklets =
Book1D(
"m_MSVx_nTracklets",
"MSVx nTracklets: M MSVx Number of Tracklets; N_{trackletS}", 20, 0.0, 20.);
24 m_VertexEtaPhi =
Book2D(
"m_VertexEtaPhi",
"Vertex Eta Phi: M MSVx #eta vs. #phi; #eta; #phi", 25, -2.5, 25, 32, -3.2, 3.2);
29 TVector3 tmp_vx; tmp_vx.SetXYZ(msVx.
x(),msVx.
y(),msVx.
z());
33 m_nMDT->Fill(nMDTAcc(msVx));
34 m_nRPC->Fill(nRPCAcc(msVx));
35 m_nTGC->Fill(nTGCAcc(msVx));
Helper class to provide constant type-safe access to aux data.
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, const std::string &sDir)
TH2F * Book2D(const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
void fill(const xAOD::Vertex &msVx)
RecoVertexPlots(PlotBase *pParent, const std::string &sDir)
float z() const
Returns the z position.
float y() const
Returns the y position.
float numberDoF() const
Returns the number of degrees of freedom of the vertex fit as float.
float x() const
Returns the x position.
Vertex_v1 Vertex
Define the latest version of the vertex class.