VectorTest< Dim > Class Template Reference

List of all members.

Public Types

typedef std::vector< double
>::const_iterator 
DataIt

Public Member Functions

 VectorTest (int n1, int n2)
void print (TStopwatch &time, std::string s)
int check (std::string name, double s1, double s2, double s3, double scale=1)
void genData ()
template<class V>
void testCreate (std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
void testCreate2 (std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
void testCreate2 (std::vector< TVector2 * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
void clear (std::vector< V * > &dataV)
template<class V>
double addXY (const V &v)
double addXY (const SVector< double, 2 > &v)
template<class V>
double getSum (const V &v1, const V &v2)
double getSum (const SVector< double, 2 > &v1, const SVector< double, 2 > &v2)
template<class V>
double dotProd (const V &v1, const V &v2)
double dotProd (const XYVector &v1, const XYVector &v2)
double dotProd (const SVector< double, 2 > &v1, const SVector< double, 2 > &v2)
template<class V>
double testAddition (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testAddition2 (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testAddition3 (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testDotProduct (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testScale (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testScale2 (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testOperations (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double dPhi (V &v1, V &v2)
template<class V>
double testDeltaPhi (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V1, class V2>
void testConversion (std::vector< V1 * > &dataV1, std::vector< V2 * > &dataV2, TStopwatch &tim, double &t, std::string s)
template<class V, class R>
double testRotation (std::vector< V * > &dataV, double rotAngle, TStopwatch &tim, double &t, std::string s)
 VectorTest (int n1, int n2)
void print (TStopwatch &time, std::string s)
int check (std::string name, double s1, double s2, double s3, double scale=1)
void genData ()
template<class V>
void testCreate (std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testVectorAddition (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class P>
double testPointAddition (const std::vector< P * > &dataP, TStopwatch &tim, double &t, std::string s)
template<class V>
double getSum (const V &v)
template<class V>
double testTranslation (std::vector< V * > &dataV, const Translation3D &tr, TStopwatch &tim, double &t, std::string s)
template<class V, class T>
double testTransform (std::vector< V * > &dataV, const T &trans, TStopwatch &tim, double &t, std::string s)
template<class V, class T1, class T2>
double testTransformProd (std::vector< V * > &dataV, const T1 &trans, const T2 &, TStopwatch &tim, double &t, std::string s)
template<class V, class T1, class T2>
double testTransformProd2 (std::vector< V * > &dataV, const T1 &trans, const T2 &, TStopwatch &tim, double &t, std::string s)
template<class V, class T1, class T2>
double testTransformProd3 (std::vector< V * > &dataV, const T1 &trans1, const T2 &trans2, TStopwatch &tim, double &t, std::string s)
 VectorTest (int n1, int n2=0)
double TotalTime () const
double Sum () const
int check (std::string name, double s1, double s2, double scale=1)
void print (std::string name)
void genData ()
void genDataN ()
template<class V>
void testCreate (std::vector< V > &dataV)
template<class V>
void testCreateAndSet (std::vector< V > &dataV)
template<class V>
double testAddition (const std::vector< V > &dataV)
template<class V>
double testOperations (const std::vector< V > &dataV)
template<class V>
double testDelta (const std::vector< V > &dataV)
template<class V1, class V2>
void testConversion (std::vector< V1 > &dataV1, std::vector< V2 > &dataV2)
template<class V, class R>
double testRotation (std::vector< V > &dataV)
template<class V>
double testWrite (const std::vector< V > &dataV, std::string typeName="", bool compress=false)
template<class V>
int testRead (std::vector< V > &dataV)
template<class V>
void testCreateSV (std::vector< V > &dataV)
template<class V>
double testAdditionSV (const std::vector< V > &dataV)
template<class V>
double testAdditionTR (const std::vector< V > &dataV)
 VectorTest (int n1, int n2)
void print (TStopwatch &time, std::string s)
int check (std::string name, double s1, double s2, double s3, double scale=1)
void genData ()
template<class V>
void testCreate (std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
void testCreate2 (std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
void clear (std::vector< V * > &dataV)
template<class V>
double testAddition (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
double testScale (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
bool cutPtEtaAndMass (const V &v)
template<class V>
bool cutPtEta (const V &v, double ptMin, double etaMax)
template<class V>
double testDeltaR (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
int testAnalysis (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V>
int testAnalysis2 (const std::vector< V * > &dataV, TStopwatch &tim, double &t, std::string s)
template<class V1, class V2>
void testConversion (std::vector< V1 * > &dataV1, std::vector< V2 * > &dataV2, TStopwatch &tim, double &t, std::string s)
template<class V, class R>
double testRotation (std::vector< V * > &dataV, const R &rot, TStopwatch &tim, double &t, std::string s)
template<class V, class M>
double testMatVec (std::vector< V * > &dataV, const M &mat, TStopwatch &tim, double &t, std::string s)
template<class V, class B>
double testBoost1 (std::vector< V * > &dataV, const B &bv, TStopwatch &tim, double &t, std::string s)
template<class V, class B>
double testBoost2 (std::vector< V * > &dataV, const B &bv, TStopwatch &tim, double &t, std::string s)
double testBoost_TL (std::vector< TLorentzVector * > &dataV, const TVector3 &bv, TStopwatch &tim, double &t, std::string s)
template<class V>
double testBoostX1 (std::vector< V * > &dataV, double beta, TStopwatch &tim, double &t, std::string s)
template<class V>
double testBoostX2 (std::vector< V * > &dataV, double beta, TStopwatch &tim, double &t, std::string s)

Private Attributes

std::vector< doubledataX
std::vector< doubledataY
size_t nGen
size_t n2Loop
std::vector< doubledataX
std::vector< doubledataY
std::vector< doubledataZ
std::vector< doubledataX
std::vector< doubledataY
std::vector< doubledataZ
std::vector< doubledataE
int nGen
int n2Loop
double fSum
std::vector< doubledataX
std::vector< doubledataY
std::vector< doubledataZ
std::vector< doubledataE

Detailed Description

template<int Dim>
class VectorTest< Dim >

Definition at line 66 of file stress2D.cxx.


Member Typedef Documentation

template<int Dim>
typedef std::vector<double>::const_iterator VectorTest< Dim >::DataIt

Definition at line 825 of file stressMathCore.cxx.


Constructor & Destructor Documentation

template<int Dim>
VectorTest< Dim >::VectorTest ( int  n1,
int  n2 
) [inline]

Definition at line 80 of file stress2D.cxx.

template<int Dim>
VectorTest< Dim >::VectorTest ( int  n1,
int  n2 
) [inline]

Definition at line 34 of file stress3D.cxx.

template<int Dim>
VectorTest< Dim >::VectorTest ( int  n1,
int  n2 = 0 
) [inline]

Definition at line 740 of file stressMathCore.cxx.

References gTotTime.

template<int Dim>
VectorTest< Dim >::VectorTest ( int  n1,
int  n2 
) [inline]

Definition at line 87 of file stressVector.cxx.


Member Function Documentation

template<int Dim>
void VectorTest< Dim >::print ( TStopwatch time,
std::string  s 
) [inline]

Definition at line 88 of file stress2D.cxx.

References pr(), and TStopwatch::RealTime().

Referenced by VectorTest< Dim >::testAddition(), VectorTest< Dim >::testAddition2(), VectorTest< Dim >::testAddition3(), VectorTest< Dim >::testAnalysis(), VectorTest< Dim >::testAnalysis2(), VectorTest< Dim >::testBoost1(), VectorTest< Dim >::testBoost2(), VectorTest< Dim >::testBoost_TL(), VectorTest< Dim >::testBoostX1(), VectorTest< Dim >::testBoostX2(), VectorTest< Dim >::testConversion(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreate2(), VectorTest< Dim >::testDeltaPhi(), VectorTest< Dim >::testDeltaR(), VectorTest< Dim >::testDotProduct(), VectorTest< Dim >::testMatVec(), VectorTest< Dim >::testOperations(), VectorTest< Dim >::testPointAddition(), VectorTest< Dim >::testRotation(), VectorTest< Dim >::testScale(), VectorTest< Dim >::testScale2(), VectorTest< Dim >::testTransform(), VectorTest< Dim >::testTransformProd(), VectorTest< Dim >::testTransformProd2(), VectorTest< Dim >::testTransformProd3(), VectorTest< Dim >::testTranslation(), and VectorTest< Dim >::testVectorAddition().

template<int Dim>
int VectorTest< Dim >::check ( std::string  name,
double  s1,
double  s2,
double  s3,
double  scale = 1 
) [inline]

Definition at line 97 of file stress2D.cxx.

References RootCsg::epsilon, ROOT::Math::fabs(), and pr().

template<int Dim>
void VectorTest< Dim >::genData (  )  [inline]

Definition at line 109 of file stress2D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, TRandom::Exp(), i, n, VectorTest< Dim >::nGen, phi, and TRandom3::Rndm().

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate ( std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 130 of file stress2D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate2 ( std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 145 of file stress2D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
void VectorTest< Dim >::testCreate2 ( std::vector< TVector2 * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 158 of file stress2D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

template<int Dim>
template<class V>
void VectorTest< Dim >::clear ( std::vector< V * > &  dataV  )  [inline]

Definition at line 189 of file stress2D.cxx.

References i, p, and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::addXY ( const V &  v  )  [inline]

Definition at line 199 of file stress2D.cxx.

Referenced by VectorTest< Dim >::testAddition(), VectorTest< Dim >::testAddition2(), VectorTest< Dim >::testOperations(), VectorTest< Dim >::testRotation(), VectorTest< Dim >::testScale(), and VectorTest< Dim >::testScale2().

template<int Dim>
double VectorTest< Dim >::addXY ( const SVector< double, 2 > &  v  )  [inline]

Definition at line 202 of file stress2D.cxx.

template<int Dim>
template<class V>
double VectorTest< Dim >::getSum ( const V &  v1,
const V &  v2 
) [inline]

Definition at line 206 of file stress2D.cxx.

Referenced by VectorTest< Dim >::testAddition3(), VectorTest< Dim >::testTransform(), VectorTest< Dim >::testTransformProd(), VectorTest< Dim >::testTransformProd2(), VectorTest< Dim >::testTransformProd3(), and VectorTest< Dim >::testTranslation().

template<int Dim>
double VectorTest< Dim >::getSum ( const SVector< double, 2 > &  v1,
const SVector< double, 2 > &  v2 
) [inline]

Definition at line 210 of file stress2D.cxx.

References v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::dotProd ( const V &  v1,
const V &  v2 
) [inline]

Definition at line 215 of file stress2D.cxx.

Referenced by VectorTest< Dim >::testDotProduct(), and VectorTest< Dim >::testOperations().

template<int Dim>
double VectorTest< Dim >::dotProd ( const XYVector v1,
const XYVector v2 
) [inline]

Definition at line 219 of file stress2D.cxx.

References v1.

template<int Dim>
double VectorTest< Dim >::dotProd ( const SVector< double, 2 > &  v1,
const SVector< double, 2 > &  v2 
) [inline]

Definition at line 223 of file stress2D.cxx.

References Dot(), and v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAddition ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 238 of file stress2D.cxx.

References VectorTest< Dim >::addXY(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAddition2 ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 255 of file stress2D.cxx.

References VectorTest< Dim >::addXY(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAddition3 ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 272 of file stress2D.cxx.

References VectorTest< Dim >::getSum(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testDotProduct ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 294 of file stress2D.cxx.

References VectorTest< Dim >::dotProd(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testScale ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 316 of file stress2D.cxx.

References VectorTest< Dim >::addXY(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testScale2 ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 333 of file stress2D.cxx.

References VectorTest< Dim >::addXY(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testOperations ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 351 of file stress2D.cxx.

References a, VectorTest< Dim >::addXY(), VectorTest< Dim >::dotProd(), i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::dPhi ( V &  v1,
V &  v2 
) [inline]

Definition at line 374 of file stress2D.cxx.

Referenced by VectorTest< Dim >::testDeltaPhi().

template<int Dim>
template<class V>
double VectorTest< Dim >::testDeltaPhi ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 386 of file stress2D.cxx.

References VectorTest< Dim >::dPhi(), i, j, min, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V1, class V2>
void VectorTest< Dim >::testConversion ( std::vector< V1 * > &  dataV1,
std::vector< V2 * > &  dataV2,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 467 of file stress2D.cxx.

References VectorTest< Dim >::dataX, i, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V2.

template<int Dim>
template<class V, class R>
double VectorTest< Dim >::testRotation ( std::vector< V * > &  dataV,
double  rotAngle,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 484 of file stress2D.cxx.

References VectorTest< Dim >::addXY(), i, min, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
void VectorTest< Dim >::print ( TStopwatch time,
std::string  s 
) [inline]

Definition at line 45 of file stress3D.cxx.

References pr(), and TStopwatch::RealTime().

template<int Dim>
int VectorTest< Dim >::check ( std::string  name,
double  s1,
double  s2,
double  s3,
double  scale = 1 
) [inline]

Definition at line 54 of file stress3D.cxx.

References RootCsg::epsilon, and ROOT::Math::fabs().

template<int Dim>
void VectorTest< Dim >::genData (  )  [inline]

Definition at line 64 of file stress3D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, i, n, VectorTest< Dim >::nGen, and phi.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate ( std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 88 of file stress3D.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testVectorAddition ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 103 of file stress3D.cxx.

References i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class P>
double VectorTest< Dim >::testPointAddition ( const std::vector< P * > &  dataP,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 117 of file stress3D.cxx.

References i, min, n, VectorTest< Dim >::n2Loop, ROOT::Math::Cephes::P, p2(), VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

template<int Dim>
template<class V>
double VectorTest< Dim >::getSum ( const V &  v  )  [inline]

Definition at line 137 of file stress3D.cxx.

template<int Dim>
template<class V>
double VectorTest< Dim >::testTranslation ( std::vector< V * > &  dataV,
const Translation3D tr,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 144 of file stress3D.cxx.

References ROOT::Math::Translation3D::GetComponents(), VectorTest< Dim >::getSum(), i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class T>
double VectorTest< Dim >::testTransform ( std::vector< V * > &  dataV,
const T trans,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 165 of file stress3D.cxx.

References VectorTest< Dim >::getSum(), i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class T1, class T2>
double VectorTest< Dim >::testTransformProd ( std::vector< V * > &  dataV,
const T1 &  trans,
const T2 &  ,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 183 of file stress3D.cxx.

References VectorTest< Dim >::getSum(), i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class T1, class T2>
double VectorTest< Dim >::testTransformProd2 ( std::vector< V * > &  dataV,
const T1 &  trans,
const T2 &  ,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 201 of file stress3D.cxx.

References VectorTest< Dim >::getSum(), i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class T1, class T2>
double VectorTest< Dim >::testTransformProd3 ( std::vector< V * > &  dataV,
const T1 &  trans1,
const T2 &  trans2,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 219 of file stress3D.cxx.

References VectorTest< Dim >::getSum(), i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
double VectorTest< Dim >::TotalTime (  )  const [inline]

Definition at line 750 of file stressMathCore.cxx.

References gTotTime.

template<int Dim>
double VectorTest< Dim >::Sum (  )  const [inline]

Definition at line 752 of file stressMathCore.cxx.

References VectorTest< Dim >::fSum.

template<int Dim>
int VectorTest< Dim >::check ( std::string  name,
double  s1,
double  s2,
double  scale = 1 
) [inline]

Definition at line 754 of file stressMathCore.cxx.

References compare(), PrintStatus(), and PrintTest().

template<int Dim>
void VectorTest< Dim >::print ( std::string  name  )  [inline]

Definition at line 762 of file stressMathCore.cxx.

References PrintTest().

template<int Dim>
void VectorTest< Dim >::genData (  )  [inline]

Definition at line 768 of file stressMathCore.cxx.

References cosh(), VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, E, VectorTest< Dim >::fSum, i, m, VectorTest< Dim >::nGen, phi, and sqrt().

template<int Dim>
void VectorTest< Dim >::genDataN (  )  [inline]

Definition at line 808 of file stressMathCore.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::fSum, i, VectorTest< Dim >::nGen, and x.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate ( std::vector< V > &  dataV  )  [inline]

Definition at line 829 of file stressMathCore.cxx.

References VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, VectorTest< Dim >::nGen, t, x, and y.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreateAndSet ( std::vector< V > &  dataV  )  [inline]

Definition at line 843 of file stressMathCore.cxx.

References VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, VectorTest< Dim >::nGen, VecOp< V, Dim >::Set(), t, V, x, and y.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAddition ( const std::vector< V > &  dataV  )  [inline]

Definition at line 860 of file stressMathCore.cxx.

References VecOp< V, Dim >::Add(), i, VectorTest< Dim >::nGen, t, and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testOperations ( const std::vector< V > &  dataV  )  [inline]

Definition at line 871 of file stressMathCore.cxx.

References a, VecOp< V, Dim >::Add(), b, c, i, VectorTest< Dim >::nGen, t, V, and v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::testDelta ( const std::vector< V > &  dataV  )  [inline]

Definition at line 889 of file stressMathCore.cxx.

References VecOp< V, Dim >::Delta(), i, VectorTest< Dim >::nGen, t, V, and v1.

template<int Dim>
template<class V1, class V2>
void VectorTest< Dim >::testConversion ( std::vector< V1 > &  dataV1,
std::vector< V2 > &  dataV2 
) [inline]

Definition at line 918 of file stressMathCore.cxx.

References i, VectorTest< Dim >::nGen, t, and V2.

template<int Dim>
template<class V, class R>
double VectorTest< Dim >::testRotation ( std::vector< V > &  dataV  )  [inline]

Definition at line 930 of file stressMathCore.cxx.

References VecOp< V, Dim >::Add(), i, VectorTest< Dim >::nGen, t, V, and v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::testWrite ( const std::vector< V > &  dataV,
std::string  typeName = "",
bool  compress = false 
) [inline]

Definition at line 945 of file stressMathCore.cxx.

References compress(), i, VecType< V >::name(), VectorTest< Dim >::nGen, TStopwatch::Print(), timer, V, and v1.

template<int Dim>
template<class V>
int VectorTest< Dim >::testRead ( std::vector< V > &  dataV  )  [inline]

Definition at line 991 of file stressMathCore.cxx.

References TTree::GetEntries(), TTree::GetEntry(), gSystem, i, int, n, VecType< V >::name(), VectorTest< Dim >::nGen, removeFiles, TTree::SetBranchAddress(), timer, TSystem::Unlink(), V, and v1.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreateSV ( std::vector< V > &  dataV  )  [inline]

Definition at line 1042 of file stressMathCore.cxx.

References VectorTest< Dim >::dataX, VectorTest< Dim >::nGen, V, and x.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAdditionSV ( const std::vector< V > &  dataV  )  [inline]

Definition at line 1057 of file stressMathCore.cxx.

References i, VectorTest< Dim >::nGen, t, and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAdditionTR ( const std::vector< V > &  dataV  )  [inline]

Definition at line 1072 of file stressMathCore.cxx.

References i, VectorTest< Dim >::nGen, t, and V.

template<int Dim>
void VectorTest< Dim >::print ( TStopwatch time,
std::string  s 
) [inline]

Definition at line 95 of file stressVector.cxx.

References pr(), and TStopwatch::RealTime().

template<int Dim>
int VectorTest< Dim >::check ( std::string  name,
double  s1,
double  s2,
double  s3,
double  scale = 1 
) [inline]

Definition at line 104 of file stressVector.cxx.

References RootCsg::epsilon, and ROOT::Math::fabs().

template<int Dim>
void VectorTest< Dim >::genData (  )  [inline]

Definition at line 114 of file stressVector.cxx.

References cosh(), VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, E, i, m, n, VectorTest< Dim >::nGen, phi, and sqrt().

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate ( std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 144 of file stressVector.cxx.

References VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
void VectorTest< Dim >::testCreate2 ( std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 159 of file stressVector.cxx.

References VectorTest< Dim >::dataE, VectorTest< Dim >::dataX, VectorTest< Dim >::dataY, VectorTest< Dim >::dataZ, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V.

template<int Dim>
template<class V>
void VectorTest< Dim >::clear ( std::vector< V * > &  dataV  )  [inline]

Definition at line 176 of file stressVector.cxx.

References i, p, and V.

template<int Dim>
template<class V>
double VectorTest< Dim >::testAddition ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 186 of file stressVector.cxx.

References i, j, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::testScale ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 205 of file stressVector.cxx.

References i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V>
bool VectorTest< Dim >::cutPtEtaAndMass ( const V &  v  )  [inline]

Definition at line 223 of file stressVector.cxx.

References ROOT::Math::fabs().

Referenced by VectorTest< Dim >::testAnalysis().

template<int Dim>
template<class V>
bool VectorTest< Dim >::cutPtEta ( const V &  v,
double  ptMin,
double  etaMax 
) [inline]

Definition at line 232 of file stressVector.cxx.

References ROOT::Math::fabs().

Referenced by VectorTest< Dim >::testAnalysis(), and VectorTest< Dim >::testAnalysis2().

template<int Dim>
template<class V>
double VectorTest< Dim >::testDeltaR ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 241 of file stressVector.cxx.

References ROOT::Math::VectorUtil::DeltaR(), i, j, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V>
int VectorTest< Dim >::testAnalysis ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 261 of file stressVector.cxx.

References VectorTest< Dim >::cutPtEta(), VectorTest< Dim >::cutPtEtaAndMass(), ROOT::Math::VectorUtil::DeltaR(), ROOT::Math::etaMax(), i, j, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V>
int VectorTest< Dim >::testAnalysis2 ( const std::vector< V * > &  dataV,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 297 of file stressVector.cxx.

References VectorTest< Dim >::cutPtEta(), ROOT::Math::VectorUtil::DeltaR(), ROOT::Math::etaMax(), i, j, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V1, class V2>
void VectorTest< Dim >::testConversion ( std::vector< V1 * > &  dataV1,
std::vector< V2 * > &  dataV2,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 322 of file stressVector.cxx.

References VectorTest< Dim >::dataX, i, n, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), and V2.

template<int Dim>
template<class V, class R>
double VectorTest< Dim >::testRotation ( std::vector< V * > &  dataV,
const R rot,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 338 of file stressVector.cxx.

References i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class M>
double VectorTest< Dim >::testMatVec ( std::vector< V * > &  dataV,
const M &  mat,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 357 of file stressVector.cxx.

References i, min, Mult(), n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class B>
double VectorTest< Dim >::testBoost1 ( std::vector< V * > &  dataV,
const B bv,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 376 of file stressVector.cxx.

References b, i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V, class B>
double VectorTest< Dim >::testBoost2 ( std::vector< V * > &  dataV,
const B bv,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 396 of file stressVector.cxx.

References ROOT::Math::VectorUtil::boost(), i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
double VectorTest< Dim >::testBoost_TL ( std::vector< TLorentzVector * > &  dataV,
const TVector3 bv,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 413 of file stressVector.cxx.

References i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

template<int Dim>
template<class V>
double VectorTest< Dim >::testBoostX1 ( std::vector< V * > &  dataV,
double  beta,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 433 of file stressVector.cxx.

References b, i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.

template<int Dim>
template<class V>
double VectorTest< Dim >::testBoostX2 ( std::vector< V * > &  dataV,
double  beta,
TStopwatch tim,
double t,
std::string  s 
) [inline]

Definition at line 452 of file stressVector.cxx.

References ROOT::Math::VectorUtil::boostX(), i, min, n, VectorTest< Dim >::n2Loop, VectorTest< Dim >::print(), TStopwatch::RealTime(), TStopwatch::Start(), TStopwatch::Stop(), V, and v1.


Member Data Documentation

template<int Dim>
std::vector<double> VectorTest< Dim >::dataX [private]

Definition at line 71 of file stress2D.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::genDataN(), VectorTest< Dim >::testConversion(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreate2(), VectorTest< Dim >::testCreateAndSet(), and VectorTest< Dim >::testCreateSV().

template<int Dim>
std::vector<double> VectorTest< Dim >::dataY [private]

Definition at line 72 of file stress2D.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreate2(), and VectorTest< Dim >::testCreateAndSet().

template<int Dim>
size_t VectorTest< Dim >::nGen [private]

Definition at line 74 of file stress2D.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::genDataN(), VectorTest< Dim >::testAddition(), VectorTest< Dim >::testAdditionSV(), VectorTest< Dim >::testAdditionTR(), VectorTest< Dim >::testConversion(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreateAndSet(), VectorTest< Dim >::testCreateSV(), VectorTest< Dim >::testDelta(), VectorTest< Dim >::testOperations(), VectorTest< Dim >::testRead(), VectorTest< Dim >::testRotation(), and VectorTest< Dim >::testWrite().

template<int Dim>
size_t VectorTest< Dim >::n2Loop [private]

Definition at line 75 of file stress2D.cxx.

Referenced by VectorTest< Dim >::testAddition(), VectorTest< Dim >::testAnalysis(), VectorTest< Dim >::testAnalysis2(), VectorTest< Dim >::testBoost1(), VectorTest< Dim >::testBoost2(), VectorTest< Dim >::testBoost_TL(), VectorTest< Dim >::testBoostX1(), VectorTest< Dim >::testBoostX2(), VectorTest< Dim >::testDeltaPhi(), VectorTest< Dim >::testDeltaR(), VectorTest< Dim >::testMatVec(), VectorTest< Dim >::testPointAddition(), VectorTest< Dim >::testRotation(), VectorTest< Dim >::testScale(), and VectorTest< Dim >::testVectorAddition().

template<int Dim>
std::vector<double> VectorTest< Dim >::dataX [private]

Definition at line 26 of file stress3D.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataY [private]

Definition at line 27 of file stress3D.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataZ [private]

Definition at line 28 of file stress3D.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreate2(), and VectorTest< Dim >::testCreateAndSet().

template<int Dim>
std::vector<double> VectorTest< Dim >::dataX [private]

Definition at line 728 of file stressMathCore.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataY [private]

Definition at line 729 of file stressMathCore.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataZ [private]

Definition at line 730 of file stressMathCore.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataE [private]

Definition at line 731 of file stressMathCore.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::testCreate(), VectorTest< Dim >::testCreate2(), and VectorTest< Dim >::testCreateAndSet().

template<int Dim>
int VectorTest< Dim >::nGen [private]

Definition at line 733 of file stressMathCore.cxx.

template<int Dim>
int VectorTest< Dim >::n2Loop [private]

Definition at line 734 of file stressMathCore.cxx.

template<int Dim>
double VectorTest< Dim >::fSum [private]

Definition at line 736 of file stressMathCore.cxx.

Referenced by VectorTest< Dim >::genData(), VectorTest< Dim >::genDataN(), and VectorTest< Dim >::Sum().

template<int Dim>
std::vector<double> VectorTest< Dim >::dataX [private]

Definition at line 76 of file stressVector.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataY [private]

Definition at line 77 of file stressVector.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataZ [private]

Definition at line 78 of file stressVector.cxx.

template<int Dim>
std::vector<double> VectorTest< Dim >::dataE [private]

Definition at line 79 of file stressVector.cxx.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:03 2011 for ROOT_528-00b_version by  doxygen 1.5.1