ROOT  6.06/09
Reference Guide
Enumerations | Functions | Variables
rotationApplication.cxx File Reference
#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>
+ Include dependency graph for rotationApplication.cxx:

Go to the source code of this file.

Enumerations

enum  XYZ { X, Y, Z }
 

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< XYZVectormakeTestVectors ()
 
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 (bool forceRun=false)
 
int main ()
 

Variables

const double machEpsilon = pow (2.0, -52.0)
 
const double pi = 3.1415926535897932385
 

Enumeration Type Documentation

enum XYZ
Enumerator

Definition at line 230 of file rotationApplication.cxx.

Function Documentation

XYZVector ans ( TestRotation const &  t,
XYZVector const &  v_in 
)
template<typename Scalar1 , typename Scalar2 >
int closeEnough ( Scalar1  s1,
Scalar2  s2,
std::string const &  coord,
double  ticks 
)

Definition at line 78 of file rotationApplication.cxx.

Referenced by compare3D(), doTestL(), and testApplication().

template<class V1 , class V2 >
int compare3D ( const V1 &  v1,
const V2 &  v2,
double  ticks 
)

Definition at line 102 of file rotationApplication.cxx.

Referenced by testApplication().

double correctTicks ( double  ticks,
double  z,
double  r 
)

Definition at line 130 of file rotationApplication.cxx.

template<class R , class V >
int doTest ( TestRotation const &  testRotation,
XYZVector const &  testVector,
double  ticks 
)

Definition at line 395 of file rotationApplication.cxx.

template<class R , class V >
int doTestA ( XYZVector const &  testVector,
double  ticks 
)

Definition at line 547 of file rotationApplication.cxx.

template<class R , class C >
int doTestL ( TestRotation const &  testRotation,
XYZVector const &  testVector,
double  ticks 
)

Definition at line 415 of file rotationApplication.cxx.

template<class R , class C >
int doTestLA ( XYZVector const &  testVector,
double  ticks 
)

Definition at line 573 of file rotationApplication.cxx.

template<class R >
int doTestOfAxial ( XYZVector const &  testVector)

Definition at line 606 of file rotationApplication.cxx.

template<class R >
int doTestOfR ( TestRotation const &  testRotation,
XYZVector const &  testVector 
)

Definition at line 457 of file rotationApplication.cxx.

int exerciseAxialTest ( XYZVector const &  testVector)

Definition at line 659 of file rotationApplication.cxx.

Referenced by rotationApplication().

int exerciseTestCase ( TestRotation const &  testRotation,
XYZVector const &  testVector 
)

Definition at line 515 of file rotationApplication.cxx.

Referenced by rotationApplication().

int main ( )

Definition at line 724 of file rotationApplication.cxx.

std::vector<TestRotation> makeTestRotations ( )

Definition at line 285 of file rotationApplication.cxx.

Referenced by rotationApplication().

std::vector<XYZVector> makeTestVectors ( )

Definition at line 372 of file rotationApplication.cxx.

Referenced by rotationApplication().

std::ostream& operator<< ( std::ostream &  os,
const ForeignVector &  v 
)

Definition at line 451 of file rotationApplication.cxx.

int rotationApplication ( bool  forceRun = false)

Definition at line 692 of file rotationApplication.cxx.

Referenced by main().

Rotation3D rrr ( TestRotation const &  t)

Definition at line 240 of file rotationApplication.cxx.

Referenced by doTest(), doTestL(), and testTransform3D().

XYZVector rxv ( double  phi,
XYZVector  v 
)

Definition at line 212 of file rotationApplication.cxx.

Referenced by ans(), doTestA(), and doTestLA().

XYZVector ryv ( double  phi,
XYZVector  v 
)

Definition at line 218 of file rotationApplication.cxx.

Referenced by ans(), doTestA(), and doTestLA().

XYZVector rzv ( double  phi,
XYZVector  v 
)

Definition at line 224 of file rotationApplication.cxx.

Referenced by ans(), doTestA(), and doTestLA().

template<class R , class V >
int testApplication ( const R r,
const V &  v,
const XYZVector answer,
double  t 
)

Definition at line 159 of file rotationApplication.cxx.

Referenced by doTest(), doTestA(), doTestL(), and doTestLA().

Variable Documentation

const double machEpsilon = pow (2.0, -52.0)

Definition at line 74 of file rotationApplication.cxx.

const double pi = 3.1415926535897932385

Definition at line 282 of file rotationApplication.cxx.

Referenced by RooArgusBG::analyticalIntegral(), ROOT::Math::VavilovAccurate::Cdf(), ROOT::Math::VavilovAccurate::Cdf_c(), TProofPlayer::CheckMemUsage(), XrdProofdProofServMgr::CleanupProofServ(), TSpectrum2Painter::ColorCalculation(), TEvePolygonSetProjected::ComputeBBox(), 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(), RooAddPdf::evaluate(), TCurlyArc::ExecuteEvent(), TProofPerfAnalysis::FileProcPlot(), TEveGeoPolyShape::FillBuffer3D(), TProofPerfAnalysis::FillFileInfo(), TSpectrumTransform::FilterZonal(), TGraphPolargram::FindAlign(), THelix::FindClosestPhase(), TSpider::FindTextAlign(), TGraphPolargram::FindTextAngle(), TSpider::FindTextAngle(), TSpectrumFit::FitAwmi(), TSpectrum2Fit::FitAwmi(), TSpectrumFit::FitStiefel(), TSpectrum2Fit::FitStiefel(), TSpectrum2Transform::FourCos2(), TSpectrum2Transform::Fourier(), TSpectrumTransform::Fourier(), TSpectrum2Transform::General2(), TSpectrumTransform::GeneralExe(), TSpectrum2Transform::GeneralExe(), TSpectrumTransform::GeneralInv(), TSpectrum2Transform::GeneralInv(), genPoisson(), genPoisson2(), RooMultiVarGaussian::getAnalyticalIntegral(), TProof::HandleInputMessage(), TVirtualPacketizer::HandleTimer(), TProofPlayerSuperMaster::HandleTimer(), TEvePolygonSetProjected::MakePolygonsFromBP(), TGraphQQ::MakeQuantiles(), TTUBS::MakeTableOfCoSin(), TSPHE::MakeTableOfCoSin(), TPCON::MakeTableOfCoSin(), TTUBE::MakeTableOfCoSin(), TProofPlayerRemote::NotifyMemory(), TPie::Paint(), ROOT::Math::VavilovAccurate::Pdf(), piRandom(), TRandom::Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::Poisson(), TRandom::PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >::PoissonD(), TProofPlayerRemote::Progress(), TProofMgr::ReplaceSubdirs(), TEveLine::SetLineStyle(), TEveLine::SetLineWidth(), TEveLine::SetMarkerColor(), TEvePointSet::SetMarkerSize(), TEvePointSet::SetMarkerStyle(), TPerfStats::SetMemValues(), TPARA::SetPoints(), TGTRA::SetPoints(), TTRAP::SetPoints(), TEveLine::SetRnrLine(), TEveLine::SetRnrPoints(), TEveLine::SetSmooth(), TMath::StruveL0(), TMath::StruveL1(), TXProofServ::Terminate(), TProofServ::Terminate(), TSpectrumTransform::Transform(), TGLScene::UpdateSceneInfo(), TProofMgr::UploadFiles(), and TSpectrum2Fit::Volume().