CMS 3D CMS Logo

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 Exception, and reco::GhostTrackState::track().

Referenced by reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), reco::tau::RecoTauPiZeroStripPlugin3::addCandsToStrip(), reco::tau::RecoTauVertexAssociator::associatedVertex(), reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent(), PFRecoTauDiscriminationByHPSSelection::discriminate(), reco::tau::RecoTauQualityCuts::filterChargedCand(), reco::tau::RecoTauVertexAssociator::getLeadCand(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), JetMatchingTools::JetConstituent::JetConstituent(), reco::tau::RecoTauImpactParameterSignificancePlugin::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), PFTauPrimaryVertexProducerBase::produce(), PFTauSecondaryVertexProducer::produce(), PFTauTransverseImpactParameters::produce(), PFTau3ProngReco::produce(), reco::tau::RecoTauQualityCuts::setLeadTrack(), FWPFTrackUtils::setupLegoTrack(), FWPFTrackUtils::setupTrack(), reco::GhostTrackState::track(), reco::tau::qcuts::trkChi2_cand(), reco::tau::qcuts::trkLongitudinalImpactParameter_cand(), reco::tau::qcuts::trkLongitudinalImpactParameterWrtTrack_cand(), reco::tau::qcuts::trkPixelHits_cand(), reco::tau::qcuts::trkTrackerHits_cand(), reco::tau::qcuts::trkTransverseImpactParameter_cand(), reco::GhostTrackState::tsos(), FWPFTrackUtils::~FWPFTrackUtils(), PFRecoTauDiscriminationByHPSSelection::~PFRecoTauDiscriminationByHPSSelection(), PFTau3ProngReco::~PFTau3ProngReco(), PFTauPrimaryVertexProducerBase::~PFTauPrimaryVertexProducerBase(), PFTauSecondaryVertexProducer::~PFTauSecondaryVertexProducer(), and PFTauTransverseImpactParameters::~PFTauTransverseImpactParameters().

69 {
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 }