GRUTinizer
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
TGEBEvent.h
Go to the documentation of this file.
1
#ifndef _TGEBEVENT_H_
2
#define _TGEBEVENT_H_
3
4
#include "
TRawEvent.h
"
5
6
class
TMode3
;
7
8
class
TGEBEvent
:
public
TRawEvent
{
9
public
:
10
TGEBEvent
();
11
TGEBEvent
(
const
TRawEvent
&);
12
virtual
~TGEBEvent
();
13
14
long
GetTimestamp
()
const
;
15
16
const
char
*
GetPayload
()
const
;
17
TSmartBuffer
GetPayloadBuffer
()
const
;
18
19
virtual
void
Clear
(Option_t *opt =
""
);
20
virtual
void
Print
(Option_t *opt =
""
)
const
;
21
22
ClassDef
(
TGEBEvent
, 0);
23
};
24
25
class
TGEBMode3Event
:
public
TObject {
26
public
:
27
TGEBMode3Event
(
TGEBEvent
& event)
28
:
fEvent
(event) {
29
BuildFragments
();
30
}
31
32
TGEBEvent
&
GetFragment
(
size_t
fragnum) {
return
fragments
[fragnum]; }
33
size_t
NumFragments
()
const
{
return
fragments
.size(); }
34
35
private
:
36
void
BuildFragments
();
37
38
TGEBEvent
fEvent
;
39
std::vector<TGEBEvent>
fragments
;
40
41
ClassDef
(
TGEBMode3Event
,0);
42
};
43
44
#endif
/* _TGEBEVENT_H_ */
Generated on Wed Nov 4 2015 17:27:53 for GRUTinizer by
1.8.1.2