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
TRawEvent.h
Go to the documentation of this file.
1
#ifndef TRAWEVENT_H
2
#define TRAWEVENT_H
3
4
#include <
Globals.h
>
5
6
#include <iostream>
7
#include <iomanip>
8
9
#include "TObject.h"
10
11
#include "
TSmartBuffer.h
"
12
#include "
TGRUTTypes.h
"
13
15
class
TRawEvent
:
public
TObject {
16
17
public
:
18
#include "
TRawBanks.h
"
19
20
public
:
22
TRawEvent
();
24
TRawEvent
(
const
TRawEvent
&);
25
virtual
~TRawEvent
();
26
TRawEvent
&
operator=
(
const
TRawEvent
&);
27
28
virtual
void
Clear
(Option_t *opt =
""
);
29
virtual
Int_t
Compare
(
const
TObject&)
const
;
30
virtual
void
Copy
(TObject&)
const
;
31
virtual
void
Print
(Option_t *opt =
""
)
const
;
32
33
RawHeader
*
GetRawHeader
();
34
const
char
*
GetBody
()
const
;
35
TSmartBuffer
&
GetBuffer
(){
return
fBody
; }
36
37
void
SetData
(
TSmartBuffer
body);
38
39
bool
IsGoodSize
()
const
;
40
void
SetFileType
(
kFileType
type
) {
fFileType
=
type
; }
41
kFileType
GetFileType
() {
return
fFileType
; }
42
43
Int_t
GetEventType
()
const
;
44
Int_t
GetTotalSize
()
const
;
45
Int_t
GetBodySize
()
const
;
46
Long_t
GetTimestamp
()
const
;
47
48
void
SetFragmentTimestamp
(
long
timestamp
) {
fTimestamp
=
timestamp
; }
49
50
protected
:
51
RawHeader
fEventHeader
;
52
kFileType
fFileType
;
53
long
fTimestamp
;
54
TSmartBuffer
fBody
;
55
56
57
ClassDef
(
TRawEvent
,0)
58
};
59
60
#endif
Generated on Wed Nov 4 2015 17:27:53 for GRUTinizer by
1.8.1.2