#include <algorithm>
#include <iterator>
#include <vector>
#include <map>
#include <set>
#include <Math/SVector.h>
#include <Math/SMatrix.h>
#include <Math/MatrixFunctions.h>
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "TrackingTools/TrajectoryParametrization/interface/GlobalTrajectoryParameters.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
#include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
#include "TrackingTools/GeomPropagators/interface/AnalyticalImpactPointExtrapolator.h"
#include "TrackingTools/TransientTrack/interface/TransientTrack.h"
#include "TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h"
#include "RecoVertex/VertexPrimitives/interface/TransientVertex.h"
#include "RecoVertex/VertexPrimitives/interface/VertexFitter.h"
#include "RecoVertex/VertexPrimitives/interface/VertexState.h"
#include "RecoVertex/VertexPrimitives/interface/CachingVertex.h"
#include "RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h"
#include "RecoVertex/VertexPrimitives/interface/ConvertError.h"
#include "RecoVertex/VertexPrimitives/interface/ConvertToFromReco.h"
#include "RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h"
#include "RecoVertex/VertexTools/interface/VertexTrackFactory.h"
#include "RecoVertex/VertexTools/interface/VertexDistance3D.h"
#include "RecoVertex/VertexTools/interface/GeometricAnnealing.h"
#include "RecoVertex/KalmanVertexFit/interface/KalmanVertexFitter.h"
#include "RecoVertex/AdaptiveVertexFit/interface/AdaptiveVertexFitter.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrack.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackState.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackFitter.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackPrediction.h"
#include "RecoVertex/GhostTrackFitter/interface/SequentialGhostTrackFitter.h"
#include "RecoVertex/GhostTrackFitter/interface/KalmanGhostTrackUpdater.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackVertexFinder.h"
Go to the source code of this file.
Classes | |
struct | reco::GhostTrackVertexFinder::FinderInfo |
Functions | |
static bool | covarianceUpdate (Matrix3S &cov, const Vector3 &residual, const Matrix3S &error, double &chi2, double theta, double phi) |
static GhostTrackPrediction | dummyPrediction (const Vertex &primaryVertex, const Track &ghostTrack) |
static double | fitChi2 (const CachingVertex< 5 > &vtx) |
static void | mergeTrackHelper (const std::vector< RefCountedVertexTrack > &tracks, std::vector< RefCountedVertexTrack > &newTracks, const VertexState &state, const VtxTrackIs &ghostTrackFinder, RefCountedVertexTrack &ghostTrack, const VertexTrackFactory< 5 > &factory) |
static RefCountedVertexTrack | relinearizeTrack (const RefCountedVertexTrack &track, const VertexState &state, const VertexTrackFactory< 5 > factory) |
static std::vector < RefCountedVertexTrack > | relinearizeTracks (const std::vector< RefCountedVertexTrack > &tracks, const VertexState &state) |
static VertexState | stateMean (const VertexState &v1, const VertexState &v2) |
static double | trackVertexCompat (const CachingVertex< 5 > &vtx, const RefCountedVertexTrack &vertexTrack) |
static TransientTrack | transientGhostTrack (const GhostTrackPrediction &pred, const MagneticField *field) |
static CachingVertex< 5 > | vertexAtState (const TransientTrack &ghostTrack, const GhostTrackPrediction &pred, const GhostTrackState &state) |
static double | vtxErrorLong (const GlobalError &error, const GlobalVector &dir) |
static GlobalPoint | vtxMean (const GlobalPoint &p1, const GlobalError &e1, const GlobalPoint &p2, const GlobalError &e2) |
|
static |
Definition at line 139 of file GhostTrackVertexFinder.cc.
References funct::cos(), and funct::sin().
Referenced by vertexAtState().
|
static |
Definition at line 627 of file GhostTrackVertexFinder.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), reco::Vertex::error(), reco::Vertex::position(), reco::TrackBase::px(), reco::TrackBase::py(), and reco::TrackBase::pz().
Referenced by reco::GhostTrackVertexFinder::vertices().
|
static |
Definition at line 746 of file GhostTrackVertexFinder.cc.
References CachingVertex< N >::degreesOfFreedom(), and CachingVertex< N >::totalChiSquared().
Referenced by PFGsfHelper::PFGsfHelper(), TtEvtBuilder< C >::produce(), and reco::GhostTrackVertexFinder::recursiveMerge().
|
static |
Definition at line 777 of file GhostTrackVertexFinder.cc.
References relval_steps::gt, and relinearizeTrack().
Referenced by reco::GhostTrackVertexFinder::mergeVertices().
|
static |
Definition at line 211 of file GhostTrackVertexFinder.cc.
References VertexState::position(), and VertexTrackFactory< N >::vertexTrack().
Referenced by mergeTrackHelper(), reco::GhostTrackVertexFinder::reassignTracks(), and relinearizeTracks().
|
static |
Definition at line 221 of file GhostTrackVertexFinder.cc.
References relinearizeTrack().
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 132 of file GhostTrackVertexFinder.cc.
References VertexState::error(), VertexState::position(), and vtxMean().
Referenced by reco::GhostTrackVertexFinder::mergeVertices().
|
static |
Definition at line 250 of file GhostTrackVertexFinder.cc.
References conv, dir, relativeConstraints::error, CachingVertex< N >::error(), GlobalErrorBase< T, ErrorWeightType >::matrix_new(), point, CachingVertex< N >::position(), and reco::TransientTrack::track().
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 110 of file GhostTrackVertexFinder.cc.
References TransientTrackFromFTSFactory::build(), and reco::GhostTrackPrediction::fts().
Referenced by reco::GhostTrackVertexFinder::refitGhostTrack(), and reco::GhostTrackVertexFinder::vertices().
|
static |
Definition at line 163 of file GhostTrackVertexFinder.cc.
References reco::GhostTrackState::cartesianError(), conv, covarianceUpdate(), relativeConstraints::error, reco::GhostTrackState::globalPosition(), reco::GhostTrackState::isValid(), reco::GhostTrackState::lambda(), LinearizedTrackStateFactory::linearizedTrackState(), GlobalErrorBase< T, ErrorWeightType >::matrix_new(), point, reco::GhostTrackPrediction::position(), reco::GhostTrackPrediction::positionError(), reco::GhostTrackState::track(), VertexTrackFactory< N >::vertexTrack(), and vtxMean().
Referenced by reco::GhostTrackVertexFinder::initialVertices(), reco::GhostTrackVertexFinder::reassignTracks(), and reco::GhostTrackVertexFinder::refitGhostTrack().
|
static |
Definition at line 114 of file GhostTrackVertexFinder.cc.
References conv, and GlobalErrorBase< T, ErrorWeightType >::matrix_new().
Referenced by vtxMean().
|
static |
Definition at line 119 of file GhostTrackVertexFinder.cc.
References diffTreeTool::diff, p1, vtxErrorLong(), and histoStyle::weight.
Referenced by GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), stateMean(), and vertexAtState().