FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairMbsStreamSource.h
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------
2
// ----- FairMbsStreamSource header file -----
3
// ----- -----
4
// ----- created by C. Simon on 2014-09-12 -----
5
// ----- -----
6
// ----- based on FairLmdSource by D. Kresan -----
7
// ----- -----
8
// ----- revision 23363, 2013-12-26 -----
9
// -----------------------------------------------------------------------------
10
11
#ifndef FAIRMBSSTREAMSOURCE_H
12
#define FAIRMBSSTREAMSOURCE_H
13
14
extern
"C"
15
{
16
#include "
f_evt.h
"
17
#include "
s_bufhe_swap.h
"
18
#include "
s_filhe_swap.h
"
19
}
20
21
#include "
FairMbsSource.h
"
22
23
#include <Rtypes.h>
24
#include <TString.h>
25
26
class
FairMbsStreamSource
:
public
FairMbsSource
27
{
28
public
:
29
FairMbsStreamSource
(TString tServerName);
30
FairMbsStreamSource
(
const
FairMbsStreamSource
& source);
31
virtual
~FairMbsStreamSource
();
32
33
virtual
Bool_t
Init
();
34
virtual
Int_t
ReadEvent
(UInt_t = 0);
35
virtual
void
Close
();
36
Bool_t
SpecifyRunId
()
37
{
38
ReadEvent
(0);
39
return
true
;
40
};
41
42
const
char
*
GetServerName
()
const
{
return
fServerName.Data(); };
43
44
private
:
45
Bool_t ConnectToServer();
46
47
TString fServerName;
48
49
s_evt_channel
* fxInputChannel;
50
s_ve10_1
* fxEvent;
51
s_bufhe
* fxBuffer;
52
Int_t* fxEventData;
53
s_ves10_1
* fxSubEvent;
54
55
FairMbsStreamSource
& operator=(
const
FairMbsStreamSource
&);
56
57
public
:
58
ClassDef
(
FairMbsStreamSource
, 0);
59
};
60
61
#endif
FairMbsStreamSource::GetServerName
const char * GetServerName() const
Definition:
FairMbsStreamSource.h:42
FairMbsSource.h
FairMbsStreamSource::Close
virtual void Close()
Definition:
FairMbsStreamSource.cxx:126
s_ves10_1
Definition:
s_ves10_1.h:29
FairMbsStreamSource::Init
virtual Bool_t Init()
Definition:
FairMbsStreamSource.cxx:37
FairMbsStreamSource
Definition:
FairMbsStreamSource.h:26
FairMbsStreamSource::ClassDef
ClassDef(FairMbsStreamSource, 0)
FairMbsStreamSource::FairMbsStreamSource
FairMbsStreamSource(TString tServerName)
Definition:
FairMbsStreamSource.cxx:15
FairMbsStreamSource::SpecifyRunId
Bool_t SpecifyRunId()
Definition:
FairMbsStreamSource.h:36
s_filhe_swap.h
s_ve10_1
Definition:
s_ve10_1.h:29
s_bufhe
Definition:
s_bufhe.h:37
s_evt_channel
Definition:
f_evt.h:54
f_evt.h
FairMbsStreamSource::ReadEvent
virtual Int_t ReadEvent(UInt_t=0)
Definition:
FairMbsStreamSource.cxx:72
FairMbsSource
Definition:
FairMbsSource.h:23
s_bufhe_swap.h
FairMbsStreamSource::~FairMbsStreamSource
virtual ~FairMbsStreamSource()
Definition:
FairMbsStreamSource.cxx:35
FairRoot
base
source
FairMbsStreamSource.h
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5