CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
reco::BasicGhostTrackState Class Referenceabstract

#include <BasicGhostTrackState.h>

Inheritance diagram for reco::BasicGhostTrackState:
reco::TrackGhostTrackState reco::VertexGhostTrackState

Public Types

using BGTS = BasicGhostTrackState
 
typedef math::Error< 3 >::type CovarianceMatrix
 
using pointer = Proxy::pointer
 
using Proxy = ProxyBase11< BGTS >
 
typedef std::pair< GlobalPoint, GlobalErrorVertex
 

Public Member Functions

virtual CovarianceMatrix cartesianCovariance () const =0
 
virtual GlobalError cartesianError () const =0
 
virtual pointer clone () const =0
 
virtual GlobalPoint globalPosition () const =0
 
virtual bool isValid () const
 
double lambda () const
 
virtual bool linearize (const GhostTrackPrediction &pred, bool initial, double lambda)
 
virtual bool linearize (const GhostTrackPrediction &pred, double lambda)
 
virtual void reset ()
 
void setWeight (double weight)
 
virtual Vertex vertexStateOnGhostTrack (const GhostTrackPrediction &pred, bool withMeasurementError) const =0
 
virtual Vertex vertexStateOnMeasurement (const GhostTrackPrediction &pred, bool withGhostTrackError) const =0
 
double weight () const
 
virtual ~BasicGhostTrackState ()
 

Static Public Member Functions

template<typename T , typename... Args>
static std::shared_ptr< BGTSbuild (Args &&...args)
 

Protected Attributes

double lambda_ =0
 
double weight_ =1.
 

Detailed Description

Definition at line 20 of file BasicGhostTrackState.h.

Member Typedef Documentation

Definition at line 22 of file BasicGhostTrackState.h.

Definition at line 26 of file BasicGhostTrackState.h.

Definition at line 24 of file BasicGhostTrackState.h.

Definition at line 23 of file BasicGhostTrackState.h.

Definition at line 27 of file BasicGhostTrackState.h.

Constructor & Destructor Documentation

virtual reco::BasicGhostTrackState::~BasicGhostTrackState ( )
inlinevirtual

Definition at line 29 of file BasicGhostTrackState.h.

29 {}

Member Function Documentation

template<typename T , typename... Args>
static std::shared_ptr<BGTS> reco::BasicGhostTrackState::build ( Args &&...  args)
inlinestatic

Definition at line 32 of file BasicGhostTrackState.h.

References writedatasetfile::args, cartesianCovariance(), cartesianError(), and globalPosition().

32 { return std::make_shared<T>(std::forward<Args>(args)...);}
virtual CovarianceMatrix reco::BasicGhostTrackState::cartesianCovariance ( ) const
pure virtual

Implemented in reco::TrackGhostTrackState, and reco::VertexGhostTrackState.

Referenced by build().

virtual GlobalError reco::BasicGhostTrackState::cartesianError ( ) const
pure virtual

Implemented in reco::TrackGhostTrackState, and reco::VertexGhostTrackState.

Referenced by build().

virtual pointer reco::BasicGhostTrackState::clone ( ) const
pure virtual
virtual GlobalPoint reco::BasicGhostTrackState::globalPosition ( ) const
pure virtual

Implemented in reco::TrackGhostTrackState, and reco::VertexGhostTrackState.

Referenced by build().

virtual bool reco::BasicGhostTrackState::isValid ( void  ) const
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 40 of file BasicGhostTrackState.h.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

40 { return true; }
double reco::BasicGhostTrackState::lambda ( ) const
inline

Definition at line 39 of file BasicGhostTrackState.h.

References lambda_.

Referenced by linearize(), and reco::TrackGhostTrackState::reset().

virtual bool reco::BasicGhostTrackState::linearize ( const GhostTrackPrediction pred,
bool  initial,
double  lambda 
)
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 43 of file BasicGhostTrackState.h.

References lambda(), and lambda_.

45  { lambda_ = lambda; return true; }
virtual bool reco::BasicGhostTrackState::linearize ( const GhostTrackPrediction pred,
double  lambda 
)
inlinevirtual
virtual void reco::BasicGhostTrackState::reset ( void  )
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 42 of file BasicGhostTrackState.h.

42 {}
void reco::BasicGhostTrackState::setWeight ( double  weight)
inline

Definition at line 58 of file BasicGhostTrackState.h.

References clone(), weight(), and weight_.

virtual Vertex reco::BasicGhostTrackState::vertexStateOnGhostTrack ( const GhostTrackPrediction pred,
bool  withMeasurementError 
) const
pure virtual
virtual Vertex reco::BasicGhostTrackState::vertexStateOnMeasurement ( const GhostTrackPrediction pred,
bool  withGhostTrackError 
) const
pure virtual
double reco::BasicGhostTrackState::weight ( ) const
inline

Definition at line 57 of file BasicGhostTrackState.h.

References weight_.

Referenced by setWeight().

Member Data Documentation

double reco::BasicGhostTrackState::lambda_ =0
protected

Definition at line 63 of file BasicGhostTrackState.h.

Referenced by lambda(), and linearize().

double reco::BasicGhostTrackState::weight_ =1.
protected

Definition at line 64 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().