HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoEventHeader.h
Go to the documentation of this file.
1 #ifndef HARPOEVENTHEADER_H
2 #define HARPOEVENTHEADER_H
3 
5 //
6 // HarpoEventHeader
7 //
8 // Generic class for HARPO Detectors Sets ( full list, active detectors)
9 //
10 
11 #include <bitset>
12 #include <cstring>
13 
14 #include "TObject.h"
15 //Detectors Type
16 #include "HarpoDetSet.h"
17 
18 enum hAnaRC {
19  hAnaAbort = -5,
20  hAnaStop = -4,
21  hAnaNextFile = -3,
23  hAnaEventWrt = -1,
24  hAnaOK = 0
25 };
26 
27 class HarpoEventHeader : public TObject{
28 
29  public:
30 
32  virtual ~HarpoEventHeader() {}
33  virtual void print();
34 
36  void SetEvtNo(Long_t rnum) { evNum = rnum; }
38  Long_t GetEvtNo() { return evNum; }
39 
41  void SetEvAnaStatus(Int_t status) { fEvAnaStatus = status; }
43  Int_t GetEvAnaStatus() { return fEvAnaStatus; }
44 
45  private:
46  // Long_t eSize; // Event Size ???
47  Long_t evNum; // Event Number
55  Int_t fEvAnaStatus;
56  // Long_t eType; // Event Type ???
57  // HarpoDetSet *detset; // ??? Datector list
58 
59  ClassDef(HarpoEventHeader,1) //Event structure
60 
61  };
62 
63 #endif
Int_t GetEvAnaStatus()
Get Event Analise status.
void SetEvAnaStatus(Int_t status)
Set Event Analise status.
Long_t GetEvtNo()
Get Event Number.
Stop Event Loop.
virtual ~HarpoEventHeader()
FullEvent Header not scecific to the detectors The class is ....
virtual void print()
stop event analysis, without writig
Close current input file continue with next file.
stop event analysis, but write event
Abort program without saving the output or < -5.
void SetEvtNo(Long_t rnum)
Set Event Number.
hAnaRC