#include "DataFormats/GeometryVector/interface/Basic3DVector.h"
#include "TrackPropagation/RungeKutta/interface/VectorDoublet.h"
Go to the source code of this file.
Classes | |
class | CartesianState |
Functions | |
CartesianState | operator * (const CartesianState::Scalar &s, const CartesianState &v) |
CartesianState | operator * (const CartesianState &v, const CartesianState::Scalar &s) |
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::Scalar & | s, | |
const CartesianState & | v | |||
) | [inline] |
Definition at line 46 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
00046 { 00047 return CartesianState( v.parameters()*s, v.charge()); 00048 }
CartesianState operator * | ( | const CartesianState & | v, | |
const CartesianState::Scalar & | s | |||
) | [inline] |
Definition at line 43 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
00043 { 00044 return CartesianState( v.parameters()*s, v.charge()); 00045 }
CartesianState operator+ | ( | const CartesianState & | a, | |
const CartesianState & | b | |||
) | [inline] |
Definition at line 34 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
00034 { 00035 return CartesianState(a.parameters()+b.parameters(), a.charge()); 00036 }
CartesianState operator- | ( | const CartesianState & | a, | |
const CartesianState & | b | |||
) | [inline] |
Definition at line 39 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
00039 { 00040 return CartesianState(a.parameters()-b.parameters(), a.charge()); 00041 }
CartesianState operator/ | ( | const CartesianState & | v, | |
const CartesianState::Scalar & | s | |||
) | [inline] |
Definition at line 50 of file CartesianState.h.
References CartesianState::charge(), and CartesianState::parameters().
00050 { 00051 return CartesianState( v.parameters()/s, v.charge()); 00052 }