1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliFlowEventSimple_H
6 #define AliFlowEventSimple_H
8 #include "AliFlowVector.h" //needed as include
12 class AliFlowTrackSimple;
14 /**************************************
15 * AliFlowEventSimple: A simple event *
18 * authors: Naomi van der Kolk *
22 * ***********************************/
24 class AliFlowEventSimple: public TObject {
27 AliFlowEventSimple(Int_t aLenght);
28 AliFlowEventSimple(const AliFlowEventSimple& anEvent);
29 AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent);
30 virtual ~AliFlowEventSimple();
32 Int_t NumberOfTracks() const { return this->fNumberOfTracks; }
33 Int_t GetEventNSelTracksIntFlow() const { return this->fEventNSelTracksIntFlow; }
34 void SetNumberOfTracks(Int_t nr) { this->fNumberOfTracks = nr; }
35 void SetEventNSelTracksIntFlow(Int_t nr) { this->fEventNSelTracksIntFlow = nr; }
37 AliFlowTrackSimple* GetTrack(Int_t i);
38 TObjArray* TrackCollection() const { return this->fTrackCollection; }
40 AliFlowVector GetQ(Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE);
43 TObjArray* fTrackCollection; // collection of tracks
44 Int_t fNumberOfTracks; // number of tracks
45 Int_t fEventNSelTracksIntFlow; // number of tracks selected for integrated flow calculation
47 ClassDef(AliFlowEventSimple,1) // macro for rootcint