ROOT
6.06/09
Reference Guide
|
#include "TRandom3.h"
#include "TStopwatch.h"
#include "TSystem.h"
#include "TFile.h"
#include "TTree.h"
#include "TH1D.h"
#include "TCanvas.h"
#include <iostream>
#include "TLorentzVector.h"
#include "Math/Vector4D.h"
#include "Math/Vector3D.h"
#include "Math/Point3D.h"
#include "Track.h"
Go to the source code of this file.
Macros | |
#define | DEBUG |
#define | DEFVECTOR4D(TYPE) |
#define | DEFVECTOR3D(TYPE) |
#define | DEFPOINT3D(TYPE) |
Functions | |
DEFVECTOR4D (ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< Double32_t > >) | |
DEFVECTOR3D (ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< Double32_t > >) | |
DEFPOINT3D (ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Double32_t > >) | |
template<class Vector > | |
double | getMag2 (const Vector &v) |
double | getMag2 (const TVector3 &v) |
double | getMag2 (const TLorentzVector &v) |
template<class U > | |
void | setValues (ROOT::Math::DisplacementVector3D< U > &v, const double x[]) |
template<class U > | |
void | setValues (ROOT::Math::PositionVector3D< U > &v, const double x[]) |
template<class U > | |
void | setValues (ROOT::Math::LorentzVector< U > &v, const double x[]) |
void | setValues (TVector3 &v, const double x[]) |
void | setValues (TLorentzVector &v, const double x[]) |
template<class Vector > | |
double | testDummy (int n) |
template<class Vector > | |
double | write (int n, const std::string &file_name, const std::string &vector_type, int compress=0) |
writing More... | |
template<class Vector > | |
double | read (const std::string &file_name) |
reading More... | |
template<class TrackType > | |
double | writeTrack (int n, const std::string &file_name, int compress=0) |
int | testResult (double w1, double r1, const std::string &type) |
int | testVectorIO (bool readOnly=false) |
int | main (int argc, char **) |
Variables | |
const double | tol = 1.0E-6 |
#define DEBUG |
Definition at line 35 of file testVectorIO.cxx.
#define DEFPOINT3D | ( | TYPE | ) |
Definition at line 50 of file testVectorIO.cxx.
#define DEFVECTOR3D | ( | TYPE | ) |
Definition at line 46 of file testVectorIO.cxx.
#define DEFVECTOR4D | ( | TYPE | ) |
Definition at line 42 of file testVectorIO.cxx.
DEFPOINT3D | ( | ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Double32_t > > | ) |
DEFVECTOR3D | ( | ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< Double32_t > > | ) |
DEFVECTOR4D | ( | ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< Double32_t > > | ) |
|
inline |
Definition at line 72 of file testVectorIO.cxx.
Referenced by read(), testDummy(), write(), and writeTrack().
Definition at line 86 of file testVectorIO.cxx.
|
inline |
Definition at line 90 of file testVectorIO.cxx.
int main | ( | int | argc, |
char ** | |||
) |
Definition at line 485 of file testVectorIO.cxx.
double read | ( | const std::string & | file_name | ) |
reading
Definition at line 209 of file testVectorIO.cxx.
Referenced by aux_rand(), TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), ClassImp(), TXSockPipe::Clean(), XrdProofdProofServMgr::CleanupProofServ(), TFile::Cp(), TNetFile::Create(), DispatchConvertArray(), TMD5::FileChecksum(), TXSockPipe::Flush(), Functions(), XrdProofdAdmin::GetFile(), TGenCollectionProxy::GetFunctionCopyIterator(), TGenCollectionProxy::GetFunctionCreateIterators(), TGenCollectionProxy::GetFunctionDeleteIterator(), TGenCollectionProxy::GetFunctionDeleteTwoIterators(), TGenCollectionProxy::GetFunctionNext(), XrdProofdAux::GetProcesses(), TFile::GetType(), XrdProofSched::GetWorkers(), init_rnd(), TAuthenticate::InitRandom(), TProof::LogMessage(), TAlienFile::Open(), TXNetFile::Open(), pull(), TFTP::PutFile(), TXProofMgr::PutFile(), TProofMgrLite::ReadBuffer(), XrdProofdNetMgr::ReadBufferLocal(), XrdProofSessionInfo::ReadFromFile(), XrdProofdAux::ReadMsg(), XrdProofdProofServMgr::SendErrLog(), TApplicationRemote::SendFile(), TProof::SendFile(), TApplicationServer::SendLogFile(), TProofServ::SendLogFile(), TXProofMgr::SendMsgToUsers(), TSystem::ShowOutput(), TFile::SysRead(), TAFS::TAFS(), TFile::TFile(), TMapFile::TMapFile(), TMemFile::TMemFile(), TSQLFile::TSQLFile(), TXMLFile::TXMLFile(), XrdROOTMgr::Validate(), and XrdProofdAux::VerifyProcessByID().
|
inline |
Definition at line 95 of file testVectorIO.cxx.
Referenced by testDummy(), and write().
|
inline |
Definition at line 100 of file testVectorIO.cxx.
|
inline |
Definition at line 105 of file testVectorIO.cxx.
Definition at line 109 of file testVectorIO.cxx.
|
inline |
Definition at line 112 of file testVectorIO.cxx.
double testDummy | ( | int | n | ) |
Definition at line 118 of file testVectorIO.cxx.
Definition at line 320 of file testVectorIO.cxx.
Referenced by testVectorIO().
int testVectorIO | ( | bool | readOnly = false | ) |
Definition at line 344 of file testVectorIO.cxx.
Referenced by main().
double write | ( | int | n, |
const std::string & | file_name, | ||
const std::string & | vector_type, | ||
int | compress = 0 |
||
) |
writing
Definition at line 153 of file testVectorIO.cxx.
Referenced by TXProofServ::CreateServer(), DispatchConvertArray(), BidirMMapPipe_impl::PageChunk::dommap(), TFTP::GetFile(), TXProofMgr::GetFile(), TProof::NotifyLogMsg(), XrdProofdPipe::Post(), TXSockPipe::Post(), XrdProofdAdmin::PutFile(), TApplicationServer::ReceiveFile(), TProofServ::ReceiveFile(), TApplicationRemote::RecvLogFile(), TProof::RecvLogFile(), TProof::ShowLog(), TUnixSystem::StackTrace(), TProof::SystemCmd(), TFile::SysWrite(), and XrdProofdAux::Write().
double writeTrack | ( | int | n, |
const std::string & | file_name, | ||
int | compress = 0 |
||
) |
Definition at line 255 of file testVectorIO.cxx.
const double tol = 1.0E-6 |
Definition at line 57 of file testVectorIO.cxx.
Referenced by BinomialNeymanInterval< FeldmanCousinsSorter >::Calculate(), compare(), compareResult(), TGeoIntersection::DistFromOutside(), RooStats::AsymptoticCalculator::EvaluateNLL(), RooStats::HypoTestInverterResult::FindIndex(), RooBrentRootFinder::findRoot(), RooStats::AsymptoticCalculator::GetHypoTest(), ROOT::Minuit2::Minuit2Minimizer::GetMinosError(), TGeoSphere::IsOnBoundary(), TEfficiency::MidPInterval(), ROOT::Math::BrentMethods::MinimBrent(), ROOT::Minuit2::Minuit2Minimizer::Minimize(), ROOT::Math::GSLMinimizer1D::Minimize(), TMVA::ROCCalc::Root(), TMVA::RootFinder::Root(), runTest(), ROOT::Math::GSLMultiMinimizer::Set(), ROOT::Math::BaseIntegratorOptions::SetAbsTolerance(), ROOT::Math::IntegratorOneDimOptions::SetDefaultAbsTolerance(), ROOT::Math::IntegratorMultiDimOptions::SetDefaultAbsTolerance(), ROOT::Math::IntegratorOneDimOptions::SetDefaultRelTolerance(), ROOT::Math::IntegratorMultiDimOptions::SetDefaultRelTolerance(), ROOT::Math::MinimizerOptions::SetDefaultTolerance(), ROOT::Math::BaseIntegratorOptions::SetRelTolerance(), RooBrentRootFinder::setTol(), RooStats::ProfileLikelihoodTestStat::SetTolerance(), ROOT::Math::MinimizerOptions::SetTolerance(), TDecompSparse::SetTreatAsZero(), ROOT::Math::GSLRootFinder::Solve(), ROOT::Math::GSLRootFinderDeriv::Solve(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), testResult(), testStatFunc(), and TGeoTorus::ToBoundary().