CMS 3D CMS Logo

Classes | Functions
CartesianState.h File Reference
#include "FWCore/Utilities/interface/Visibility.h"
#include "DataFormats/GeometryVector/interface/Basic3DVector.h"
#include "VectorDoublet.h"

Go to the source code of this file.

Classes

class  CartesianState
 

Functions

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

Function Documentation

◆ operator*() [1/2]

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

Definition at line 38 of file CartesianState.h.

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

38  {
39  return CartesianState(v.parameters() * s, v.charge());
40 }

◆ operator*() [2/2]

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

Definition at line 41 of file CartesianState.h.

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

41  {
42  return CartesianState(v.parameters() * s, v.charge());
43 }

◆ operator+()

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

Definition at line 30 of file CartesianState.h.

References a, and b.

30  {
31  return CartesianState(a.parameters() + b.parameters(), a.charge());
32 }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

◆ operator-()

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

Definition at line 34 of file CartesianState.h.

References a, and b.

34  {
35  return CartesianState(a.parameters() - b.parameters(), a.charge());
36 }
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

◆ operator/()

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

Definition at line 45 of file CartesianState.h.

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

45  {
46  return CartesianState(v.parameters() / s, v.charge());
47 }