CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
BasicSingleTrajectoryState Class Referencefinal

#include <BasicSingleTrajectoryState.h>

Inheritance diagram for BasicSingleTrajectoryState:
BasicTrajectoryState

Public Types

using Components = BasicTrajectoryState::Components
 
- Public Types inherited from BasicTrajectoryState
typedef BasicTrajectoryState BTSOS
 
using Components = std::vector< TrajectoryStateOnSurface >
 
typedef Proxy::pointer pointer
 
typedef ProxyBase11< BTSOSProxy
 
typedef SurfaceSideDefinition::SurfaceSide SurfaceSide
 
typedef Surface SurfaceType
 

Public Member Functions

 BasicSingleTrajectoryState ()
 
template<typename... Args>
 BasicSingleTrajectoryState (Args &&...args)
 
pointer clone () const override
 
Components const & components () const override
 
bool singleState () const override
 
- Public Member Functions inherited from BasicTrajectoryState
 BasicTrajectoryState ()
 
 BasicTrajectoryState (const SurfaceType &aSurface)
 construct invalid trajectory state (without parameters) More...
 
 BasicTrajectoryState (const FreeTrajectoryState &fts, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const LocalTrajectoryParameters &par, const LocalTrajectoryError &err, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const LocalTrajectoryParameters &par, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const CartesianTrajectoryError &err, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const CurvilinearTrajectoryError &err, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
template<typename... Args>
 BasicTrajectoryState (double iweight, Args &&...args)
 
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) final
 
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) final
 
double weight () const
 
virtual ~BasicTrajectoryState ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BasicTrajectoryState
template<typename T , typename... Args>
static std::shared_ptr< BTSOSbuild (Args &&...args)
 
template<typename T , typename... Args>
static std::shared_ptr< BTSOSchurn (Args &&...args)
 

Detailed Description

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

Definition at line 11 of file BasicSingleTrajectoryState.h.

Member Typedef Documentation

Definition at line 21 of file BasicSingleTrajectoryState.h.

Constructor & Destructor Documentation

BasicSingleTrajectoryState::BasicSingleTrajectoryState ( )
inline
template<typename... Args>
BasicSingleTrajectoryState::BasicSingleTrajectoryState ( Args &&...  args)
inline

Definition at line 15 of file BasicSingleTrajectoryState.h.

15 : BasicTrajectoryState(std::forward<Args>(args)...){/* assert(weight()>0);*/}

Member Function Documentation

pointer BasicSingleTrajectoryState::clone ( void  ) const
inlineoverridevirtual

Implements BasicTrajectoryState.

Definition at line 17 of file BasicSingleTrajectoryState.h.

Referenced by sqr().

17  {
18  return build<BasicSingleTrajectoryState>(*this);
19  }
BasicSingleTrajectoryState::Components const & BasicSingleTrajectoryState::components ( ) const
overridevirtual

Implements BasicTrajectoryState.

Definition at line 308 of file BasicTrajectoryState.cc.

308  {
309  edm::LogError("BasicSingleTrajectoryState") << "asking for componenets to a SingleTrajectoryState"<< std::endl;
310  assert(false);
311 }
bool BasicSingleTrajectoryState::singleState ( ) const
inlineoverridevirtual

Implements BasicTrajectoryState.

Definition at line 24 of file BasicSingleTrajectoryState.h.

24 { return true;}