ROOT 6.10/09 Reference Guide |
#include "Math/SMatrix.h"
#include "TMatrixD.h"
#include "TMatrixDSym.h"
#include "TRandom3.h"
#include "TFile.h"
#include "TTree.h"
#include "TStopwatch.h"
#include "TSystem.h"
#include <iostream>
#include "Track.h"
Typedefs | |
typedef ROOT::Math::SMatrix< double, 5, 5 > | SMatrix5 |
typedef ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > | SMatrixSym5 |
Functions | |
void | FillCArray (double *m) |
template<class Matrix > | |
void | FillMatrix (Matrix &m) |
template<class Matrix > | |
void | FillMatrixSym (Matrix &m) |
void | initMatrix (int n) |
int | main () |
double | readSMatrix (const std::string &file) |
double | readSMatrixSym (const std::string &file) |
double | readTMatrix () |
double | readTMatrixSym () |
double | readTrackD () |
double | readTrackD32 () |
double | SumCArray (double *m) |
template<class R > | |
double | SumSMatrix (ROOT::Math::SMatrix< double, 5, 5, R > &m) |
template<class TM > | |
double | SumTMatrix (TM &m) |
int | testIO () |
int | testRead (double &r1, double &r2, double &r3) |
int | testReadSym (double &r1, double &r2, double &r3) |
int | testResult (double w1, double r1, double w2, double r2, double r3) |
int | testTrack (int nEvents) |
int | testWrite (int nEvents, double &w1, double &w2) |
int | testWriteSym (int nEvents, double &w1, double &w2) |
double | writeCArray (int n) |
double | writeSMatrix (int n, const std::string &file) |
double | writeSMatrixSym (int n, const std::string &file) |
double | writeTMatrix (int n) |
double | writeTMatrixSym (int n) |
double | writeTrackD (int n) |
double | writeTrackD32 (int n) |
Variables | |
TRandom3 | R |
a TMatrixD. More... | |
std::string | sfile1 = "smatrix.root" |
std::string | sfile2 = "smatrix_rflx.root" |
const std::string | sname = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepStd<double,5,5> >" |
const std::string | sname_sym = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepSym<double,5> >" |
std::string | symfile1 = "smatrixsym.root" |
std::string | symfile2 = "smatrixsym_rflx.root" |
TStopwatch | timer |
double | tol = 1.E-16 |
double | tol32 = 1.E-6 |
typedef ROOT::Math::SMatrix<double,5,5 > SMatrix5 |
Definition at line 44 of file testIO.cxx.
typedef ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepSym<double,5> > SMatrixSym5 |
Definition at line 43 of file testIO.cxx.
void FillCArray | ( | double * | m | ) |
Definition at line 79 of file testIO.cxx.
void FillMatrix | ( | Matrix & | m | ) |
Definition at line 71 of file testIO.cxx.
void FillMatrixSym | ( | Matrix & | m | ) |
Definition at line 88 of file testIO.cxx.
void initMatrix | ( | int | n | ) |
Definition at line 126 of file testIO.cxx.
int main | ( | ) |
Definition at line 1005 of file testIO.cxx.
double readSMatrix | ( | const std::string & | file | ) |
Definition at line 474 of file testIO.cxx.
double readSMatrixSym | ( | const std::string & | file | ) |
Definition at line 520 of file testIO.cxx.
double readTMatrix | ( | ) |
Definition at line 385 of file testIO.cxx.
double readTMatrixSym | ( | ) |
Definition at line 428 of file testIO.cxx.
double readTrackD | ( | ) |
Definition at line 647 of file testIO.cxx.
double readTrackD32 | ( | ) |
Definition at line 688 of file testIO.cxx.
double SumCArray | ( | double * | m | ) |
Definition at line 106 of file testIO.cxx.
double SumSMatrix | ( | ROOT::Math::SMatrix< double, 5, 5, R > & | m | ) |
Definition at line 98 of file testIO.cxx.
double SumTMatrix | ( | TM & | m | ) |
Definition at line 115 of file testIO.cxx.
int testIO | ( | ) |
Definition at line 907 of file testIO.cxx.
int testRead | ( | double & | r1, |
double & | r2, | ||
double & | r3 | ||
) |
Definition at line 763 of file testIO.cxx.
int testReadSym | ( | double & | r1, |
double & | r2, | ||
double & | r3 | ||
) |
Definition at line 819 of file testIO.cxx.
int testResult | ( | double | w1, |
double | r1, | ||
double | w2, | ||
double | r2, | ||
double | r3 | ||
) |
Definition at line 848 of file testIO.cxx.
int testTrack | ( | int | nEvents | ) |
Definition at line 870 of file testIO.cxx.
int testWrite | ( | int | nEvents, |
double & | w1, | ||
double & | w2 | ||
) |
Definition at line 733 of file testIO.cxx.
int testWriteSym | ( | int | nEvents, |
double & | w1, | ||
double & | w2 | ||
) |
Definition at line 794 of file testIO.cxx.
double writeCArray | ( | int | n | ) |
Definition at line 170 of file testIO.cxx.
double writeSMatrix | ( | int | n, |
const std::string & | file | ||
) |
Definition at line 210 of file testIO.cxx.
double writeSMatrixSym | ( | int | n, |
const std::string & | file | ||
) |
Definition at line 252 of file testIO.cxx.
double writeTMatrix | ( | int | n | ) |
Definition at line 296 of file testIO.cxx.
double writeTMatrixSym | ( | int | n | ) |
Definition at line 339 of file testIO.cxx.
double writeTrackD | ( | int | n | ) |
Definition at line 566 of file testIO.cxx.
double writeTrackD32 | ( | int | n | ) |
Definition at line 607 of file testIO.cxx.
TRandom3 R |
a TMatrixD.
Definition at line 28 of file testIO.cxx.
std::string sfile1 = "smatrix.root" |
Definition at line 58 of file testIO.cxx.
std::string sfile2 = "smatrix_rflx.root" |
Definition at line 59 of file testIO.cxx.
const std::string sname = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepStd<double,5,5> >" |
Definition at line 45 of file testIO.cxx.
const std::string sname_sym = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepSym<double,5> >" |
Definition at line 46 of file testIO.cxx.
std::string symfile1 = "smatrixsym.root" |
Definition at line 61 of file testIO.cxx.
std::string symfile2 = "smatrixsym_rflx.root" |
Definition at line 62 of file testIO.cxx.
TStopwatch timer |
Definition at line 29 of file testIO.cxx.
double tol = 1.E-16 |
Definition at line 47 of file testIO.cxx.
double tol32 = 1.E-6 |
Definition at line 49 of file testIO.cxx.