Handling of 3-vectors in various reference frames. More...
#include "Nc3Vector.h"
Handling of 3-vectors in various reference frames.
Definition at line 14 of file Nc3Vector.h.
Public Member Functions | |
| Nc3Vector () | |
| Nc3Vector (const Nc3Vector &v) | |
| virtual | ~Nc3Vector () |
| Double_t | ConvertAngle (Double_t a, TString in, TString out) const |
| Nc3Vector | Cross (Nc3Vector &q) const |
| virtual void | Data (TString f="car", TString u="rad") const |
| Double_t | Dot (Nc3Vector &q) |
| void | GetErrors (Double_t *e, TString f, TString u="rad") const |
| void | GetErrors (Float_t *e, TString f, TString u="rad") const |
| Double_t | GetNorm () |
| virtual Double_t | GetOpeningAngle (Nc3Vector &q, TString u="rad") |
| Nc3Vector | GetPrimed (TRotMatrix *m) const |
| Double_t | GetPseudoRapidity () |
| Double_t | GetResultError () const |
| Nc3Vector | GetUnprimed (TRotMatrix *m) const |
| Nc3Vector | GetVecLong () const |
| void | GetVector (Double_t *v, TString f, TString u="rad") const |
| void | GetVector (Float_t *v, TString f, TString u="rad") const |
| Nc3Vector | GetVecTrans () const |
| Double_t | GetX (Int_t i, TString f, TString u="rad") |
| Int_t | HasErrors () const |
| Int_t | HasVector () const |
| virtual void | Load (Nc3Vector &q) |
| Nc3Vector | operator* (Double_t s) const |
| Nc3Vector & | operator*= (Double_t s) |
| Nc3Vector | operator+ (Nc3Vector &q) const |
| Nc3Vector & | operator+= (Nc3Vector &q) |
| Nc3Vector | operator- (Nc3Vector &q) const |
| Nc3Vector & | operator-= (Nc3Vector &q) |
| Nc3Vector | operator/ (Double_t s) const |
| Nc3Vector & | operator/= (Double_t s) |
| Nc3Vector & | operator= (const Nc3Vector &q) |
| void | PrintAngle (Double_t a, TString in, TString out, Int_t ndig=1, Bool_t align=kFALSE) const |
| void | SetErrors (Double_t *e, TString f, TString u="rad") |
| void | SetErrors (Double_t e1, Double_t e2, Double_t e3, TString f, TString u="rad") |
| void | SetErrors (Float_t *e, TString f, TString u="rad") |
| void | SetVector (Double_t *v, TString f, TString u="rad") |
| void | SetVector (Double_t v1, Double_t v2, Double_t v3, TString f, TString u="rad") |
| void | SetVector (Float_t *v, TString f, TString u="rad") |
| virtual void | SetZero () |
Protected Attributes | |
| Double32_t | fDresult |
| ! Error on scalar result (e.g. norm or dotproduct) | |
| Int_t | fNv |
| Double32_t * | fV |
| Nc3Vector::Nc3Vector | ( | ) |
Definition at line 110 of file Nc3Vector.cxx.
|
virtual |
Definition at line 124 of file Nc3Vector.cxx.
| Nc3Vector::Nc3Vector | ( | const Nc3Vector & | v | ) |
Definition at line 139 of file Nc3Vector.cxx.
| Double_t Nc3Vector::ConvertAngle | ( | Double_t | a, |
| TString | in, | ||
| TString | out ) const |
Definition at line 1616 of file Nc3Vector.cxx.
Definition at line 1016 of file Nc3Vector.cxx.
|
virtual |
Reimplemented in NcDetectorUnit, NcDevice, NcPosition, NcSignal, and NcVertex.
Definition at line 803 of file Nc3Vector.cxx.
| Double_t Nc3Vector::Dot | ( | Nc3Vector & | q | ) |
Definition at line 965 of file Nc3Vector.cxx.
| void Nc3Vector::GetErrors | ( | Double_t * | e, |
| TString | f, | ||
| TString | u = "rad" ) const |
Definition at line 621 of file Nc3Vector.cxx.
| void Nc3Vector::GetErrors | ( | Float_t * | e, |
| TString | f, | ||
| TString | u = "rad" ) const |
Definition at line 780 of file Nc3Vector.cxx.
| Double_t Nc3Vector::GetNorm | ( | ) |
Definition at line 910 of file Nc3Vector.cxx.
|
virtual |
Definition at line 1554 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::GetPrimed | ( | TRotMatrix * | m | ) | const |
Definition at line 1438 of file Nc3Vector.cxx.
| Double_t Nc3Vector::GetPseudoRapidity | ( | ) |
Definition at line 933 of file Nc3Vector.cxx.
| Double_t Nc3Vector::GetResultError | ( | ) | const |
Definition at line 1004 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::GetUnprimed | ( | TRotMatrix * | m | ) | const |
Definition at line 1476 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::GetVecLong | ( | ) | const |
Definition at line 1401 of file Nc3Vector.cxx.
| void Nc3Vector::GetVector | ( | Double_t * | v, |
| TString | f, | ||
| TString | u = "rad" ) const |
Definition at line 394 of file Nc3Vector.cxx.
| void Nc3Vector::GetVector | ( | Float_t * | v, |
| TString | f, | ||
| TString | u = "rad" ) const |
Definition at line 486 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::GetVecTrans | ( | ) | const |
Definition at line 1367 of file Nc3Vector.cxx.
| Double_t Nc3Vector::GetX | ( | Int_t | i, |
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 1517 of file Nc3Vector.cxx.
| Int_t Nc3Vector::HasErrors | ( | ) | const |
Definition at line 895 of file Nc3Vector.cxx.
| Int_t Nc3Vector::HasVector | ( | ) | const |
Definition at line 880 of file Nc3Vector.cxx.
|
virtual |
Definition at line 191 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::operator* | ( | Double_t | s | ) | const |
Definition at line 1139 of file Nc3Vector.cxx.
| Nc3Vector & Nc3Vector::operator*= | ( | Double_t | s | ) |
Definition at line 1291 of file Nc3Vector.cxx.
Definition at line 1061 of file Nc3Vector.cxx.
Definition at line 1219 of file Nc3Vector.cxx.
Definition at line 1100 of file Nc3Vector.cxx.
Definition at line 1255 of file Nc3Vector.cxx.
| Nc3Vector Nc3Vector::operator/ | ( | Double_t | s | ) | const |
Definition at line 1175 of file Nc3Vector.cxx.
| Nc3Vector & Nc3Vector::operator/= | ( | Double_t | s | ) |
Definition at line 1325 of file Nc3Vector.cxx.
Definition at line 157 of file Nc3Vector.cxx.
| void Nc3Vector::PrintAngle | ( | Double_t | a, |
| TString | in, | ||
| TString | out, | ||
| Int_t | ndig = 1, | ||
| Bool_t | align = kFALSE ) const |
Definition at line 1754 of file Nc3Vector.cxx.
| void Nc3Vector::SetErrors | ( | Double_t * | e, |
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 509 of file Nc3Vector.cxx.
| void Nc3Vector::SetErrors | ( | Double_t | e1, |
| Double_t | e2, | ||
| Double_t | e3, | ||
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 594 of file Nc3Vector.cxx.
| void Nc3Vector::SetErrors | ( | Float_t * | e, |
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 752 of file Nc3Vector.cxx.
| void Nc3Vector::SetVector | ( | Double_t * | v, |
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 230 of file Nc3Vector.cxx.
| void Nc3Vector::SetVector | ( | Double_t | v1, |
| Double_t | v2, | ||
| Double_t | v3, | ||
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 371 of file Nc3Vector.cxx.
| void Nc3Vector::SetVector | ( | Float_t * | v, |
| TString | f, | ||
| TString | u = "rad" ) |
Definition at line 462 of file Nc3Vector.cxx.
|
virtual |
Definition at line 213 of file Nc3Vector.cxx.
|
protected |
! Error on scalar result (e.g. norm or dotproduct)
Definition at line 61 of file Nc3Vector.h.
|
protected |
Definition at line 59 of file Nc3Vector.h.
|
protected |
Definition at line 60 of file Nc3Vector.h.