CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
ReferenceCountedPoolAllocated BlockWipedPoolAllocated 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,
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 ()
 
- Public Member Functions inherited from ReferenceCountedPoolAllocated
void addReference () const
 
const
ReferenceCountedPoolAllocated
operator= (const ReferenceCountedPoolAllocated &)
 
 ReferenceCountedPoolAllocated ()
 
 ReferenceCountedPoolAllocated (const ReferenceCountedPoolAllocated &iRHS)
 
unsigned int references () const
 
void removeReference () const
 
virtual ~ReferenceCountedPoolAllocated ()
 
- Public Member Functions inherited from BlockWipedPoolAllocated
virtual ~BlockWipedPoolAllocated ()
 

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 >
 

Additional Inherited Members

- Static Public Member Functions inherited from BlockWipedPoolAllocated
static BlockWipedAllocatorallocator (size_t s)
 
static void operator delete (void *p, size_t s)
 
static void * operator new (size_t s, void *p)
 
static void * operator new (size_t s)
 
static BlockWipedAllocator::Stat stat (size_t s)
 
static void usePool ()
 
- Static Public Attributes inherited from ReferenceCountedPoolAllocated
static int s_alive =0
 
static int s_referenced =0
 
- Static Public Attributes inherited from BlockWipedPoolAllocated
static int s_alive =0
 
static bool s_usePool =false
 

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.

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.

44 { return true; }
double reco::BasicGhostTrackState::lambda ( ) const
inline
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

Reimplemented in reco::TrackGhostTrackState.

Definition at line 50 of file BasicGhostTrackState.h.

References lambda(), and lambda_.

52  { lambda_ = lambda; return true; }
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 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().

61 { 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

double reco::BasicGhostTrackState::lambda_
protected

Definition at line 67 of file BasicGhostTrackState.h.

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

double reco::BasicGhostTrackState::weight_
protected

Definition at line 68 of file BasicGhostTrackState.h.

Referenced by setWeight(), and weight().