8 #include "tbb/task_scheduler_init.h"
10 #include "tbb/tick_count.h"
11 #include "tbb/parallel_invoke.h"
47 tbb::task_scheduler_init
init;
59 std::vector<CbmRichHoughHit> UpH;
60 std::vector<CbmRichHoughHit> DownH;
63 UpH.reserve(data.size()/2);
64 DownH.reserve(data.size()/2);
66 for(
int iHit = 0; iHit < data.size(); iHit++) {
84 cout <<
"NofFoundRings = " << nofFoundRings << endl;
90 std::vector<CbmRichHoughHit> UpH;
91 std::vector<CbmRichHoughHit> DownH;
94 UpH.reserve(data.size()/2);
95 DownH.reserve(data.size()/2);
97 for(
int iHit = 0; iHit < data.size(); iHit++) {
102 DownH.push_back(hit);
113 tbb::parallel_invoke(a, b);
121 cout <<
"NofFoundRings = " << nofFoundRings << endl;