Changed reweighting method to try 1e6 times before assigning maximum energy loss.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastEvent.h
CommitLineData
8bb5c9a6 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
11class AliFastEvent : public TObject {
12 public:
13 AliFastEvent(){;}
14 virtual ~AliFastEvent(){;}
15 virtual void SetMultiplicty(Int_t mul)
16 {fMultiplicity = mul;}
f86dad79 17 virtual Int_t GetMultiplicty()
8bb5c9a6 18 {return fMultiplicity;}
19 virtual void SetVertex(const TArrayF &o)
20 {
21 fEventVertex[0] = o.At(0);
22 fEventVertex[1] = o.At(1);
23 fEventVertex[2] = o.At(2);
24 }
25
26 virtual void GetVertex(TArrayF &o) const
27 {
28 o[0] = fEventVertex.At(0);
29 o[1] = fEventVertex.At(1);
30 o[2] = fEventVertex.At(2);
31 }
32
33 protected:
34 Int_t fMultiplicity; // Event Multiplicity
35 TArrayF fEventVertex; // Event primary vertex
36
37 ClassDef(AliFastEvent,1) // Base class for fast event
38};
39
40#endif
41
42
43