Public Member Functions | |
PreTriggerNoiseAlgorithm (shared_ptr< const TestData > testData, const string &moduleName, const AnalysisAlgorithm &alg) throw () | |
constructor | |
virtual | ~PreTriggerNoiseAlgorithm () throw () |
destructor | |
virtual void | analyze () |
Does the analysis. | |
virtual void | loadData () |
Called to indicate the algorithm should try and load as much data as it can - perhaps by calling loadAllFits or loadAllRaws(). | |
virtual bool | canAnalyze () const |
Should check to see if the analysis can be performed. | |
virtual shared_ptr< SctData::TestResult > | createTestResult () const |
Called if the TestResult needs to be created. | |
virtual boost::shared_ptr< AnalysisAlgorithm > | clone (shared_ptr< const TestData > testData, const string &moduleName) const throw () |
Must be overridden by sub-classes. | |
Private Member Functions | |
PreTriggerNoiseAlgorithm () | |
Private Attributes | |
unsigned short | m_scanVariable |
pointer to variable type. | |
Static Private Attributes | |
static bool | inMap |
Definition at line 12 of file PreTriggerNoiseAlgorithm.h.
|
constructor
Definition at line 17 of file PreTriggerNoiseAlgorithm.h. |
|
destructor
Definition at line 23 of file PreTriggerNoiseAlgorithm.cpp. |
|
Does the analysis. Should only be called after canAnalyze() returns true. Should not be called is isDone() returns true. It should also do any final initialization of the TestResult which requires data to be present
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 45 of file PreTriggerNoiseAlgorithm.cpp. References SctAnalysis::AnalysisAlgorithm::getRaw(), SctAnalysis::AnalysisAlgorithm::getTestResult(), SctData::ConfigurationVariableIOHelper::getTypeRep(), m_scanVariable, and Sct::nLinkModule. Here is the call graph for this function: ![]() |
|
Should check to see if the analysis can be performed. Probably wants to call hasAllRaws() or hasAllFits().
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 37 of file PreTriggerNoiseAlgorithm.cpp. References SctAnalysis::AnalysisAlgorithm::hasAllRaws(). Here is the call graph for this function: ![]() |
|
Must be overridden by sub-classes. Returns a shared pointer to a concrete AnalysisAlgorithm of the correct type. Primarily used by the map to get an AnalysisAlgorithm of the correct type. Implements SctAnalysis::AnalysisAlgorithm. Definition at line 25 of file PreTriggerNoiseAlgorithm.cpp. |
|
Called if the TestResult needs to be created.
Implements SctAnalysis::AnalysisAlgorithm. Definition at line 41 of file PreTriggerNoiseAlgorithm.cpp. |
|
Called to indicate the algorithm should try and load as much data as it can - perhaps by calling loadAllFits or loadAllRaws(). This is guarenteed to be called shortly before analyze(). Implements SctAnalysis::AnalysisAlgorithm. Definition at line 33 of file PreTriggerNoiseAlgorithm.cpp. References SctAnalysis::AnalysisAlgorithm::loadAllRaws(). Here is the call graph for this function: ![]() |
|
pointer to variable type.
Definition at line 30 of file PreTriggerNoiseAlgorithm.h. Referenced by analyze(). |