CMS 3D CMS Logo

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

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

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

◆ operator*() [2/2]

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

Definition at line 41 of file CartesianState.h.

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

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

◆ operator+()

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

Definition at line 30 of file CartesianState.h.

30  {
31  return CartesianState(a.parameters() + b.parameters(), a.charge());
32 }

References a, and b.

◆ operator-()

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

Definition at line 34 of file CartesianState.h.

34  {
35  return CartesianState(a.parameters() - b.parameters(), a.charge());
36 }

References a, and b.

◆ operator/()

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

Definition at line 45 of file CartesianState.h.

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

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

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