![]() |
ROOT
6.06/08
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"
Include dependency graph for testIO.cxx:Go to the source code of this file.
Typedefs | |
| typedef ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > | SMatrixSym5 |
| typedef ROOT::Math::SMatrix< double, 5, 5 > | SMatrix5 |
Functions | |
| template<class Matrix > | |
| void | FillMatrix (Matrix &m) |
| void | FillCArray (double *m) |
| template<class Matrix > | |
| void | FillMatrixSym (Matrix &m) |
| template<class R > | |
| double | SumSMatrix (ROOT::Math::SMatrix< double, 5, 5, R > &m) |
| double | SumCArray (double *m) |
| template<class TM > | |
| double | SumTMatrix (TM &m) |
| void | initMatrix (int n) |
| 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 | readTMatrix () |
| double | readTMatrixSym () |
| double | readSMatrix (const std::string &file) |
| double | readSMatrixSym (const std::string &file) |
| double | writeTrackD (int n) |
| double | writeTrackD32 (int n) |
| double | readTrackD () |
| double | readTrackD32 () |
| int | testWrite (int nEvents, double &w1, double &w2) |
| int | testRead (double &r1, double &r2, double &r3) |
| int | testWriteSym (int nEvents, double &w1, double &w2) |
| 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 | testIO () |
| int | main () |
Variables | |
| TRandom3 | R |
| a TMatrixD. More... | |
| TStopwatch | timer |
| 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> >" |
| double | tol = 1.E-16 |
| double | tol32 = 1.E-6 |
| std::string | sfile1 = "smatrix.root" |
| std::string | sfile2 = "smatrix_rflx.root" |
| std::string | symfile1 = "smatrixsym.root" |
| std::string | symfile2 = "smatrixsym_rflx.root" |
| 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.
Referenced by writeCArray().
| void FillMatrix | ( | Matrix & | m | ) |
Definition at line 71 of file testIO.cxx.
Referenced by initMatrix(), writeSMatrix(), writeTMatrix(), writeTrackD(), and writeTrackD32().
| void FillMatrixSym | ( | Matrix & | m | ) |
Definition at line 88 of file testIO.cxx.
Referenced by initMatrix(), writeSMatrixSym(), and writeTMatrixSym().
| void initMatrix | ( | int | n | ) |
Definition at line 126 of file testIO.cxx.
Referenced by testIO().
| int main | ( | ) |
Definition at line 1005 of file testIO.cxx.
| double readSMatrix | ( | const std::string & | file | ) |
Definition at line 474 of file testIO.cxx.
Referenced by testRead().
| double readSMatrixSym | ( | const std::string & | file | ) |
Definition at line 520 of file testIO.cxx.
Referenced by testReadSym().
| double readTMatrix | ( | ) |
Definition at line 385 of file testIO.cxx.
Referenced by testRead().
| double readTMatrixSym | ( | ) |
Definition at line 428 of file testIO.cxx.
Referenced by testReadSym().
| double readTrackD | ( | ) |
Definition at line 647 of file testIO.cxx.
Referenced by testTrack().
| double readTrackD32 | ( | ) |
Definition at line 688 of file testIO.cxx.
Referenced by testTrack().
| double SumCArray | ( | double * | m | ) |
Definition at line 106 of file testIO.cxx.
Referenced by writeCArray().
| double SumSMatrix | ( | ROOT::Math::SMatrix< double, 5, 5, R > & | m | ) |
Definition at line 98 of file testIO.cxx.
Referenced by readSMatrix(), readSMatrixSym(), readTrackD(), readTrackD32(), writeSMatrix(), writeSMatrixSym(), writeTrackD(), and writeTrackD32().
| double SumTMatrix | ( | TM & | m | ) |
Definition at line 115 of file testIO.cxx.
Referenced by readTMatrix(), readTMatrixSym(), writeTMatrix(), and writeTMatrixSym().
| int testIO | ( | ) |
Definition at line 907 of file testIO.cxx.
Referenced by main().
| int testRead | ( | double & | r1, |
| double & | r2, | ||
| double & | r3 | ||
| ) |
Definition at line 763 of file testIO.cxx.
Referenced by testIO().
| int testReadSym | ( | double & | r1, |
| double & | r2, | ||
| double & | r3 | ||
| ) |
Definition at line 819 of file testIO.cxx.
Referenced by testIO().
| int testResult | ( | double | w1, |
| double | r1, | ||
| double | w2, | ||
| double | r2, | ||
| double | r3 | ||
| ) |
Definition at line 848 of file testIO.cxx.
Referenced by testIO().
| int testTrack | ( | int | nEvents | ) |
Definition at line 870 of file testIO.cxx.
Referenced by testIO().
| int testWrite | ( | int | nEvents, |
| double & | w1, | ||
| double & | w2 | ||
| ) |
Definition at line 733 of file testIO.cxx.
Referenced by testIO().
| int testWriteSym | ( | int | nEvents, |
| double & | w1, | ||
| double & | w2 | ||
| ) |
Definition at line 794 of file testIO.cxx.
Referenced by testIO().
| double writeCArray | ( | int | n | ) |
Definition at line 170 of file testIO.cxx.
Referenced by testWrite().
| double writeSMatrix | ( | int | n, |
| const std::string & | file | ||
| ) |
Definition at line 210 of file testIO.cxx.
Referenced by testWrite().
| double writeSMatrixSym | ( | int | n, |
| const std::string & | file | ||
| ) |
Definition at line 252 of file testIO.cxx.
Referenced by testWriteSym().
| double writeTMatrix | ( | int | n | ) |
Definition at line 296 of file testIO.cxx.
Referenced by testWrite().
| double writeTMatrixSym | ( | int | n | ) |
Definition at line 339 of file testIO.cxx.
Referenced by testWriteSym().
| double writeTrackD | ( | int | n | ) |
Definition at line 566 of file testIO.cxx.
Referenced by testTrack().
| double writeTrackD32 | ( | int | n | ) |
Definition at line 607 of file testIO.cxx.
Referenced by testTrack().
| TRandom3 R |
a TMatrixD.
Definition at line 28 of file testIO.cxx.
Referenced by TKDE::ApproximateBias(), Rcpp::as(), ROOT::Math::Div(), doTest(), doTestL(), ROOT::Math::AssignSym::Evaluate(), ROOT::Math::fabs(), TClingCallbacks::FileNotFound(), TCling::GetFunctionOverloads(), TProcPool::GetNWorkers(), gsl_poly_complex_solve_cubic(), gsl_poly_complex_solve_quartic(), TUnfold::InvertMSparseSymmPos(), TClingCallbacks::IsAutoParsingSuspended(), TWin32Thread::Join(), TProcPool::MapReduce(), ROOT::Math::operator*(), ROOT::Math::operator+(), ROOT::Math::operator-(), ROOT::Math::operator/(), TMVA::CCPruner::Optimize(), TMVA::CostComplexityPruneTool::Optimize(), Rcpp::RCPP_API_CLASS(), TGWin32::ReadGIF(), ROOT::Math::sqr(), ROOT::Math::sqrt(), test24(), testDummy(), testPoisson2(), ROOT::Math::Times(), write(), TGWin32::WriteGIF(), writeTrack(), and TProcPool::~TProcPool().
| std::string sfile1 = "smatrix.root" |
Definition at line 58 of file testIO.cxx.
Referenced by testRead(), and testWrite().
| std::string sfile2 = "smatrix_rflx.root" |
Definition at line 59 of file testIO.cxx.
Referenced by testRead().
| const std::string sname = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepStd<double,5,5> >" |
Definition at line 45 of file testIO.cxx.
Referenced by TSystem::CompileMacro(), TMinuit::DefineParameter(), TGeoBuilder::Division(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), TGeoElementTable::ExportElementsRN(), TH2Poly::Fill(), FillUnBinData(), TGContainer::FindFrameByName(), TGeoManager::FindVolumeFast(), FitUsingRooFit2(), TGFileBrowser::GetFilePictures(), TGeoManager::GetMaterial(), TGeoManager::GetMaterialIndex(), TGeoManager::GetMedium(), Cppyy::GetScope(), TFormula::GetVariable(), TFormula::GetVarNumber(), TGeoManager::GetVolume(), TCling::InitRootmapFile(), TGeoManager::OptimizeVoxels(), R__GenerateTClassForPair(), TClass::ReadRules(), TGeoManager::SaveAttributes(), TEnv::SaveLevel(), TGeoScaledShape::SavePrimitive(), TTreeViewer::SaveSource(), TStyle::SaveSource(), TGMainFrame::SaveSource(), TGTransientFrame::SaveSource(), TGeoPgonEditor::SetModel(), TGeoEltuEditor::SetModel(), TGeoTranslationEditor::SetModel(), TGeoTrd1Editor::SetModel(), TGeoBBoxEditor::SetModel(), TGeoHypeEditor::SetModel(), TGeoTrd2Editor::SetModel(), TGeoTorusEditor::SetModel(), TGeoParaEditor::SetModel(), TGeoNodeEditor::SetModel(), TGeoMediumEditor::SetModel(), TGeoPconEditor::SetModel(), TGeoTrapEditor::SetModel(), TGeoGtraEditor::SetModel(), TGeoRotationEditor::SetModel(), TGeoCombiTransEditor::SetModel(), TEnv::TEnv(), TGraphAsymmErrors::TGraphAsymmErrors(), TGeoBuilder::Volume(), and writeSMatrix().
| const std::string sname_sym = "ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepSym<double,5> >" |
Definition at line 46 of file testIO.cxx.
Referenced by writeSMatrixSym().
| std::string symfile1 = "smatrixsym.root" |
Definition at line 61 of file testIO.cxx.
Referenced by testReadSym(), and testWriteSym().
| std::string symfile2 = "smatrixsym_rflx.root" |
Definition at line 62 of file testIO.cxx.
Referenced by testReadSym().
| TStopwatch timer |
Definition at line 29 of file testIO.cxx.
| double tol = 1.E-16 |
Definition at line 47 of file testIO.cxx.
Referenced by testRead(), testReadSym(), testResult(), testTrack(), testWrite(), and testWriteSym().
| double tol32 = 1.E-6 |
Definition at line 49 of file testIO.cxx.
Referenced by testTrack().