CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/RecoVertex/GhostTrackFitter/src/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 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;
}