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

◆ operator*() [1/2]

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

Definition at line 73 of file CurvilinearState.h.

References alignCSCRings::s, and findQualityFiles::v.

73  {
74  return CurvilinearState(v.parameters() * s, v.z() * s, v.pzSign());
75 }

◆ operator*() [2/2]

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

Definition at line 76 of file CurvilinearState.h.

References alignCSCRings::s, and findQualityFiles::v.

76  {
77  return CurvilinearState(v.parameters() * s, v.z() * s, v.pzSign());
78 }

◆ operator+()

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

Definition at line 65 of file CurvilinearState.h.

References a, and b.

65  {
66  return CurvilinearState(a.parameters() + b.parameters(), a.z() + b.z(), a.pzSign());
67 }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

◆ operator-()

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

Definition at line 69 of file CurvilinearState.h.

References a, and b.

69  {
70  return CurvilinearState(a.parameters() - b.parameters(), a.z() - b.z(), a.pzSign());
71 }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

◆ operator/()

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

Definition at line 80 of file CurvilinearState.h.

References alignCSCRings::s, and findQualityFiles::v.

80  {
81  return CurvilinearState(v.parameters() / s, v.z() / s, v.pzSign());
82 }