#include <FitterWorkerGroup.h>
Inheritance diagram for SctFitter::FitterWorkerGroup:


Public Member Functions | |
| FitterWorkerGroup () | |
| initialise the number of calls and waits to 0; | |
| virtual | ~FitterWorkerGroup () |
| destructor | |
| void | printTests (std::ostream &os) const |
| print list of tests | |
| void | setDebug (bool value) |
| set debug flag | |
| bool | debug () const |
| get debug flag | |
Private Member Functions | |
| virtual void | work (string name) throw () |
| Does the fitting. | |
|
virtual shared_ptr< const TestData > & | findTestData (unsigned long run, unsigned long scan) |
| virtual void | addTestData (boost::shared_ptr< const TestData > td) |
Private Attributes | |
| volatile int | m_calls |
| number of times this worker has been called to work. | |
| std::list< boost::shared_ptr< const TestData > > | m_tests |
| list of tests | |
| boost::recursive_mutex | m_testAccess |
| bool | m_debug |
The fitting is done in the work() method.
Definition at line 21 of file FitterWorkerGroup.h.
|
|
initialise the number of calls and waits to 0;
Definition at line 34 of file FitterWorkerGroup.cpp. |
|
|
destructor
Definition at line 36 of file FitterWorkerGroup.cpp. |
|
|
get debug flag
Definition at line 149 of file FitterWorkerGroup.cpp. References m_debug. Referenced by addTestData(), and SctFitter::Fitter::debug(). |
|
|
print list of tests
Referenced by addTestData(). |
|
|
set debug flag
Definition at line 144 of file FitterWorkerGroup.cpp. References m_debug. Referenced by SctFitter::Fitter::setDebug(). |
|
|
Does the fitting. First gets the appropriate FitAlgorithm, then does the fit, then publishes the result. Handles its own exceptions, sending messages to MRS. Implements SctService::WorkerGroup< string >. Definition at line 38 of file FitterWorkerGroup.cpp. References Sct::IOName::getClassName(), Sct::SctNames::getISDictionary(), Sct::UniqueID::getRunNumber(), Sct::UniqueID::getScanNumber(), Sct::IOName::getUniqueID(), and Sct::SctNames::Mrs(). Here is the call graph for this function: ![]() |
|
|
number of times this worker has been called to work.
Definition at line 44 of file FitterWorkerGroup.h. |
|
|
list of tests
Definition at line 54 of file FitterWorkerGroup.h. Referenced by findTestData(). |
1.4.6