Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaOnlRun.h
Go to the documentation of this file.
1#ifndef Podd_THaOnlRun_h_
2#define Podd_THaOnlRun_h_
3
5//
6// THaOnlRun
7//
8// Description of an online run using ET system.
9//
11
12#include "THaCodaRun.h"
13#include "TString.h"
14
15class THaOnlRun : public THaCodaRun {
16
17public:
18 THaOnlRun();
19 THaOnlRun(const char* computer, const char* session, Int_t mode);
20 THaOnlRun( const THaOnlRun& rhs );
21 virtual THaOnlRun& operator=( const THaRunBase& rhs );
22
23 virtual Int_t Open();
24 virtual Int_t OpenConnection( const char* computer, const char* session,
25 Int_t mode);
26
27protected:
28 TString fComputer; // computer where DAQ is running, e.g. 'adaql2'
29 TString fSession; // SESSION = unique ID of DAQ, usually an env. var.,
30 // e.g 'onla'
31 Int_t fMode; // mode (0=wait forever for data, 1=time out, recommend 1)
32
33 ClassDef(THaOnlRun,2) // A connection to CODA data via the ET system
34};
35
36#endif
int Int_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char mode
virtual THaOnlRun & operator=(const THaRunBase &rhs)
Definition THaOnlRun.cxx:70
virtual Int_t Open()
Definition THaOnlRun.cxx:90
TString fComputer
Definition THaOnlRun.h:28
Int_t fMode
Definition THaOnlRun.h:31
TString fSession
Definition THaOnlRun.h:29
virtual Int_t OpenConnection(const char *computer, const char *session, Int_t mode)