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 | Friends
BasicTrajectoryState Class Referenceabstract

#include <BasicTrajectoryState.h>

Inheritance diagram for BasicTrajectoryState:
ReferenceCountedPoolAllocated BlockWipedPoolAllocated BasicMultiTrajectoryState BasicSingleTrajectoryState

Public Types

typedef BasicTrajectoryState BTSOS
 
typedef ProxyBase< BTSOS,
CopyUsingClone< BTSOS > > 
Proxy
 
typedef
ReferenceCountingPointer
< BasicTrajectoryState
RCPtr
 
typedef
SurfaceSideDefinition::SurfaceSide 
SurfaceSide
 

Public Member Functions

virtual bool canUpdateLocalParameters () const =0
 
virtual const
CartesianTrajectoryError
cartesianError () const =0
 
virtual TrackCharge charge () const =0
 
virtual BasicTrajectoryStateclone () const =0
 
virtual std::vector
< TrajectoryStateOnSurface
components () const
 
virtual const
CurvilinearTrajectoryError
curvilinearError () const =0
 
virtual FreeTrajectoryStatefreeTrajectoryState (bool withErrors=true) const =0
 
virtual GlobalVector globalDirection () const =0
 
virtual GlobalVector globalMomentum () const =0
 
virtual const
GlobalTrajectoryParameters
globalParameters () const =0
 
virtual GlobalPoint globalPosition () const =0
 
virtual bool hasError () const =0
 
virtual bool isValid () const =0
 
virtual LocalVector localDirection () const =0
 
virtual const
LocalTrajectoryError
localError () const =0
 
virtual LocalVector localMomentum () const =0
 
virtual const
LocalTrajectoryParameters
localParameters () const =0
 
virtual LocalPoint localPosition () const =0
 
virtual const MagneticFieldmagneticField () const =0
 
virtual void rescaleError (double factor)=0
 
virtual double signedInverseMomentum () const =0
 
virtual const Surfacesurface () const =0
 
virtual SurfaceSide surfaceSide () const =0
 Position relative to material, defined relative to momentum vector. More...
 
virtual double transverseCurvature () const =0
 
virtual void update (const LocalTrajectoryParameters &p, const Surface &aSurface, const MagneticField *field, const SurfaceSide side)=0
 
virtual void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const Surface &aSurface, const MagneticField *field, const SurfaceSide side, double weight)=0
 
virtual double weight () const
 
virtual ~BasicTrajectoryState ()
 
- 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 ()
 

Friends

class ProxyBase< BTSOS, CopyUsingClone< BTSOS > >
 
class ReferenceCountingPointer< BasicTrajectoryState >
 

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
 

Detailed Description

Abstract base class for TrajectoryState. It is ReferenceCounted.

Definition at line 26 of file BasicTrajectoryState.h.

Member Typedef Documentation

Definition at line 29 of file BasicTrajectoryState.h.

Definition at line 30 of file BasicTrajectoryState.h.

Definition at line 31 of file BasicTrajectoryState.h.

Definition at line 32 of file BasicTrajectoryState.h.

Constructor & Destructor Documentation

BasicTrajectoryState::~BasicTrajectoryState ( )
virtual

Definition at line 4 of file BasicTrajectoryState.cc.

4 {}

Member Function Documentation

virtual bool BasicTrajectoryState::canUpdateLocalParameters ( ) const
pure virtual
virtual const CartesianTrajectoryError& BasicTrajectoryState::cartesianError ( ) const
pure virtual
virtual TrackCharge BasicTrajectoryState::charge ( ) const
pure virtual
virtual BasicTrajectoryState* BasicTrajectoryState::clone ( ) const
pure virtual
std::vector< TrajectoryStateOnSurface > BasicTrajectoryState::components ( ) const
virtual

Reimplemented in BasicMultiTrajectoryState.

Definition at line 8 of file BasicTrajectoryState.cc.

References query::result.

8  {
9  std::vector<TrajectoryStateOnSurface> result; result.reserve(1);
10  result.push_back( const_cast<BasicTrajectoryState*>(this));
11  return result;
12 }
tuple result
Definition: query.py:137
virtual const CurvilinearTrajectoryError& BasicTrajectoryState::curvilinearError ( ) const
pure virtual
virtual FreeTrajectoryState* BasicTrajectoryState::freeTrajectoryState ( bool  withErrors = true) const
pure virtual
virtual GlobalVector BasicTrajectoryState::globalDirection ( ) const
pure virtual
virtual GlobalVector BasicTrajectoryState::globalMomentum ( ) const
pure virtual
virtual const GlobalTrajectoryParameters& BasicTrajectoryState::globalParameters ( ) const
pure virtual
virtual GlobalPoint BasicTrajectoryState::globalPosition ( ) const
pure virtual
virtual bool BasicTrajectoryState::hasError ( ) const
pure virtual
virtual bool BasicTrajectoryState::isValid ( ) const
pure virtual
virtual LocalVector BasicTrajectoryState::localDirection ( ) const
pure virtual
virtual const LocalTrajectoryError& BasicTrajectoryState::localError ( ) const
pure virtual
virtual LocalVector BasicTrajectoryState::localMomentum ( ) const
pure virtual
virtual const LocalTrajectoryParameters& BasicTrajectoryState::localParameters ( ) const
pure virtual
virtual LocalPoint BasicTrajectoryState::localPosition ( ) const
pure virtual
virtual const MagneticField* BasicTrajectoryState::magneticField ( ) const
pure virtual
virtual void BasicTrajectoryState::rescaleError ( double  factor)
pure virtual
virtual double BasicTrajectoryState::signedInverseMomentum ( ) const
pure virtual
virtual const Surface& BasicTrajectoryState::surface ( ) const
pure virtual
virtual SurfaceSide BasicTrajectoryState::surfaceSide ( ) const
pure virtual

Position relative to material, defined relative to momentum vector.

Implemented in BasicSingleTrajectoryState, and BasicMultiTrajectoryState.

virtual double BasicTrajectoryState::transverseCurvature ( ) const
pure virtual
virtual void BasicTrajectoryState::update ( const LocalTrajectoryParameters p,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side 
)
pure virtual
virtual void BasicTrajectoryState::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const Surface aSurface,
const MagneticField field,
const SurfaceSide  side,
double  weight 
)
pure virtual
virtual double BasicTrajectoryState::weight ( ) const
inlinevirtual

Reimplemented in BasicSingleTrajectoryState, and BasicMultiTrajectoryState.

Definition at line 81 of file BasicTrajectoryState.h.

81 {return 1.;}

Friends And Related Function Documentation

friend class ProxyBase< BTSOS, CopyUsingClone< BTSOS > >
friend

Definition at line 35 of file BasicTrajectoryState.h.

Definition at line 36 of file BasicTrajectoryState.h.