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

◆ BGTS

Definition at line 22 of file BasicGhostTrackState.h.

◆ CovarianceMatrix

Definition at line 26 of file BasicGhostTrackState.h.

◆ pointer

Definition at line 24 of file BasicGhostTrackState.h.

◆ Proxy

Definition at line 23 of file BasicGhostTrackState.h.

◆ Vertex

Definition at line 27 of file BasicGhostTrackState.h.

Constructor & Destructor Documentation

◆ ~BasicGhostTrackState()

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

Definition at line 29 of file BasicGhostTrackState.h.

29 {}

Member Function Documentation

◆ build()

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

Definition at line 32 of file BasicGhostTrackState.h.

32  {
33  return std::make_shared<T>(std::forward<Args>(args)...);
34  }

References writedatasetfile::args.

◆ cartesianCovariance()

virtual CovarianceMatrix reco::BasicGhostTrackState::cartesianCovariance ( ) const
pure virtual

◆ cartesianError()

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

◆ clone()

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

◆ globalPosition()

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

◆ isValid()

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

Reimplemented in reco::TrackGhostTrackState.

Definition at line 41 of file BasicGhostTrackState.h.

41 { return true; }

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

◆ lambda()

double reco::BasicGhostTrackState::lambda ( ) const
inline

◆ linearize() [1/2]

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.

44  {
45  lambda_ = lambda;
46  return true;
47  }

References lambda(), and lambda_.

◆ linearize() [2/2]

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

Reimplemented in reco::TrackGhostTrackState.

Definition at line 48 of file BasicGhostTrackState.h.

48  {
49  lambda_ = lambda;
50  return true;
51  }

References lambda(), and lambda_.

◆ reset()

virtual void reco::BasicGhostTrackState::reset ( void  )
inlinevirtual

Reimplemented in reco::TrackGhostTrackState.

Definition at line 43 of file BasicGhostTrackState.h.

43 {}

◆ setWeight()

void reco::BasicGhostTrackState::setWeight ( double  weight)
inline

Definition at line 57 of file BasicGhostTrackState.h.

57 { weight_ = weight; }

References weight(), and weight_.

◆ vertexStateOnGhostTrack()

virtual Vertex reco::BasicGhostTrackState::vertexStateOnGhostTrack ( const GhostTrackPrediction pred,
bool  withMeasurementError 
) const
pure virtual

◆ vertexStateOnMeasurement()

virtual Vertex reco::BasicGhostTrackState::vertexStateOnMeasurement ( const GhostTrackPrediction pred,
bool  withGhostTrackError 
) const
pure virtual

◆ weight()

double reco::BasicGhostTrackState::weight ( ) const
inline

Definition at line 56 of file BasicGhostTrackState.h.

56 { return weight_; }

References weight_.

Referenced by setWeight().

Member Data Documentation

◆ lambda_

double reco::BasicGhostTrackState::lambda_ = 0
protected

Definition at line 62 of file BasicGhostTrackState.h.

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

◆ weight_

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

Definition at line 63 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().

writedatasetfile.args
args
Definition: writedatasetfile.py:18
reco::BasicGhostTrackState::lambda_
double lambda_
Definition: BasicGhostTrackState.h:62
reco::BasicGhostTrackState::weight_
double weight_
Definition: BasicGhostTrackState.h:63
reco::BasicGhostTrackState::weight
double weight() const
Definition: BasicGhostTrackState.h:56
reco::BasicGhostTrackState::lambda
double lambda() const
Definition: BasicGhostTrackState.h:40