#include "FastShowerUtils/ITester.h"
#include "FastShowerUtils/TestStat.h"
#include "FastShowerUtils/LinearProcessorTester.h"
#include "FastShowerUtils/ProcessedFlatTester.h"
#include "FastShowerUtils/ProcessedNormalTester.h"
#include "FastShowerUtils/UpdatingGaussianTester.h"
#include "FastShowerUtils/IDebug.h"
#include <vector>
Include dependency graph for AtlfastStandAloneShowerTester.cxx:
Go to the source code of this file.
Functions | |
int | main () |
|
Definition at line 16 of file AtlfastStandAloneShowerTester.cxx.
00016 { 00017 bool verbose(true); 00018 TestStat ts; 00019 std::vector<ITester*> testers; 00020 testers.push_back( new LinearProcessorTester(verbose) ); 00021 testers.push_back( new ProcessedFlatTester(verbose) ); 00022 testers.push_back( new ProcessedNormalTester(verbose) ); 00023 testers.push_back( new UpdatingGaussianTester(verbose) ); 00024 00025 std::vector<ITester*>::const_iterator itest = testers.begin(); 00026 std::vector<ITester*>::const_iterator end = testers.end(); 00027 00028 cout<<endl; 00029 cout<<"***************************"<<endl; 00030 cout<<"* FastShower Tester *"<<endl; 00031 cout<<"***************************"<<endl; 00032 cout<<endl; 00033 00034 for(; itest!=end; ++itest){ 00035 ts+=(*itest)->test(); 00036 (*itest)->results(); 00037 } 00038 00039 cout<<endl<<endl; 00040 cout<<"Final results: "<<ts<<endl; 00041 00042 return 0; 00043 00044 } |