Fixing buffer size requirements and reseting histograms after publishing them.
[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:
e35ddff0 20 AliFlowEventSimple(Int_t aLenght);
21 AliFlowEventSimple(const AliFlowEventSimple& anEvent);
22 AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent);
f1d945a1 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; }
9825d4a9 31 AliFlowVector GetQ(Int_t n=2);//default harmonic n=2
f1d945a1 32
33 private:
34 TObjArray* fTrackCollection; // collection of tracks
f1d945a1 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