#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"
#include "FWCore/MessageLogger/interface/MessageLogger.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 145 of file GhostTrackVertexFinder.cc.
References hltPixelTracks_cff::chi2, funct::cos(), relativeConstraints::error, funct::sin(), and theta().
Referenced by vertexAtState().
|
static |
Definition at line 542 of file GhostTrackVertexFinder.cc.
References RecoVertex::convertError(), RecoVertex::convertPos(), BeamMonitor_cff::primaryVertex, reco::TrackBase::px(), reco::TrackBase::py(), and reco::TrackBase::pz().
Referenced by reco::GhostTrackVertexFinder::vertices().
|
static |
Definition at line 645 of file GhostTrackVertexFinder.cc.
References extraflags_cff::vtx.
Referenced by PFGsfHelper::PFGsfHelper(), and reco::GhostTrackVertexFinder::recursiveMerge().
|
static |
Definition at line 668 of file GhostTrackVertexFinder.cc.
References submitPVValidationJobs::gt, relinearizeTrack(), HLT_2023v12_cff::track, and pwdgSkimBPark_cfi::tracks.
Referenced by reco::GhostTrackVertexFinder::mergeVertices().
|
static |
Definition at line 218 of file GhostTrackVertexFinder.cc.
References HLT_2023v12_cff::track, and VertexTrackFactory< N >::vertexTrack().
Referenced by mergeTrackHelper(), reco::GhostTrackVertexFinder::reassignTracks(), and relinearizeTracks().
|
static |
Definition at line 226 of file GhostTrackVertexFinder.cc.
References relinearizeTrack(), and pwdgSkimBPark_cfi::tracks.
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 141 of file GhostTrackVertexFinder.cc.
References VertexState::error(), VertexState::position(), and vtxMean().
Referenced by reco::GhostTrackVertexFinder::mergeVertices().
|
static |
Definition at line 247 of file GhostTrackVertexFinder.cc.
References conv, DeadROC_duringRun::dir, relativeConstraints::error, point, HLT_2023v12_cff::track, and extraflags_cff::vtx.
Referenced by reco::GhostTrackVertexFinder::reassignTracks().
|
static |
Definition at line 117 of file GhostTrackVertexFinder.cc.
References TransientTrackFromFTSFactory::build(), and reco::GhostTrackPrediction::fts().
Referenced by reco::GhostTrackVertexFinder::refitGhostTrack(), and reco::GhostTrackVertexFinder::vertices().
|
static |
Definition at line 167 of file GhostTrackVertexFinder.cc.
References hltPixelTracks_cff::chi2, conv, covarianceUpdate(), relativeConstraints::error, sistrip::SpyUtilities::isValid(), LinearizedTrackStateFactory::linearizedTrackState(), GlobalErrorBase< T, ErrorWeightType >::matrix(), point, reco::GhostTrackPrediction::position(), reco::GhostTrackPrediction::positionError(), VertexTrackFactory< N >::vertexTrack(), and vtxMean().
Referenced by reco::GhostTrackVertexFinder::initialVertices(), reco::GhostTrackVertexFinder::reassignTracks(), and reco::GhostTrackVertexFinder::refitGhostTrack().
|
static |
Definition at line 121 of file GhostTrackVertexFinder.cc.
References conv, DeadROC_duringRun::dir, and relativeConstraints::error.
Referenced by vtxMean().
|
static |
Definition at line 125 of file GhostTrackVertexFinder.cc.
References change_name::diff, StorageManager_cfg::e1, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, UNLIKELY, and vtxErrorLong().
Referenced by GlobalTrackingRegion::checkRZ(), RectangularEtaPhiTrackingRegion::checkRZOld(), stateMean(), and vertexAtState().