]>
Commit | Line | Data |
---|---|---|
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" | |
c076fda8 | 12 | #include "TParameter.h" |
f1d945a1 | 13 | class AliFlowTrackSimple; |
14 | ||
26c4cbb9 | 15 | /************************************** |
16 | * AliFlowEventSimple: A simple event * | |
17 | * for flow analysis * | |
18 | * * | |
19 | * authors: Naomi van der Kolk * | |
20 | * (kolk@nikhef.nl) * | |
21 | * Ante Bilandzic * | |
22 | * (anteb@nikhef.nl) * | |
a12990bb | 23 | * Raimond Snellings * |
24 | * (Raimond.Snellings@nikhef.nl) * | |
26c4cbb9 | 25 | * ***********************************/ |
f1d945a1 | 26 | |
27 | class AliFlowEventSimple: public TObject { | |
28 | ||
29 | public: | |
46bec39c | 30 | AliFlowEventSimple(); |
e35ddff0 | 31 | AliFlowEventSimple(Int_t aLenght); |
32 | AliFlowEventSimple(const AliFlowEventSimple& anEvent); | |
33 | AliFlowEventSimple& operator=(const AliFlowEventSimple& anEvent); | |
f1d945a1 | 34 | virtual ~AliFlowEventSimple(); |
c076fda8 | 35 | |
36 | Bool_t IsFolder() const {return kTRUE;}; | |
29195b69 | 37 | void Browse(TBrowser *b); |
38 | void Print(Option_t* option = "") const; //method to print stats | |
f1d945a1 | 39 | |
29195b69 | 40 | Int_t NumberOfTracks() const { return this->fNumberOfTracks; } |
41 | void SetNumberOfTracks(Int_t nr) { this->fNumberOfTracks = nr; } | |
42 | Int_t GetEventNSelTracksRP() const { return this->fEventNSelTracksRP; } | |
43 | void SetEventNSelTracksRP(Int_t nr) { this->fEventNSelTracksRP = nr; } | |
44 | Double_t GetMCReactionPlaneAngle() const { return this->fMCReactionPlaneAngle; } | |
45 | void SetMCReactionPlaneAngle(Double_t fPhiRP) { this->fMCReactionPlaneAngle = fPhiRP; } | |
26c4cbb9 | 46 | |
f1d945a1 | 47 | AliFlowTrackSimple* GetTrack(Int_t i); |
29195b69 | 48 | TObjArray* TrackCollection() const { return this->fTrackCollection; } |
03a02aca | 49 | |
50 | AliFlowVector GetQ(Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE); | |
29195b69 | 51 | void Get2Qsub(AliFlowVector* Qarray, Int_t n=2, TList *weightsList=NULL, Bool_t usePhiWeights=kFALSE, Bool_t usePtWeights=kFALSE, Bool_t useEtaWeights=kFALSE); |
395fadba | 52 | |
f1d945a1 | 53 | private: |
a12990bb | 54 | TObjArray* fTrackCollection; // collection of tracks |
55 | Int_t fNumberOfTracks; // number of tracks | |
1918addd | 56 | Int_t fEventNSelTracksRP; // number of tracks that have passed the RP selection |
a12990bb | 57 | Double_t fMCReactionPlaneAngle; // the angle of the reaction plane from the MC truth |
1918addd | 58 | TParameter<Int_t>* fNumberOfTracksWrap; //! number of tracks in TBrowser |
59 | TParameter<Int_t>* fEventNSelTracksRPWrap; //! number of tracks that have passed the RP selection in TBrowser | |
a12990bb | 60 | TParameter<Double_t>* fMCReactionPlaneAngleWrap; //! the angle of the reaction plane from the MC truth in TBrowser |
29195b69 | 61 | |
1918addd | 62 | ClassDef(AliFlowEventSimple,1) // simplified event used in flow analysis |
f1d945a1 | 63 | }; |
64 | ||
65 | #endif | |
5fef318d | 66 | |
67 |