![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "GaudiKernel/MsgStream.h"
14 #include "GaudiKernel/StatusCode.h"
53 return StatusCode::SUCCESS;
83 return StatusCode::SUCCESS;
91 if ( !vertexContainer.
isValid() )
94 return StatusCode::FAILURE;
103 return StatusCode::FAILURE;
106 int n_vtx = vertexContainer->
size()-1;
112 ntrk = vtx->nTrackParticles();
119 spt += (*trk)->pt()/1e6;
122 spt = TMath::Sqrt(spt);
124 double chi2 = vtx->chiSquared();
126 double dof = vtx->numberDoF();
128 double chi2ovdof =
chi2/dof;
130 double chi2prob = TMath::Prob(
chi2,dof);
161 return StatusCode::SUCCESS;
virtual void Fill(const double &x, const double &y) override
TH2F_LW * m_h_deltaZpairs
virtual void Fill(const double &x) override
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
static TH1F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
InDetVertexMonitoring(const std::string &type, const std::string &name, const IInterface *parent)
@ NoVtx
Dummy vertex. TrackParticle was not used in vertex fit.
virtual StatusCode initialize()
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_histFolder
double chi2(TH1 *h0, TH1 *h1)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
TH1F_LW * m_h_pvChiSqovDof
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer
static TH2F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Gaudi::Property< bool > m_doControlPlots
TH1F_LW * m_h_pvChiSqProb
Class describing a Vertex.
#define ATH_MSG_WARNING(x)
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
size_type size() const noexcept
Returns the number of elements in the collection.