#include "Math/GenVector/DisplacementVector3D.h"
#include "Math/GenVector/PositionVector3D.h"
#include "Math/GenVector/Cartesian3D.h"
#include "Math/GenVector/Polar3D.h"
#include "Math/GenVector/CylindricalEta3D.h"
#include "Math/GenVector/LorentzVector.h"
#include "Math/GenVector/Rotation3D.h"
#include "Math/GenVector/AxisAngle.h"
#include "Math/GenVector/EulerAngles.h"
#include "Math/GenVector/Quaternion.h"
#include "Math/GenVector/RotationZYX.h"
#include "Math/GenVector/RotationX.h"
#include "Math/GenVector/RotationY.h"
#include "Math/GenVector/RotationZ.h"
#include "Math/GenVector/VectorUtil.h"
#include "Math/Vector3Dfwd.h"
#include "CoordinateTraits.h"
#include "RotationTraits.h"
#include <iostream>
#include <limits>
#include <cmath>
#include <vector>
Go to the source code of this file.
Classes | |
struct | Precision< T1, T2 > |
struct | LessPreciseType< T1, T2, > |
struct | LessPreciseType< T1, T2, false > |
struct | correctedTicks< V > |
struct | correctedTicks< DisplacementVector3D< CylindricalEta3D< double > > > |
struct | correctedTicks< PositionVector3D< CylindricalEta3D< double > > > |
struct | TestRotation |
struct | ForeignVector |
Enumerations | |
enum | XYZ |
Functions | |
template<typename Scalar1, typename Scalar2> | |
int | closeEnough (Scalar1 s1, Scalar2 s2, std::string const &coord, double ticks) |
template<class V1, class V2> | |
int | compare3D (const V1 &v1, const V2 &v2, double ticks) |
double | correctTicks (double ticks, double z, double r) |
template<class R, class V> | |
int | testApplication (const R &r, const V &v, const XYZVector &answer, double t) |
XYZVector | rxv (double phi, XYZVector v) |
XYZVector | ryv (double phi, XYZVector v) |
XYZVector | rzv (double phi, XYZVector v) |
Rotation3D | rrr (TestRotation const &t) |
XYZVector | ans (TestRotation const &t, XYZVector const &v_in) |
std::vector< TestRotation > | makeTestRotations () |
std::vector< XYZVector > | makeTestVectors () |
template<class R, class V> | |
int | doTest (TestRotation const &testRotation, XYZVector const &testVector, double ticks) |
template<class R, class C> | |
int | doTestL (TestRotation const &testRotation, XYZVector const &testVector, double ticks) |
std::ostream & | operator<< (std::ostream &os, const ForeignVector &v) |
template<class R> | |
int | doTestOfR (TestRotation const &testRotation, XYZVector const &testVector) |
int | exerciseTestCase (TestRotation const &testRotation, XYZVector const &testVector) |
template<class R, class V> | |
int | doTestA (XYZVector const &testVector, double ticks) |
template<class R, class C> | |
int | doTestLA (XYZVector const &testVector, double ticks) |
template<class R> | |
int | doTestOfAxial (XYZVector const &testVector) |
int | exerciseAxialTest (XYZVector const &testVector) |
int | rotationApplication () |
int | main () |
Variables | |
const double | machEpsilon = pow (2.0, -52.0) |
const double | pi = 3.1415926535897932385 |
enum XYZ |
Definition at line 230 of file rotationApplication.cxx.
XYZVector ans | ( | TestRotation const & | t, | |
XYZVector const & | v_in | |||
) |
Definition at line 264 of file rotationApplication.cxx.
References i, rxv(), ryv(), rzv(), t, X, Y, and Z.
Referenced by doTest(), doTestL(), TRolke::EvalMonomial(), TRolke::EvalPolynomial(), executeGetCheckSum(), ROOT::Math::Cephes::igam(), ROOT::Math::Cephes::igamc(), ROOT::Math::Cephes::incbcf(), ROOT::Math::Cephes::incbd(), RooGExpModel::logErfC(), main(), ROOT::Math::RotationX::operator *(), ROOT::Math::RotationZ::operator *(), ROOT::Math::RotationY::operator *(), correctedTicks< PositionVector3D< CylindricalEta3D< double > > >::operator()(), correctedTicks< DisplacementVector3D< CylindricalEta3D< double > > >::operator()(), TStreamerInfo::ReadBuffer(), TXProofMgr::Rm(), and TRandom::Uniform().
int closeEnough | ( | Scalar1 | s1, | |
Scalar2 | s2, | |||
std::string const & | coord, | |||
double | ticks | |||
) |
Definition at line 130 of file rotationApplication.cxx.
References ROOT::Math::fabs().
Referenced by correctedTicks< PositionVector3D< CylindricalEta3D< double > > >::operator()(), and correctedTicks< DisplacementVector3D< CylindricalEta3D< double > > >::operator()().
int doTest | ( | TestRotation const & | testRotation, | |
XYZVector const & | testVector, | |||
double | ticks | |||
) |
Definition at line 395 of file rotationApplication.cxx.
References ans(), R, rrr(), testApplication(), testRotation(), testVector(), and V.
Definition at line 547 of file rotationApplication.cxx.
References rxv(), ryv(), rzv(), testApplication(), testVector(), and V.
int doTestL | ( | TestRotation const & | testRotation, | |
XYZVector const & | testVector, | |||
double | ticks | |||
) |
Definition at line 415 of file rotationApplication.cxx.
References ans(), closeEnough(), ROOT::Math::LorentzVector< CoordSystem >::E(), R, rrr(), sqrt(), t, testApplication(), testRotation(), testVector(), x, and y.
Definition at line 573 of file rotationApplication.cxx.
References rxv(), ryv(), rzv(), sqrt(), t, testApplication(), testVector(), x, and y.
int doTestOfAxial | ( | XYZVector const & | testVector | ) |
int doTestOfR | ( | TestRotation const & | testRotation, | |
XYZVector const & | testVector | |||
) |
Definition at line 457 of file rotationApplication.cxx.
References testRotation(), and testVector().
int exerciseAxialTest | ( | XYZVector const & | testVector | ) |
Definition at line 659 of file rotationApplication.cxx.
References testVector().
Referenced by rotationApplication().
int exerciseTestCase | ( | TestRotation const & | testRotation, | |
XYZVector const & | testVector | |||
) |
Definition at line 515 of file rotationApplication.cxx.
References testRotation(), and testVector().
Referenced by rotationApplication().
int main | ( | void | ) |
std::vector<TestRotation> makeTestRotations | ( | ) |
Definition at line 285 of file rotationApplication.cxx.
References phi, pi, t, TestRotation(), X, Y, and Z.
Referenced by rotationApplication().
std::vector<XYZVector> makeTestVectors | ( | ) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const ForeignVector & | v | |||
) |
Definition at line 451 of file rotationApplication.cxx.
int rotationApplication | ( | ) |
Definition at line 692 of file rotationApplication.cxx.
References exerciseAxialTest(), exerciseTestCase(), m, makeTestRotations(), makeTestVectors(), n, and vp.
Referenced by main().
Rotation3D rrr | ( | TestRotation const & | t | ) |
Definition at line 240 of file rotationApplication.cxx.
Referenced by doTest(), doTestL(), and testTransform3D().
Definition at line 212 of file rotationApplication.cxx.
References c, cos(), s, and sin().
Referenced by ans(), doTestA(), and doTestLA().
Definition at line 218 of file rotationApplication.cxx.
References c, cos(), s, and sin().
Referenced by ans(), doTestA(), and doTestLA().
Definition at line 224 of file rotationApplication.cxx.
References c, cos(), s, and sin().
Referenced by ans(), doTestA(), and doTestLA().
int testApplication | ( | const R & | r, | |
const V & | v, | |||
const XYZVector & | answer, | |||
double | t | |||
) |
Definition at line 159 of file rotationApplication.cxx.
References closeEnough(), compare3D(), name, and V.
Referenced by doTest(), doTestA(), doTestL(), and doTestLA().
const double machEpsilon = pow (2.0, -52.0) |
Definition at line 74 of file rotationApplication.cxx.
Definition at line 282 of file rotationApplication.cxx.
Referenced by RooArgusBG::analyticalIntegral(), anim(), Animate(), ROOT::Math::VavilovAccurate::Cdf(), ROOT::Math::VavilovAccurate::Cdf_c(), TProofPlayer::CheckMemUsage(), XrdProofdProofServMgr::CleanupProofServ(), XrdSecProtocolgsi::ClientDoInit(), TSpectrum2Painter::ColorCalculation(), TEvePolygonSetProjected::ComputeBBox(), TQpLinSolverBase::ComputeDiagonals(), XrdProofdProtocol::Configure(), XrdXrootdProtocol::Configure(), ROOT::Math::gv_detail::convert(), ROOT::Math::gv_detail::correctByPi(), TFumili::Derivatives(), TSpectrum2Fit::Derpa2(), TSpectrum2Fit::Derpro(), TSpectrum2Fit::Derpsigmax(), TSpectrum2Fit::Derpsigmay(), TMath::DiLog(), TEvePolygonSetProjected::DumpBuffer3D(), TEvePolygonSetProjected::DumpPolys(), TSpectrumTransform::Enhance(), TCurlyArc::ExecuteEvent(), TEveGeoPolyShape::FillBuffer3D(), TSpectrumTransform::FilterZonal(), TGraphPolargram::FindAlign(), THelix::FindClosestPhase(), XrdCryptoX509Chain::FindIssuer(), TSpider::FindTextAlign(), TGraphPolargram::FindTextAngle(), TSpider::FindTextAngle(), TSpectrum2Fit::FitAwmi(), TSpectrumFit::FitAwmi(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), TSpectrum2Transform::FourCos2(), TSpectrumTransform::Fourier(), TSpectrum2Transform::Fourier(), gdk_rgb_32_to_stage(), gdk_rgb_gray_to_stage(), gdk_rgb_indexed_to_stage(), TSpectrum2Transform::General2(), TSpectrum2Transform::GeneralExe(), TSpectrumTransform::GeneralExe(), TSpectrum2Transform::GeneralInv(), TSpectrumTransform::GeneralInv(), genPoisson(), genPoisson2(), XrdProtLoad::getProtocol(), XrdProtLoad::getProtocolPort(), TProof::HandleInputMessage(), TVirtualPacketizer::HandleTimer(), TProofPlayerSuperMaster::HandleTimer(), XrdSecProtocolgsi::InitProxy(), JeffreysPriorDemo(), XrdProtLoad::Load(), TEvePolygonSetProjected::MakePolygonsFromBP(), TGraphQQ::MakeQuantiles(), TPCON::MakeTableOfCoSin(), TSPHE::MakeTableOfCoSin(), TTUBS::MakeTableOfCoSin(), TTUBE::MakeTableOfCoSin(), makeTestRotations(), TProofPlayerRemote::NotifyMemory(), XrdCmsPInfo::Or(), TPie::Paint(), ROOT::Math::VavilovAccurate::Pdf(), piRandom(), TRandom::Poisson(), TRandom::PoissonD(), XrdProtLoad::Port(), TProofPlayerSuperMaster::Progress(), TProofPlayerRemote::Progress(), TProofPlayer::Progress(), XrdSecProtocolgsi::QueryProxy(), XrdCryptoX509Chain::Reorder(), RunTrigoFletcher(), XrdSecProtocolgsi::ServerDoCertreq(), XrdCmsPInfo::Set(), TEveLine::SetLineStyle(), TEveLine::SetLineWidth(), TEveLine::SetMarkerColor(), TEvePointSet::SetMarkerSize(), TEvePointSet::SetMarkerStyle(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TEveLine::SetRnrLine(), TEveLine::SetRnrPoints(), TEveLine::SetSmooth(), TrigoFletcherFunction::StartPoints(), TMath::StruveL0(), TMath::StruveL1(), TProofServ::Terminate(), TXProofServ::Terminate(), TestJeffreysGaussMean(), TestJeffreysGaussMeanAndSigma(), TestJeffreysGaussSigma(), testRotation(), TSpectrumTransform::Transform(), TGLScene::UpdateSceneInfo(), TSpectrum2Fit::Volume(), XrdCmsPList::XrdCmsPList(), XrdgetProtocol(), XrdgetProtocolPort(), XrdProofdManager::XrdProofdManager(), XrdProofdProofServMgr::XrdProofdProofServMgr(), XrdRootdProtocol::XrdRootdProtocol(), and XrdROOTMgr::XrdROOTMgr().