|
ATLAS Offline Software
|
Go to the documentation of this file.
21 using namespace IDPVM;
71 if (
vertex.hasValidTime()) {
84 if (
vertex.hasValidTime()) {
100 int nTracks =
vertex.nTrackParticles();
102 for (
const float& trackWeight :
vertex.trackWeights()) {
109 for (
const auto& elTrk :
vertex.trackParticleLinks()) {
113 if (!elTrk.isValid()){
116 std::cerr <<
"Invalid track link on vertex. Vertex track plots will be unreliable. Please check your input format. "<<std::endl;
127 bool successfulRetrieval(
false);
128 uint8_t iPixHits, iSctHits, iPixHoles, iSctHoles;
131 if (successfulRetrieval) {
136 if (successfulRetrieval) {
Class to retrieve associated truth from a track, implementing a cached response.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
TH1 * m_vx_track_nSiHoles
Tracks silicon holes (iDetailLevel >= 100)
void book(Htype *&pHisto, const std::string &histoIdentifier, const std::string &nameOverride="", const std::string &folder="default")
Helper method to book histograms using an identifier string.
Helper class to provide type-safe access to aux data.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
TH1 * m_vx_track_d0
Tracks d0 (iDetailLevel >= 100)
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
TH1 * m_vx_track_z0
Tracks z0 (iDetailLevel >= 100)
float z0() const
Returns the parameter.
TH1 * m_vx_track_err_z0
Tracks z0 error (iDetailLevel >= 100)
void fill(const xAOD::Vertex &vertex, float weight)
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
TH1 * m_vx_track_pt
Tracks pT (iDetailLevel >= 100)
#define AmgSymMatrix(dim)
float d0() const
Returns the parameter.
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
InDetPerfPlot_Vertex(InDetPlotBase *pParent, const std::string &dirName)
TH1 * m_vx_err_time
Error time.
@ numberOfSCTHoles
number of SCT holes [unit8_t].
TH1 * m_vx_track_err_d0
Tracks d0 error (iDetailLevel >= 100)
TH1 * m_vx_track_nSiHits
Tracks silicon hits (iDetailLevel >= 100)
TH1 * m_vx_track_weights
Distribution of tracks' weights.
const ParametersCovMatrix_t definingParametersCovMatrix() const
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
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 describing a Vertex.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Class describing a TrackParticle.
static void fillHisto(TProfile *pTprofile, const float bin, const float weight, const float weight2=1.0)
TH1 * m_vx_track_eta
Tracks eta (iDetailLevel >= 100)