QwAnalysis
|
#include <QwControl.h>
Public Member Functions | |
QwControl (const char *name, bool=false) | |
virtual | ~QwControl () |
void | Run () |
void | Start () |
void | OnlineLoop () |
void | OfflineLoop () |
VQwAnalyzer * | CreateAnalyzer (const char *name) |
void | SetAnalyzer (VQwAnalyzer *analyzer) |
VQwDataserver * | CreateDataserver (const char *name) |
void | SetDataserver (VQwDataserver *dataserver) |
void | SetIsOnline (bool online) |
bool | IsOnline () |
void | SetIsFinished (bool finished) |
bool | IsFinished () |
Public Member Functions inherited from VQwSystem | |
VQwSystem (const char *name) | |
virtual | ~VQwSystem () |
Private Attributes | |
TThread * | fRunThread |
VQwAnalyzer * | fAnalyzer |
VQwDataserver * | fDataserver |
bool | fIsOnline |
bool | fIsFinished |
Definition at line 12 of file QwControl.h.
|
inline |
Definition at line 24 of file QwControl.h.
|
inlinevirtual |
Definition at line 25 of file QwControl.h.
VQwAnalyzer * QwControl::CreateAnalyzer | ( | const char * | name | ) |
Definition at line 119 of file QwControl.cc.
VQwDataserver * QwControl::CreateDataserver | ( | const char * | name | ) |
Definition at line 140 of file QwControl.cc.
|
inline |
|
inline |
void QwControl::OfflineLoop | ( | ) |
Definition at line 97 of file QwControl.cc.
References fAnalyzer, fDataserver, VQwDataserver::GetHitList(), VQwDataserver::NextEvent(), VQwAnalyzer::Process(), and VQwAnalyzer::SetHitList().
Referenced by Run().
void QwControl::OnlineLoop | ( | ) |
Definition at line 85 of file QwControl.cc.
void QwControl::Run | ( | ) |
Definition at line 42 of file QwControl.cc.
References fIsFinished, fIsOnline, and OfflineLoop().
Referenced by QwRunThread().
void QwControl::SetAnalyzer | ( | VQwAnalyzer * | analyzer | ) |
void QwControl::SetDataserver | ( | VQwDataserver * | dataserver | ) |
|
inline |
|
inline |
void QwControl::Start | ( | ) |
Definition at line 67 of file QwControl.cc.
References fRunThread, and QwRunThread().
|
private |
Definition at line 17 of file QwControl.h.
Referenced by OfflineLoop(), and SetAnalyzer().
|
private |
Definition at line 18 of file QwControl.h.
Referenced by OfflineLoop(), and SetDataserver().
|
private |
Definition at line 21 of file QwControl.h.
Referenced by IsFinished(), Run(), and SetIsFinished().
|
private |
Definition at line 20 of file QwControl.h.
Referenced by IsOnline(), Run(), and SetIsOnline().
|
private |
Definition at line 15 of file QwControl.h.
Referenced by Start().