This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / STEER / AliHeader.h
CommitLineData
fe4da5cc 1#ifndef AliHeader_H
2#define AliHeader_H
3
4#include "TObject.h"
5
6class AliHeader : public TObject {
7protected:
8 Int_t fRun; //Run number
9 Int_t fNvertex; //Number of vertices
10 Int_t fNprimary; //Number of primary tracks
11 Int_t fNtrack; //Number of tracks
12 Int_t fEvent; //Event number
13
14public:
15 AliHeader();
16 AliHeader(Int_t run, Int_t event);
17 ~AliHeader() {;}
18
19 virtual void Reset(Int_t run, Int_t event);
20
21 virtual void SetRun(Int_t run) {fRun = run;}
22 virtual Int_t GetRun() const {return fRun;}
23
24 virtual void SetNprimary(Int_t nprimary) {fNprimary = nprimary;}
25 virtual Int_t GetNprimary() const {return fNprimary;}
26
27 virtual void SetNvertex(Int_t vertex) {fNvertex = vertex;}
28 virtual Int_t GetNvertex() const {return fNvertex;}
29
30 virtual void SetNtrack(Int_t ntrack) {fNtrack = ntrack;}
31 virtual Int_t GetNtrack() const {return fNtrack;}
32
33 virtual void SetEvent(Int_t event) {fEvent = event;}
34 virtual Int_t GetEvent() const {return fEvent;}
35
36 virtual void Dump();
37
38 ClassDef(AliHeader,1) //Alice event header
39
40};
41
42#endif