Line data Source code
1 : #ifndef ALIFASTEVENT_H
2 : #define ALIFASTEVENT_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : /* $Id$ */
7 :
8 : #include <TObject.h>
9 : #include <TArrayF.h>
10 :
11 0 : class AliFastEvent : public TObject {
12 : public:
13 : AliFastEvent();
14 0 : virtual ~AliFastEvent(){;}
15 : virtual void SetMultiplicty(Int_t mul)
16 0 : {fMultiplicity = mul;}
17 : virtual Int_t GetMultiplicty()
18 0 : {return fMultiplicity;}
19 : virtual void SetVertex(const TArrayF &o)
20 : {
21 0 : fEventVertex[0] = o.At(0);
22 0 : fEventVertex[1] = o.At(1);
23 0 : fEventVertex[2] = o.At(2);
24 0 : }
25 :
26 : virtual void GetVertex(TArrayF &o) const
27 : {
28 0 : o[0] = fEventVertex.At(0);
29 0 : o[1] = fEventVertex.At(1);
30 0 : o[2] = fEventVertex.At(2);
31 0 : }
32 :
33 : protected:
34 : Int_t fMultiplicity; // Event Multiplicity
35 : TArrayF fEventVertex; // Event primary vertex
36 :
37 12 : ClassDef(AliFastEvent,1) // Base class for fast event
38 : };
39 :
40 : #endif
41 :
42 :
43 :
|