26 bool isITk,
bool doTrackVertexPlots) :
70 const AmgSymMatrix(3)& covariance = vertex.covariancePosition();
79 if (vertex.hasValidTime()) {
86 if (vertex.hasValidTime()) {
95 float ndf = vertex.numberDoF();
103 int nTracks = vertex.nTrackParticles();
105 for (
const float& trackWeight : vertex.trackWeights()) {
112 for (
const auto& elTrk : vertex.trackParticleLinks()) {
116 if (!elTrk.isValid()){
119 std::cerr <<
"Invalid track link on vertex. Vertex track plots will be unreliable. Please check your input format. "<<std::endl;
130 bool successfulRetrieval(
false);
131 uint8_t iPixHits, iSctHits, iPixHoles, iSctHoles;
134 if (successfulRetrieval) {
139 if (successfulRetrieval) {
#define AmgSymMatrix(dim)
TH1 * m_vx_track_z0
Tracks z0 (iDetailLevel >= 100).
TH1 * m_vx_track_err_z0
Tracks z0 error (iDetailLevel >= 100).
TH1 * m_vx_track_eta
Tracks eta (iDetailLevel >= 100).
TH1 * m_vx_track_d0
Tracks d0 (iDetailLevel >= 100).
InDetPerfPlot_Vertex(InDetPlotBase *pParent, const std::string &dirName, bool isITk, bool doTrackVertexPlots)
TH1 * m_vx_track_pt
Tracks pT (iDetailLevel >= 100).
TH1 * m_vx_track_nSiHits
Tracks silicon hits (iDetailLevel >= 100).
TH1 * m_vx_track_nSiHoles
Tracks silicon holes (iDetailLevel >= 100).
TH1 * m_vx_track_weights
Distribution of tracks' weights.
TH1 * m_vx_track_err_d0
Tracks d0 error (iDetailLevel >= 100).
void fill(const xAOD::Vertex &vertex, float weight)
bool m_doTrackVertexPlots
TH1 * m_vx_err_time
Error time.
static void fillHisto(TProfile *pTprofile, const float bin, const float weight, const float weight2=1.0)
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.
void book(Htype *&pHisto, std::string_view histoIdentifier, std::string_view nameOverride="", std::string_view folder="default")
Helper method to book histograms using an identifier string.
Helper class to provide type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
float z0() const
Returns the parameter.
const ParametersCovMatrix_t definingParametersCovMatrix() const
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
float d0() const
Returns the parameter.
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
double error(const Amg::MatrixX &mat, int index)
return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in ...
Class to retrieve associated truth from a track, implementing a cached response.
AmgSymMatrix(5) ParametersCovMatrix_t
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfSCTHoles
number of SCT holes [unit8_t].