]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowEventSimple.h
custum Merge() and cleanup
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowEventSimple.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id$ */
4
5 #ifndef AliFlowEventSimple_H
6 #define AliFlowEventSimple_H
7
8
9 #include "AliFlowVector.h" //needed as include
10 class AliFlowTrackSimple;
11
12 // AliFlowEventSimple:
13 // A simple event for flow analysis
14 // authors: N. van der Kolk (kolk@nikhef.nl), A. Bilandzic (anteb@nikhef.nl)
15
16
17 class AliFlowEventSimple: public TObject {
18
19  public:
20   AliFlowEventSimple(Int_t aLenght);
21   AliFlowEventSimple(const AliFlowEventSimple& anEvent);
22   AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent);
23   virtual  ~AliFlowEventSimple();
24   
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() ;
32   
33  private:
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
37   
38   ClassDef(AliFlowEventSimple,0)                 // macro for rootcint
39 };
40
41 #endif
42