CMS 3D CMS Logo

CurvilinearState.h File Reference

#include "DataFormats/GeometryVector/interface/Basic2DVector.h"
#include "DataFormats/GeometryVector/interface/Basic3DVector.h"
#include "TrackPropagation/RungeKutta/interface/VectorDoublet.h"

Go to the source code of this file.

Classes

class  CurvilinearState
 State for solving the equation of motion with Z as free variable. More...

Functions

CurvilinearState operator * (const CurvilinearState::Scalar &s, const CurvilinearState &v)
CurvilinearState operator * (const CurvilinearState &v, const CurvilinearState::Scalar &s)
CurvilinearState operator+ (const CurvilinearState &a, const CurvilinearState &b)
CurvilinearState operator- (const CurvilinearState &a, const CurvilinearState &b)
CurvilinearState operator/ (const CurvilinearState &v, const CurvilinearState::Scalar &s)


Function Documentation

CurvilinearState operator * ( const CurvilinearState::Scalar s,
const CurvilinearState v 
) [inline]

Definition at line 82 of file CurvilinearState.h.

References CurvilinearState::parameters(), CurvilinearState::pzSign(), and CurvilinearState::z().

00083                                                               {
00084   return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
00085 }

CurvilinearState operator * ( const CurvilinearState v,
const CurvilinearState::Scalar s 
) [inline]

Definition at line 78 of file CurvilinearState.h.

References CurvilinearState::parameters(), CurvilinearState::pzSign(), and CurvilinearState::z().

00079                                                                     {
00080   return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
00081 }

CurvilinearState operator+ ( const CurvilinearState a,
const CurvilinearState b 
) [inline]

Definition at line 69 of file CurvilinearState.h.

References CurvilinearState::parameters(), CurvilinearState::pzSign(), and CurvilinearState::z().

00069                                                                  {
00070   return CurvilinearState(a.parameters()+b.parameters(), a.z()+b.z(), a.pzSign());
00071 }

CurvilinearState operator- ( const CurvilinearState a,
const CurvilinearState b 
) [inline]

Definition at line 74 of file CurvilinearState.h.

References CurvilinearState::parameters(), CurvilinearState::pzSign(), and CurvilinearState::z().

00074                                                                  {
00075   return CurvilinearState(a.parameters()-b.parameters(), a.z()-b.z(), a.pzSign());
00076 }

CurvilinearState operator/ ( const CurvilinearState v,
const CurvilinearState::Scalar s 
) [inline]

Definition at line 87 of file CurvilinearState.h.

References CurvilinearState::parameters(), CurvilinearState::pzSign(), and CurvilinearState::z().

00088                                                                     {
00089   return CurvilinearState( v.parameters()/s, v.z()/s, v.pzSign());
00090 }


Generated on Tue Jun 9 17:56:01 2009 for CMSSW by  doxygen 1.5.4