![]() |
Container required to get threading to work inside a class, includes the thread index and the pointer to the class. More...
#include <CrossCorrelator.h>
Public Attributes | |
Long_t | threadInd |
The thread index. | |
CrossCorrelator * | ptr |
Pointer to the CrossCorrelator. | |
Container required to get threading to work inside a class, includes the thread index and the pointer to the class.
All functions called by threads have to be static. So we write any functions which we want to be threaded as static member functions, which take a pointer to the class as the first argument (requires that pointer). We then use the thread index to figure out what portion of the work each thread should do.
Definition at line 123 of file CrossCorrelator.h.