CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

reco::BasicGhostTrackState Class Reference

#include <BasicGhostTrackState.h>

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

List of all members.

Public Types

typedef BasicGhostTrackState BGTS
typedef math::Error< 3 >::type CovarianceMatrix
typedef ProxyBase< BGTS,
CopyUsingClone< BGTS > > 
Proxy
typedef std::pair< GlobalPoint,
GlobalError
Vertex

Public Member Functions

 BasicGhostTrackState ()
virtual CovarianceMatrix cartesianCovariance () const =0
virtual GlobalError cartesianError () 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 ()

Protected Member Functions

virtual BasicGhostTrackStateclone () const =0

Protected Attributes

double lambda_
double weight_

Friends

class CopyUsingClone< BGTS >
class ProxyBase< BGTS, CopyUsingClone< BGTS > >
class ReferenceCountingPointer< BGTS >

Detailed Description

Definition at line 22 of file BasicGhostTrackState.h.


Member Typedef Documentation

Definition at line 24 of file BasicGhostTrackState.h.

Definition at line 33 of file BasicGhostTrackState.h.

Definition at line 25 of file BasicGhostTrackState.h.

Definition at line 34 of file BasicGhostTrackState.h.


Constructor & Destructor Documentation

reco::BasicGhostTrackState::BasicGhostTrackState ( ) [inline]

Definition at line 36 of file BasicGhostTrackState.h.

: lambda_(0.), weight_(1.) {}
virtual reco::BasicGhostTrackState::~BasicGhostTrackState ( ) [inline, virtual]

Definition at line 37 of file BasicGhostTrackState.h.

{}

Member Function Documentation

virtual CovarianceMatrix reco::BasicGhostTrackState::cartesianCovariance ( ) const [pure virtual]
virtual GlobalError reco::BasicGhostTrackState::cartesianError ( ) const [pure virtual]
virtual BasicGhostTrackState* reco::BasicGhostTrackState::clone ( ) const [protected, pure virtual]
virtual GlobalPoint reco::BasicGhostTrackState::globalPosition ( ) const [pure virtual]
virtual bool reco::BasicGhostTrackState::isValid ( void  ) const [inline, virtual]

Reimplemented in reco::TrackGhostTrackState.

Definition at line 44 of file BasicGhostTrackState.h.

{ return true; }
double reco::BasicGhostTrackState::lambda ( ) const [inline]
virtual bool reco::BasicGhostTrackState::linearize ( const GhostTrackPrediction pred,
double  lambda 
) [inline, virtual]

Reimplemented in reco::TrackGhostTrackState.

Definition at line 50 of file BasicGhostTrackState.h.

References lambda(), and lambda_.

        { lambda_ = lambda; return true; }
virtual bool reco::BasicGhostTrackState::linearize ( const GhostTrackPrediction pred,
bool  initial,
double  lambda 
) [inline, virtual]

Reimplemented in reco::TrackGhostTrackState.

Definition at line 47 of file BasicGhostTrackState.h.

References lambda(), and lambda_.

        { lambda_ = lambda; return true; }
virtual void reco::BasicGhostTrackState::reset ( void  ) [inline, virtual]

Reimplemented in reco::TrackGhostTrackState.

Definition at line 46 of file BasicGhostTrackState.h.

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

Definition at line 62 of file BasicGhostTrackState.h.

References weight(), and weight_.

{ weight_ = 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 61 of file BasicGhostTrackState.h.

References weight_.

Referenced by setWeight().

{ return weight_; }

Friends And Related Function Documentation

friend class CopyUsingClone< BGTS > [friend]

Definition at line 30 of file BasicGhostTrackState.h.

friend class ProxyBase< BGTS, CopyUsingClone< BGTS > > [friend]

Definition at line 28 of file BasicGhostTrackState.h.

friend class ReferenceCountingPointer< BGTS > [friend]

Definition at line 29 of file BasicGhostTrackState.h.


Member Data Documentation

Definition at line 67 of file BasicGhostTrackState.h.

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

Definition at line 68 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().