GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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();
25  virtual ~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 
34  const char *GetBody() const;
36 
37  void SetData(TSmartBuffer body);
38 
39  bool IsGoodSize() const;
42 
43  Int_t GetEventType() const;
44  Int_t GetTotalSize() const;
45  Int_t GetBodySize() const;
46  Long_t GetTimestamp() const;
47 
49 
50 protected:
53  long fTimestamp;
55 
56 
58 };
59 
60 #endif