Fixing dimension of hits array
[u/mrichter/AliRoot.git] / STEER / AliHeader.h
CommitLineData
fe4da5cc 1#ifndef AliHeader_H
2#define AliHeader_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
fe4da5cc 7
8#include "TObject.h"
9
10class AliHeader : public TObject {
11protected:
12 Int_t fRun; //Run number
13 Int_t fNvertex; //Number of vertices
14 Int_t fNprimary; //Number of primary tracks
15 Int_t fNtrack; //Number of tracks
16 Int_t fEvent; //Event number
17
18public:
19 AliHeader();
20 AliHeader(Int_t run, Int_t event);
21 ~AliHeader() {;}
22
23 virtual void Reset(Int_t run, Int_t event);
24
25 virtual void SetRun(Int_t run) {fRun = run;}
26 virtual Int_t GetRun() const {return fRun;}
27
28 virtual void SetNprimary(Int_t nprimary) {fNprimary = nprimary;}
29 virtual Int_t GetNprimary() const {return fNprimary;}
30
31 virtual void SetNvertex(Int_t vertex) {fNvertex = vertex;}
32 virtual Int_t GetNvertex() const {return fNvertex;}
33
34 virtual void SetNtrack(Int_t ntrack) {fNtrack = ntrack;}
35 virtual Int_t GetNtrack() const {return fNtrack;}
36
37 virtual void SetEvent(Int_t event) {fEvent = event;}
38 virtual Int_t GetEvent() const {return fEvent;}
39
40 virtual void Dump();
41
42 ClassDef(AliHeader,1) //Alice event header
43
44};
45
46#endif