#include <Riostream.h>
#include <TMath.h>
#include <TVector3.h>
#include <TLorentzVector.h>
#include <TRotation.h>
#include <TLorentzRotation.h>
#include <assert.h>
Go to the source code of this file.
Functions | |
Bool_t | approx (Double_t a, Double_t b, Double_t eps) |
Bool_t | test (const TVector3 &p, Double_t x, Double_t y, Double_t z, Double_t eps) |
Bool_t | test (const TLorentzVector &p, Double_t x, Double_t y, Double_t z, Double_t e, Double_t eps) |
Bool_t | test (const TLorentzVector &p, const TLorentzVector &q, Double_t eps) |
Double_t | SQR (Double_t x) |
int | TestVector3 () |
int | TestLorentzVector () |
int | TestRotation () |
int | TestVectors () |
Variables | |
Double_t | DEPS = 1.0e-14 |
Double_t | FEPS = 1.0e-6 |
Definition at line 17 of file TestVectors.cxx.
References TMath::Abs(), and kFALSE.
Referenced by test(), TestLorentzVector(), TestRotation(), and TestVector3().
Definition at line 63 of file TestVectors.cxx.
Bool_t test | ( | const TLorentzVector & | p, | |
const TLorentzVector & | q, | |||
Double_t | eps | |||
) |
Definition at line 25 of file TestVectors.cxx.
References approx(), kFALSE, and p.
Referenced by cv_next_word(), cv_prev_word(), TMLPAnalyzer::DrawNetwork(), TPainter3dAlgorithms::FillPolygonBorder(), TMLPAnalyzer::GatherInformations(), TAuthenticate::GenRSAKeys(), TProfileHelper::GetBinError(), gtreeTableTest(), h1analysisProxy_Process(), TRolke::Interval(), JeffreysPriorDemo(), main(), ntupleTableTest(), TGraphPolargram::PaintPolarDivisions(), TGraphPolargram::PaintRadialDivisions(), TMVA::VariableNormalizeTransform::ReadTransformationFromStream(), ROOT::RpdGenRSAKeys(), TMultiLayerPerceptron::SetTestDataSet(), simpleTableTest(), staffTableTest(), test_smatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_smatrix_kalman(), TestRunner< NDIM1, NDIM2 >::test_smatrix_sym_kalman(), test_smatrix_sym_kalman(), TestJeffreysGaussMean(), TestJeffreysGaussSigma(), TestLorentzVector(), TestVector3(), TMultiLayerPerceptron::TMultiLayerPerceptron(), and TProofServ::TProofServ().
int TestLorentzVector | ( | ) |
Definition at line 312 of file TestVectors.cxx.
References approx(), TLorentzVector::Beta(), TLorentzVector::Boost(), TLorentzVector::BoostVector(), DEPS, f2, FEPS, TLorentzVector::Gamma(), TVector3::Mag(), TLorentzVector::Mag(), ROOT::Math::Mag(), TLorentzVector::Mag2(), TVector3::Mag2(), ROOT::Math::Mag2(), p2(), TLorentzVector::Perp(), TLorentzVector::Perp2(), phi, TLorentzVector::Phi(), r1, r2, r3, r4, r5, TLorentzVector::RotateY(), TLorentzVector::RotateZ(), SQR, TMath::Sqrt(), test(), theta, TLorentzVector::Theta(), TLorentzVector::Transform(), and TLorentzVector::Vect().
Referenced by TestVectors().
int TestRotation | ( | ) |
Definition at line 493 of file TestVectors.cxx.
References A, TMath::Abs(), TMath::ACos(), approx(), TMath::ATan2(), B, C, TMath::Cos(), DEPS, i, TRotation::Inverse(), TRotation::Invert(), k, TRotation::PhiX(), TRotation::PhiY(), TRotation::PhiZ(), TMath::Pi(), R, TRotation::RotateY(), TRotation::RotateZ(), TMath::Sin(), TRotation::ThetaX(), TRotation::ThetaY(), TRotation::ThetaZ(), V, TVector3::X(), TRotation::XX(), TRotation::XY(), TRotation::XZ(), TVector3::Y(), TRotation::YX(), TRotation::YY(), TRotation::YZ(), TVector3::Z(), TRotation::ZX(), TRotation::ZY(), and TRotation::ZZ().
Referenced by makeTestRotations(), and TestVectors().
int TestVector3 | ( | ) |
Definition at line 78 of file TestVectors.cxx.
References TVector3::Angle(), approx(), TVector3::CosTheta(), ROOT::Math::VectorUtil::CosTheta(), TVector3::Cross(), DEPS, TVector3::Dot(), f2, FEPS, TRotation::Inverse(), TVector3::Mag(), TVector3::Mag2(), TVector3::Perp(), TVector3::Perp2(), TVector3::Phi(), TMath::Pi(), r1, r2, r3, r4, r5, TVector3::Rotate(), TRotation::Rotate(), TVector3::RotateY(), TVector3::RotateZ(), TMath::Sqrt(), test(), and TVector3::Theta().
Referenced by TestVectors().
int TestVectors | ( | ) |
Definition at line 69 of file TestVectors.cxx.
References TestLorentzVector(), TestRotation(), and TestVector3().
Definition at line 14 of file TestVectors.cxx.
Referenced by TestLorentzVector(), TestRotation(), and TestVector3().
Definition at line 15 of file TestVectors.cxx.
Referenced by TestLorentzVector(), and TestVector3().