CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
GhostTrackState.cc File Reference
#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 TrackGhostTrackStategetTrack (const BasicGhostTrackState *basic)
 

Function Documentation

static const TrackGhostTrackState* getTrack ( const BasicGhostTrackState basic)
static

Definition at line 68 of file GhostTrackState.cc.

References edm::hlt::Exception.

Referenced by reco::GhostTrackState::track(), and reco::GhostTrackState::tsos().

69 {
70  const TrackGhostTrackState *track =
71  dynamic_cast<const TrackGhostTrackState*>(basic);
72  if (!track)
73  throw cms::Exception("InvalidOperation")
74  << "track requested on non non-track GhostTrackState";
75  return track;
76 }