#include <GhostTrackState.h>
Public Types | |
typedef BasicGhostTrackState::CovarianceMatrix | CovarianceMatrix |
typedef BasicGhostTrackState::Vertex | Vertex |
Public Types inherited from ProxyBase11< T > | |
using | pointer = std::shared_ptr< T > |
Public Member Functions | |
double | axisDistance (const GlobalPoint &point, const GlobalVector &dir) const |
double | axisDistance (const GhostTrackPrediction &pred) const |
CovarianceMatrix | cartesianCovariance () const |
GlobalError | cartesianError () const |
double | flightDistance (const GlobalPoint &point, const GlobalVector &dir) const |
GhostTrackState (const TransientTrack &track) | |
GhostTrackState (const GlobalPoint &pos, const CovarianceMatrix &cov) | |
GhostTrackState (const GlobalPoint &pos, const GlobalError &error) | |
GhostTrackState (const VertexState &state) | |
GlobalPoint | globalPosition () const |
bool | isTrack () const |
bool | isValid () const |
bool | isVertex () const |
double | lambda () const |
double | lambdaError (const GhostTrackPrediction &pred, const GlobalError &pvError=GlobalError()) const |
bool | linearize (const GhostTrackPrediction &pred, bool initial=false, double lambda=0.) |
bool | linearize (const GhostTrackPrediction &pred, double lambda) |
void | reset () |
void | setWeight (double weight) |
const TransientTrack & | track () const |
const TrajectoryStateOnSurface & | tsos () const |
Vertex | vertexStateOnGhostTrack (const GhostTrackPrediction &pred, bool withMeasurementError=true) const |
Vertex | vertexStateOnMeasurement (const GhostTrackPrediction &pred, bool withGhostTrackError=true) const |
double | weight () const |
Public Member Functions inherited from ProxyBase11< T > | |
void | check () const |
const T & | data () const |
void | destroy () noexcept |
bool | isValid () const |
template<typename U > | |
ProxyBase11 & | operator= (std::shared_ptr< U > p) |
ProxyBase11 & | operator= (ProxyBase11 &&other) noexcept=default |
ProxyBase11 & | operator= (const ProxyBase11 &other)=default |
ProxyBase11 () | |
ProxyBase11 (T *p) | |
template<typename U > | |
ProxyBase11 (std::shared_ptr< U > p) | |
ProxyBase11 (ProxyBase11 &&other) noexcept=default | |
ProxyBase11 (ProxyBase11 const &other)=default | |
int | references () const |
void | reset () |
T & | sharedData () |
void | swap (ProxyBase11 &other) noexcept |
T & | unsharedData () |
~ProxyBase11 () noexcept | |
Private Types | |
typedef BasicGhostTrackState::Proxy | Base |
Definition at line 21 of file GhostTrackState.h.
|
private |
Definition at line 22 of file GhostTrackState.h.
Definition at line 25 of file GhostTrackState.h.
Definition at line 26 of file GhostTrackState.h.
GhostTrackState::GhostTrackState | ( | const TransientTrack & | track | ) |
Definition at line 35 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const GlobalPoint & | pos, |
const CovarianceMatrix & | cov | ||
) |
Definition at line 40 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const GlobalPoint & | pos, |
const GlobalError & | error | ||
) |
Definition at line 46 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const VertexState & | state | ) |
Definition at line 52 of file GhostTrackState.cc.
double GhostTrackState::axisDistance | ( | const GlobalPoint & | point, |
const GlobalVector & | dir | ||
) | const |
Definition at line 94 of file GhostTrackState.cc.
References globalPosition(), and mag().
Referenced by axisDistance(), and linearize().
double GhostTrackState::axisDistance | ( | const GhostTrackPrediction & | pred | ) | const |
Definition at line 100 of file GhostTrackState.cc.
References axisDistance(), reco::GhostTrackPrediction::direction(), and reco::GhostTrackPrediction::origin().
|
inline |
|
inline |
Definition at line 37 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by vertexAtState().
double GhostTrackState::flightDistance | ( | const GlobalPoint & | point, |
const GlobalVector & | dir | ||
) | const |
Definition at line 88 of file GhostTrackState.cc.
References globalPosition().
Referenced by linearize().
|
inline |
Definition at line 36 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by axisDistance(), flightDistance(), and vertexAtState().
bool GhostTrackState::isTrack | ( | ) | const |
Definition at line 58 of file GhostTrackState.cc.
References ProxyBase11< T >::data().
Referenced by isValid().
|
inline |
Definition at line 43 of file GhostTrackState.h.
References ProxyBase11< T >::data(), isTrack(), ProxyBase11< T >::isValid(), and isVertex().
Referenced by ntupleDataFormat._Object::_checkIsValid(), reco::PositiveSideGhostTrackFitter::fit(), reco::GhostTrackVertexFinder::initialVertices(), lambdaError(), core.AutoHandle.AutoHandle::ReallyLoad(), and vertexAtState().
bool GhostTrackState::isVertex | ( | ) | const |
Definition at line 63 of file GhostTrackState.cc.
References ProxyBase11< T >::data().
Referenced by isValid().
|
inline |
Definition at line 40 of file GhostTrackState.h.
References ProxyBase11< T >::data(), and lambdaError().
Referenced by reco::PositiveSideGhostTrackFitter::fit(), linearize(), and vertexAtState().
double GhostTrackState::lambdaError | ( | const GhostTrackPrediction & | pred, |
const GlobalError & | pvError = GlobalError() |
||
) | const |
Definition at line 105 of file GhostTrackState.cc.
References conv, reco::GhostTrackPrediction::direction(), isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), reco::GhostTrackPrediction::rho2(), mathSSE::sqrt(), and vertexStateOnGhostTrack().
Referenced by lambda().
|
inline |
Definition at line 48 of file GhostTrackState.h.
References lambda(), and ProxyBase11< T >::unsharedData().
Referenced by reco::SequentialGhostTrackFitter::fit(), reco::PositiveSideGhostTrackFitter::fit(), reco::GhostTrackFitter::fit(), reco::GhostTrackVertexFinder::initialVertices(), reco::GhostTrack::initStates(), and TemplatedSecondaryVertexProducer< IPTI, VTX >::produce().
|
inline |
Definition at line 51 of file GhostTrackState.h.
References axisDistance(), dir, flightDistance(), point, and ProxyBase11< T >::unsharedData().
|
inline |
|
inline |
Definition at line 69 of file GhostTrackState.h.
References ProxyBase11< T >::unsharedData().
Referenced by reco::PositiveSideGhostTrackFitter::fit(), reco::GhostTrack::initStates(), and TemplatedSecondaryVertexProducer< IPTI, VTX >::produce().
const TransientTrack & GhostTrackState::track | ( | ) | const |
Definition at line 78 of file GhostTrackState.cc.
References ProxyBase11< T >::data(), getTrack(), and reco::TrackGhostTrackState::track().
Referenced by getTrack(), IPProducer< Container, Base, Helper >::produce(), and vertexAtState().
const TrajectoryStateOnSurface & GhostTrackState::tsos | ( | ) | const |
Definition at line 83 of file GhostTrackState.cc.
References ProxyBase11< T >::data(), getTrack(), and reco::TrackGhostTrackState::tsos().
|
inline |
Definition at line 60 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by lambdaError().
|
inline |
|
inline |
Definition at line 68 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by reco::PositiveSideGhostTrackFitter::fit(), and reco::KalmanGhostTrackUpdater::update().