#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 34 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const GlobalPoint & | pos, |
const CovarianceMatrix & | cov | ||
) |
Definition at line 36 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const GlobalPoint & | pos, |
const GlobalError & | error | ||
) |
Definition at line 39 of file GhostTrackState.cc.
GhostTrackState::GhostTrackState | ( | const VertexState & | state | ) |
Definition at line 42 of file GhostTrackState.cc.
double GhostTrackState::axisDistance | ( | const GlobalPoint & | point, |
const GlobalVector & | dir | ||
) | const |
Definition at line 64 of file GhostTrackState.cc.
References DeadROC_duringRun::dir, globalPosition(), mag(), and point.
Referenced by axisDistance().
double GhostTrackState::axisDistance | ( | const GhostTrackPrediction & | pred | ) | const |
Definition at line 68 of file GhostTrackState.cc.
References axisDistance(), reco::GhostTrackPrediction::direction(), and reco::GhostTrackPrediction::origin().
|
inline |
|
inline |
double GhostTrackState::flightDistance | ( | const GlobalPoint & | point, |
const GlobalVector & | dir | ||
) | const |
Definition at line 60 of file GhostTrackState.cc.
References DeadROC_duringRun::dir, globalPosition(), and point.
|
inline |
Definition at line 36 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by axisDistance(), and flightDistance().
bool GhostTrackState::isTrack | ( | ) | const |
|
inline |
Definition at line 42 of file GhostTrackState.h.
References ProxyBase11< T >::data(), and ProxyBase11< T >::isValid().
Referenced by ntupleDataFormat._Object::_checkIsValid(), reco::PositiveSideGhostTrackFitter::fit(), lambdaError(), and core.AutoHandle.AutoHandle::ReallyLoad().
bool GhostTrackState::isVertex | ( | ) | const |
|
inline |
Definition at line 40 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by linearize().
double GhostTrackState::lambdaError | ( | const GhostTrackPrediction & | pred, |
const GlobalError & | pvError = GlobalError() |
||
) | const |
Definition at line 72 of file GhostTrackState.cc.
References conv, reco::GhostTrackPrediction::direction(), isValid(), GlobalErrorBase< T, ErrorWeightType >::matrix(), reco::GhostTrackPrediction::rho2(), mathSSE::sqrt(), and vertexStateOnGhostTrack().
|
inline |
Definition at line 47 of file GhostTrackState.h.
References lambda(), and ProxyBase11< T >::unsharedData().
Referenced by reco::PositiveSideGhostTrackFitter::fit(), and TemplatedSecondaryVertexProducer< IPTI, VTX >::produce().
|
inline |
Definition at line 50 of file GhostTrackState.h.
References lambda(), and ProxyBase11< T >::unsharedData().
|
inline |
|
inline |
Definition at line 64 of file GhostTrackState.h.
References ProxyBase11< T >::unsharedData().
Referenced by TemplatedSecondaryVertexProducer< IPTI, VTX >::produce().
const TransientTrack & GhostTrackState::track | ( | ) | const |
Definition at line 56 of file GhostTrackState.cc.
References ProxyBase11< T >::data(), getTrack(), and reco::TrackGhostTrackState::track().
const TrajectoryStateOnSurface & GhostTrackState::tsos | ( | ) | const |
Definition at line 58 of file GhostTrackState.cc.
References ProxyBase11< T >::data(), getTrack(), and reco::TrackGhostTrackState::tsos().
|
inline |
Definition at line 56 of file GhostTrackState.h.
References ProxyBase11< T >::data().
Referenced by lambdaError().
|
inline |
|
inline |