small mods for separate task
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / 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
f1d945a1 8#include "AliFlowVector.h" //needed as include
26c4cbb9 9#include "TH1F.h"
10#include "TH1D.h"
11#include "TFile.h"
f1d945a1 12class AliFlowTrackSimple;
13
26c4cbb9 14/**************************************
15 * AliFlowEventSimple: A simple event *
16 * for flow analysis *
17 * *
18 * authors: Naomi van der Kolk *
19 * (kolk@nikhef.nl) *
20 * Ante Bilandzic *
21 * (anteb@nikhef.nl) *
22 * ***********************************/
f1d945a1 23
24class AliFlowEventSimple: public TObject {
25
26 public:
46bec39c 27 AliFlowEventSimple();
e35ddff0 28 AliFlowEventSimple(Int_t aLenght);
29 AliFlowEventSimple(const AliFlowEventSimple& anEvent);
30 AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent);
f1d945a1 31 virtual ~AliFlowEventSimple();
32
33 Int_t NumberOfTracks() const { return this->fNumberOfTracks; }
34 Int_t GetEventNSelTracksIntFlow() const { return this->fEventNSelTracksIntFlow; }
35 void SetNumberOfTracks(Int_t nr) { this->fNumberOfTracks = nr; }
36 void SetEventNSelTracksIntFlow(Int_t nr) { this->fEventNSelTracksIntFlow = nr; }
26c4cbb9 37
f1d945a1 38 AliFlowTrackSimple* GetTrack(Int_t i);
39 TObjArray* TrackCollection() const { return this->fTrackCollection; }
03a02aca 40
41 AliFlowVector GetQ(Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE);
42
f1d945a1 43 private:
26c4cbb9 44 TObjArray* fTrackCollection; // collection of tracks
45 Int_t fNumberOfTracks; // number of tracks
46 Int_t fEventNSelTracksIntFlow; // number of tracks selected for integrated flow calculation
47
26c4cbb9 48 ClassDef(AliFlowEventSimple,1) // macro for rootcint
f1d945a1 49};
50
51#endif
5fef318d 52
53