CMS 3D CMS Logo

Classes | Functions
CurvilinearState.h File Reference
#include "FWCore/Utilities/interface/Visibility.h"
#include "DataFormats/GeometryVector/interface/Basic2DVector.h"
#include "DataFormats/GeometryVector/interface/Basic3DVector.h"
#include "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 79 of file CurvilinearState.h.

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

80  {
81  return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
82 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
CurvilinearState operator* ( const CurvilinearState::Scalar s,
const CurvilinearState v 
)
inline

Definition at line 83 of file CurvilinearState.h.

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

84  {
85  return CurvilinearState( v.parameters()*s, v.z()*s, v.pzSign());
86 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
CurvilinearState operator+ ( const CurvilinearState a,
const CurvilinearState b 
)
inline

Definition at line 70 of file CurvilinearState.h.

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

70  {
71  return CurvilinearState(a.parameters()+b.parameters(), a.z()+b.z(), a.pzSign());
72 }
double pzSign() const
Scalar z() const
const Vector & parameters() const
CurvilinearState operator- ( const CurvilinearState a,
const CurvilinearState b 
)
inline

Definition at line 75 of file CurvilinearState.h.

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

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

Definition at line 88 of file CurvilinearState.h.

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

89  {
90  return CurvilinearState( v.parameters()/s, v.z()/s, v.pzSign());
91 }
double pzSign() const
Scalar z() const
const Vector & parameters() const