From 30933baae5604d9d2da4d61cfe4f9472b6e78500 Mon Sep 17 00:00:00 2001 From: dberzano Date: Wed, 4 Feb 2015 17:32:19 +0100 Subject: [PATCH] doxy: TPC/stressTest/testSparse converted --- TPC/stressTest/testSparse/testSparse.cxx | 70 +++++++++++------------- doxygen/Doxyfile.in | 3 +- 2 files changed, 35 insertions(+), 38 deletions(-) diff --git a/TPC/stressTest/testSparse/testSparse.cxx b/TPC/stressTest/testSparse/testSparse.cxx index 949c8e670a5..8addcb7ca0f 100644 --- a/TPC/stressTest/testSparse/testSparse.cxx +++ b/TPC/stressTest/testSparse/testSparse.cxx @@ -1,30 +1,30 @@ -/* - Test to check THnSparse - Layout example for TPC calibration - - Tests categories: - 1. CPU and memory consumption - using AliSysInfo class - 2. Filling, reading and merging - 3. Correctness of filling, and merging - - - Functions: - - 1. TestSparse(niter,nsize) - - Fill the THnSparse in niter chunks - for each chunks nsize entries filled - The THnSparse is saved after each chunk - Current momory and CPU information dumped to the text file - 2. testRead(niter) - Read THnSparses from disk - Current momory and CPU information dumped to the text file - - 3. testMerge(niter) - Read THnSpares from disk - Merge histograms - Current momory and CPU information dumped to the text file +/// \class testSparse +/// \brief Test to check THnSparse - Layout example for TPC calibration +/// +/// Tests categories: +/// 1. CPU and memory consumption - using AliSysInfo class +/// 2. Filling, reading and merging +/// 3. Correctness of filling, and merging +/// +/// +/// Functions: +/// +/// 1. TestSparse(niter,nsize) - +/// Fill the THnSparse in niter chunks +/// for each chunks nsize entries filled +/// The THnSparse is saved after each chunk +/// Current momory and CPU information dumped to the text file +/// 2. testRead(niter) +/// Read THnSparses from disk +/// Current momory and CPU information dumped to the text file +/// +/// 3. testMerge(niter) +/// Read THnSpares from disk +/// Merge histograms +/// Current momory and CPU information dumped to the text file + -*/ #include "THnSparse.h" #include "TRandom.h" @@ -36,9 +36,8 @@ #include "TMath.h" void testSparse(Int_t niter, Int_t nsize){ - // - // - // + /// + Double_t xminTrack[9], xmaxTrack[9]; Int_t binsTrack[9]; TString axisName[9],axisTitle[9]; @@ -99,9 +98,8 @@ void testSparse(Int_t niter, Int_t nsize){ } void testRead(Int_t nmax=100000){ - // - // test read of THnSparse - // + /// test read of THnSparse + AliSysInfo::AddStamp("start", 0,0,0); for (Int_t i=0; iSetMarkerStyle(25); diff --git a/doxygen/Doxyfile.in b/doxygen/Doxyfile.in index a534a352ad6..747660e7a74 100644 --- a/doxygen/Doxyfile.in +++ b/doxygen/Doxyfile.in @@ -771,7 +771,8 @@ INPUT = @CMAKE_SOURCE_DIR@/doxygen \ @CMAKE_SOURCE_DIR@/TPC/macros/data2011 \ @CMAKE_SOURCE_DIR@/TPC/scripts \ @CMAKE_SOURCE_DIR@/TPC/scripts/OCDBscan \ - @CMAKE_SOURCE_DIR@/TPC/scripts/OCDBscan/jdl + @CMAKE_SOURCE_DIR@/TPC/scripts/OCDBscan/jdl \ + @CMAKE_SOURCE_DIR@/TPC/stressTest/testSparse/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -- 2.43.0