|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef PROMPT_VERTEXITERATIVEFITMERGINGTOOL_H
8 #define PROMPT_VERTEXITERATIVEFITMERGINGTOOL_H
31 #include "GaudiKernel/ITHistSvc.h"
32 #include "GaudiKernel/ToolHandle.h"
33 #include "GaudiKernel/ServiceHandle.h"
94 const std::string &
type,
110 std::vector<std::unique_ptr<xAOD::Vertex>> &initVtxs,
111 const std::vector<const xAOD::TrackParticle *> &selectedTracks
118 std::vector<std::unique_ptr<xAOD::Vertex>> &initVtxs,
130 std::unique_ptr<xAOD::Vertex> &newMergedVtx,
133 std::vector<TwoTrackVtx> &vtxs2Track,
150 std::vector<TwoTrackVtx> &others
159 std::unique_ptr<xAOD::Vertex> & seedVtx,
161 std::vector<TwoTrackVtx> &others
181 std::vector<TwoTrackVtx> &vtxs
187 const std::vector<xAOD::Vertex*> &passVtxs,
188 const std::vector<const xAOD::TrackParticle *> &selectedTracks
199 std::vector<const xAOD::TrackParticle *> &selectedTracks,
209 this,
"VertexFittingTool",
210 "Prompt::VertexFittingTool/VertexFittingTool"
213 this,
"THistSvc",
"THistSvc/THistSvc"
216 Gaudi::Property<double>
m_minFitProb {
this,
"minFitProb", 0.01,
217 "minimum fit probability requirement for a vertex"
220 this,
"minCandOverSeedFitProbRatio", 0.2,
221 "minimum requirement of the fit probability of new merged vertex / fit probability of seed vertex"
224 this,
"maxExtraTracks", 10,
225 "maximum number of tracks without good lepton+track vertex that we will used for further fitting of vertexes without lepton"
229 this,
"outputStream",
""
JetConstituentVector::iterator iterator
virtual double pt() const override final
The transverse momentum ( ) of the particle.
bool operator()(const xAOD::TrackParticle *lhs, const xAOD::TrackParticle *rhs)
SortTwoTrackVtxByDistToSeed(const xAOD::Vertex *seed_)
bool operator()(const TwoTrackVtx &lhs, const TwoTrackVtx &rhs)
double getDistance(const xAOD::Vertex *vtx1, const xAOD::Vertex *vtx2)
::StatusCode StatusCode
StatusCode definition for legacy code.
const xAOD::TrackParticle * trackId0
bool operator()(const TwoTrackVtx &lhs, const TwoTrackVtx &rhs)
const xAOD::TrackParticle * trackId1
Class describing a Vertex.
const xAOD::Vertex * seed
Class describing a TrackParticle.