#include <cmath>
#include <Math/SMatrix.h>
#include <Math/MatrixFunctions.h>
#include "FWCore/Utilities/interface/Exception.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "RecoVertex/VertexPrimitives/interface/VertexState.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackPrediction.h"
#include "RecoVertex/GhostTrackFitter/interface/GhostTrackState.h"
#include "RecoVertex/GhostTrackFitter/interface/TrackGhostTrackState.h"
#include "RecoVertex/GhostTrackFitter/interface/VertexGhostTrackState.h"
Go to the source code of this file.
Functions | |
static const TrackGhostTrackState * | getTrack (const BasicGhostTrackState *basic) |
static const TrackGhostTrackState* getTrack | ( | const BasicGhostTrackState * | basic | ) | [static] |
Definition at line 68 of file GhostTrackState.cc.
References Exception.
Referenced by reco::GhostTrackState::track(), and reco::GhostTrackState::tsos().
{ const TrackGhostTrackState *track = dynamic_cast<const TrackGhostTrackState*>(basic); if (!track) throw cms::Exception("InvalidOperation") << "track requested on non non-track GhostTrackState"; return track; }