#include <algorithm>
#include <iterator>
#include <memory>
#include <map>
#include <set>
#include <vector>
#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 138 of file GhostTrackVertexFinder.cc.
References funct::cos(), and funct::sin().
Referenced by vertexAtState().
|
static |
Definition at line 535 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 638 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 661 of file GhostTrackVertexFinder.cc.
References submitPVValidationJobs::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 219 of file GhostTrackVertexFinder.cc.
References relinearizeTrack().
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 134 of file GhostTrackVertexFinder.cc.
References VertexState::error(), VertexState::position(), and vtxMean().
Referenced by reco::GhostTrackVertexFinder::mergeVertices().
|
static |
Definition at line 240 of file GhostTrackVertexFinder.cc.
References conv, DeadROC_duringRun::dir, relativeConstraints::error, CachingVertex< N >::error(), GlobalErrorBase< T, ErrorWeightType >::matrix(), point, CachingVertex< N >::position(), and HLT_FULL_cff::track.
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 115 of file GhostTrackVertexFinder.cc.
References TransientTrackFromFTSFactory::build(), and reco::GhostTrackPrediction::fts().
Referenced by reco::GhostTrackVertexFinder::refitGhostTrack(), and reco::GhostTrackVertexFinder::vertices().
|
static |
Definition at line 160 of file GhostTrackVertexFinder.cc.
References reco::GhostTrackState::cartesianError(), HLT_FULL_cff::chi2, conv, covarianceUpdate(), relativeConstraints::error, reco::GhostTrackState::globalPosition(), reco::GhostTrackState::isValid(), sistrip::SpyUtilities::isValid(), reco::GhostTrackState::lambda(), LinearizedTrackStateFactory::linearizedTrackState(), GlobalErrorBase< T, ErrorWeightType >::matrix(), 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 119 of file GhostTrackVertexFinder.cc.
References conv, and GlobalErrorBase< T, ErrorWeightType >::matrix().
Referenced by vtxMean().
|
static |
Definition at line 123 of file GhostTrackVertexFinder.cc.
References change_name::diff, fireworks::p1, vtxErrorLong(), and histoStyle::weight.
Referenced by GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), stateMean(), and vertexAtState().