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  {
33  return std::make_shared<T>(std::forward<Args>(args)...);
34  }
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 41 of file BasicGhostTrackState.h.

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

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

Definition at line 40 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 44 of file BasicGhostTrackState.h.

References lambda(), and lambda_.

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

Reimplemented in reco::TrackGhostTrackState.

Definition at line 48 of file BasicGhostTrackState.h.

References lambda(), lambda_, vertexStateOnGhostTrack(), and vertexStateOnMeasurement().

48  {
49  lambda_ = lambda;
50  return true;
51  }
virtual void reco::BasicGhostTrackState::reset ( void  )
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 43 of file BasicGhostTrackState.h.

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

Definition at line 57 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 56 of file BasicGhostTrackState.h.

References weight_.

Referenced by setWeight().

Member Data Documentation

double reco::BasicGhostTrackState::lambda_ = 0
protected

Definition at line 62 of file BasicGhostTrackState.h.

Referenced by lambda(), and linearize().

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

Definition at line 63 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().