CMS 3D CMS Logo

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

#include <BasicGhostTrackState.h>

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

Public Types

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

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 ()
 
- Public Member Functions inherited from BasicReferenceCounted
void addReference () const
 
 BasicReferenceCounted ()
 
 BasicReferenceCounted (const BasicReferenceCounted &)
 
 BasicReferenceCounted (BasicReferenceCounted &&)=default
 
BasicReferenceCountedoperator= (BasicReferenceCounted &&)=default
 
BasicReferenceCountedoperator= (const BasicReferenceCounted &)
 
unsigned int references () const
 
void removeReference () const
 
virtual ~BasicReferenceCounted ()
 

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
virtual reco::BasicGhostTrackState::~BasicGhostTrackState ( )
inlinevirtual

Definition at line 37 of file BasicGhostTrackState.h.

References cartesianCovariance(), cartesianError(), and globalPosition().

37 {}

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
protectedpure virtual
virtual GlobalPoint reco::BasicGhostTrackState::globalPosition ( ) const
pure virtual
virtual bool reco::BasicGhostTrackState::isValid ( void  ) const
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 44 of file BasicGhostTrackState.h.

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

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

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

References lambda(), and lambda_.

49  { 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 46 of file BasicGhostTrackState.h.

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

Definition at line 62 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 ( void  ) const
inline

Definition at line 61 of file BasicGhostTrackState.h.

References weight_.

Referenced by setWeight().

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

double reco::BasicGhostTrackState::lambda_
protected

Definition at line 67 of file BasicGhostTrackState.h.

Referenced by lambda(), and linearize().

double reco::BasicGhostTrackState::weight_
protected

Definition at line 68 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().