CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
BasicSingleTrajectoryState Class Reference

#include <BasicSingleTrajectoryState.h>

Inheritance diagram for BasicSingleTrajectoryState:
BasicTrajectoryState

Public Member Functions

 BasicSingleTrajectoryState ()
 
pointer clone () const
 
std::vector
< TrajectoryStateOnSurface
components () const
 
- Public Member Functions inherited from BasicTrajectoryState
 BasicTrajectoryState ()
 
 BasicTrajectoryState (const SurfaceType &aSurface)
 construct invalid trajectory state (without parameters) More...
 
virtual bool canUpdateLocalParameters () const
 
const CartesianTrajectoryError cartesianError () const
 
TrackCharge charge () const
 
const CurvilinearTrajectoryErrorcurvilinearError () const
 
FreeTrajectoryState const * freeTrajectoryState (bool withErrors=true) const
 
GlobalVector globalDirection () const
 
GlobalVector globalMomentum () const
 
const GlobalTrajectoryParametersglobalParameters () const
 
GlobalPoint globalPosition () const
 
bool hasError () const
 
bool isValid () const
 
LocalVector localDirection () const
 
const LocalTrajectoryErrorlocalError () const
 
LocalVector localMomentum () const
 
const LocalTrajectoryParameterslocalParameters () const
 
LocalPoint localPosition () const
 
const MagneticFieldmagneticField () const
 
void rescaleError (double factor)
 
CurvilinearTrajectoryErrorsetCurvilinearError ()
 
double signedInverseMomentum () const
 
const SurfaceTypesurface () const
 
SurfaceSide surfaceSide () const
 Position relative to material, defined relative to momentum vector. More...
 
double transverseCurvature () const
 
virtual void update (const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side)
 
virtual void update (const LocalTrajectoryParameters &p, const SurfaceSide side)
 
virtual void update (double weight, const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side)
 
virtual void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const SurfaceSide side)
 
double weight () const
 
virtual ~BasicTrajectoryState ()
 

Additional Inherited Members

- Public Types inherited from BasicTrajectoryState
typedef BasicTrajectoryState BTSOS
 
typedef Proxy::pointer pointer
 
typedef ProxyBase11< BTSOSProxy
 
typedef
SurfaceSideDefinition::SurfaceSide 
SurfaceSide
 
typedef Surface SurfaceType
 

Detailed Description

Concrete implementation for the state of one trajectory on a surface.

Definition at line 11 of file BasicSingleTrajectoryState.h.

Constructor & Destructor Documentation

BasicSingleTrajectoryState::BasicSingleTrajectoryState ( )
inline

Member Function Documentation

pointer BasicSingleTrajectoryState::clone ( void  ) const
inlinevirtual

Implements BasicTrajectoryState.

Definition at line 22 of file BasicSingleTrajectoryState.h.

Referenced by components().

22 { return nullptr;}
std::vector< TrajectoryStateOnSurface > BasicSingleTrajectoryState::components ( ) const
virtual

Implements BasicTrajectoryState.

Definition at line 308 of file BasicTrajectoryState.cc.

References clone(), and query::result.

308  {
309  std::vector<TrajectoryStateOnSurface> result; result.reserve(1);
310  result.emplace_back(clone());
311  // result.emplace_back(const_cast<BasicTrajectoryState*>(this));
312  return result;
313 }
tuple result
Definition: query.py:137