![]() |
AliPhysics
4a7363b (4a7363b)
|
Collection of tests for the THistManager. More...
#include <THistManager.h>
Public Member Functions | |
THistManagerTestSuite () | |
virtual | ~THistManagerTestSuite () |
int | TestBuildSimpleHistograms () |
int | TestBuildGroupedHistograms () |
int | TestFillSimpleHistograms () |
int | TestFillGroupedHistograms () |
Collection of tests for the THistManager.
Test suite for histogram manager. Currently implemented tests:
Definition at line 766 of file THistManager.h.
|
inline |
Constructor
Definition at line 772 of file THistManager.h.
|
inlinevirtual |
Destructor
Definition at line 777 of file THistManager.h.
int TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms | ( | ) |
Purpose of the test: Check whether histmanager assings histograms correctly into groups Relies on: TestBuildSimpleHistograms
Creating 3 groups with 2 histograms
In addition: 1 group with a subgroup and a TProfile.
Test passed:
Definition at line 777 of file THistManager.cxx.
Referenced by TestTHistManager::TestRunAll(), and TestTHistManager::TestRunBuildGrouped().
int TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms | ( | ) |
Purpose of the test: Check whether histmanager builds histogram correctly (no grouping)
Create 1 histogram of each type
Test passed: All histograms need to be found in the list of histograms, and type must match
Definition at line 739 of file THistManager.cxx.
Referenced by TestTHistManager::TestRunAll(), and TestTHistManager::TestRunBuildSimple().
int TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms | ( | ) |
Purpose of the test: Test access of histograms in groups, check whether histograms are filled properly Relies on: TestBuildSimpleHistograms, TestBuildGroupedHistograms, TestFillSimpleHistograms
Fill 2 test histograms in 2 groups
Test passed:
Definition at line 933 of file THistManager.cxx.
Referenced by TestTHistManager::TestRunAll(), and TestTHistManager::TestRunFillGrouped().
int TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms | ( | ) |
Purpose of the test: Check whether histograms are found correctly by the automatic procedure, and whether fill is correctly propagated Relies on: TestBuildSimpleHistograms
Creating histograms of all types
Test passed:
Definition at line 850 of file THistManager.cxx.
Referenced by TestTHistManager::TestRunAll(), and TestTHistManager::TestRunFillSimple().