Deleting array of overlaps
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowEventSimple.h
CommitLineData
f1d945a1 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
10class 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
17class AliFlowEventSimple: public TObject {
18
19 public:
20 AliFlowEventSimple(Int_t lenght);
21 AliFlowEventSimple(const AliFlowEventSimple& event);
22 AliFlowEventSimple& operator=(const AliFlowEventSimple& event);
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 AliFlowTrackSimple* fTrack; // track object
36 Int_t fNumberOfTracks; // number of tracks
37 Int_t fEventNSelTracksIntFlow; // number of tracks selected for integrated flow calculation
38
39 ClassDef(AliFlowEventSimple,0) // macro for rootcint
40};
41
42#endif
43