forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAliFastEvent.h
More file actions
43 lines (33 loc) · 980 Bytes
/
Copy pathAliFastEvent.h
File metadata and controls
43 lines (33 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef ALIFASTEVENT_H
#define ALIFASTEVENT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
#include <TObject.h>
#include <TArrayF.h>
class AliFastEvent : public TObject {
public:
AliFastEvent();
virtual ~AliFastEvent(){;}
virtual void SetMultiplicty(Int_t mul)
{fMultiplicity = mul;}
virtual Int_t GetMultiplicty()
{return fMultiplicity;}
virtual void SetVertex(const TArrayF &o)
{
fEventVertex[0] = o.At(0);
fEventVertex[1] = o.At(1);
fEventVertex[2] = o.At(2);
}
virtual void GetVertex(TArrayF &o) const
{
o[0] = fEventVertex.At(0);
o[1] = fEventVertex.At(1);
o[2] = fEventVertex.At(2);
}
protected:
Int_t fMultiplicity; // Event Multiplicity
TArrayF fEventVertex; // Event primary vertex
ClassDef(AliFastEvent,1) // Base class for fast event
};
#endif