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
9 #include "AliFlowVector.h" //needed as include
10 class AliFlowTrackSimple;
12 // AliFlowEventSimple:
13 // A simple event for flow analysis
14 // authors: N. van der Kolk (kolk@nikhef.nl), A. Bilandzic (anteb@nikhef.nl)
17 class AliFlowEventSimple: public TObject {
20 AliFlowEventSimple(Int_t aLenght);
21 AliFlowEventSimple(const AliFlowEventSimple& anEvent);
22 AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent);
23 virtual ~AliFlowEventSimple();
25 Int_t NumberOfTracks() const { return this->fNumberOfTracks; }
26 Int_t GetEventNSelTracksIntFlow() const { return this->fEventNSelTracksIntFlow; }
27 void SetNumberOfTracks(Int_t nr) { this->fNumberOfTracks = nr; }
28 void SetEventNSelTracksIntFlow(Int_t nr) { this->fEventNSelTracksIntFlow = nr; }
29 AliFlowTrackSimple* GetTrack(Int_t i);
30 TObjArray* TrackCollection() const { return this->fTrackCollection; }
31 AliFlowVector GetQ(Int_t n=2);//default harmonic n=2
34 TObjArray* fTrackCollection; // collection of tracks
35 Int_t fNumberOfTracks; // number of tracks
36 Int_t fEventNSelTracksIntFlow; // number of tracks selected for integrated flow calculation
38 ClassDef(AliFlowEventSimple,0) // macro for rootcint