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.

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

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

◆ operator*() [2/2]

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

Definition at line 76 of file CurvilinearState.h.

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

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

◆ operator+()

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

Definition at line 65 of file CurvilinearState.h.

65  {
66  return CurvilinearState(a.parameters() + b.parameters(), a.z() + b.z(), a.pzSign());
67 }

References a, and b.

◆ operator-()

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

Definition at line 69 of file CurvilinearState.h.

69  {
70  return CurvilinearState(a.parameters() - b.parameters(), a.z() - b.z(), a.pzSign());
71 }

References a, and b.

◆ operator/()

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

Definition at line 80 of file CurvilinearState.h.

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

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

findQualityFiles.v
v
Definition: findQualityFiles.py:179
alignCSCRings.s
s
Definition: alignCSCRings.py:92
b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
CurvilinearState
Definition: CurvilinearState.h:21