#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) |
CartesianState operator* | ( | const CartesianState & | v, |
const CartesianState::Scalar & | s | ||
) | [inline] |
Definition at line 44 of file CartesianState.h.
References CartesianState::charge(), CartesianState::parameters(), and alignCSCRings::s.
{ return CartesianState( v.parameters()*s, v.charge()); }
CartesianState operator* | ( | const CartesianState::Scalar & | s, |
const CartesianState & | v | ||
) | [inline] |
Definition at line 47 of file CartesianState.h.
References CartesianState::charge(), CartesianState::parameters(), and alignCSCRings::s.
{ return CartesianState( v.parameters()*s, v.charge()); }
CartesianState operator+ | ( | const CartesianState & | a, |
const CartesianState & | b | ||
) | [inline] |
Definition at line 35 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
{ return CartesianState(a.parameters()+b.parameters(), a.charge()); }
CartesianState operator- | ( | const CartesianState & | a, |
const CartesianState & | b | ||
) | [inline] |
Definition at line 40 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
{ return CartesianState(a.parameters()-b.parameters(), a.charge()); }
CartesianState operator/ | ( | const CartesianState & | v, |
const CartesianState::Scalar & | s | ||
) | [inline] |
Definition at line 51 of file CartesianState.h.
References CartesianState::charge(), CartesianState::parameters(), and alignCSCRings::s.
{ return CartesianState( v.parameters()/s, v.charge()); }