Public Attributes | List of all members
CrossCorrelator::threadArgs Struct Reference

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.
 
CrossCorrelatorptr
 Pointer to the CrossCorrelator.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: