CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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
 

Functions

CurvilinearState operator* (const CurvilinearState &v, const CurvilinearState::Scalar &s)
 
CurvilinearState operator* (const CurvilinearState::Scalar &s, const CurvilinearState &v)
 
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 v,
const CurvilinearState::Scalar s 
)
inline

Definition at line 78 of file CurvilinearState.h.

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

79  {
80  return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
81 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
string s
Definition: asciidump.py:422
CurvilinearState operator* ( const CurvilinearState::Scalar s,
const CurvilinearState v 
)
inline

Definition at line 82 of file CurvilinearState.h.

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

83  {
84  return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
85 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
string s
Definition: asciidump.py:422
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().

69  {
70  return CurvilinearState(a.parameters()+b.parameters(), a.z()+b.z(), a.pzSign());
71 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
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().

74  {
75  return CurvilinearState(a.parameters()-b.parameters(), a.z()-b.z(), a.pzSign());
76 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
CurvilinearState operator/ ( const CurvilinearState v,
const CurvilinearState::Scalar s 
)
inline

Definition at line 87 of file CurvilinearState.h.

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

88  {
89  return CurvilinearState( v.parameters()/s, v.z()/s, v.pzSign());
90 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
string s
Definition: asciidump.py:422