]>
Commit | Line | Data |
---|---|---|
99e5fe42 | 1 | #ifndef ALILEADING_H |
2 | #define ALILEADING_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
99e5fe42 | 7 | //--------------------------------------------------------------------- |
8 | // Class to find and store the leading particle in event and | |
9 | // store its correlation to associated particles | |
10 | // Author: jgcn@mda.cinvestav.mx | |
11 | //--------------------------------------------------------------------- | |
12 | ||
13 | #include <TObject.h> | |
14 | #include <TArrayI.h> | |
15 | ||
16 | class TLorentzVector; | |
17 | class AliJetReader; | |
18 | ||
99e5fe42 | 19 | class AliLeading : public TObject |
20 | { | |
21 | public: | |
22 | ||
23 | AliLeading(); | |
24 | ~AliLeading(); | |
25 | ||
26 | // Getters | |
83a444b1 | 27 | Int_t GetNassoc() const {return fNassoc;} |
28 | TLorentzVector* GetLeading() const {return fLeading;} | |
29 | TArrayI GetCorr() const {return fCorr;} | |
30 | Bool_t LeadingFound() const {return fFound;} | |
31 | Double_t GetE(); | |
32 | Double_t GetPt(); | |
33 | Double_t GetEta(); | |
34 | Double_t GetPhi(); | |
35 | ||
99e5fe42 | 36 | // Setters |
37 | // Others | |
38 | void FindLeading(AliJetReader* reader); | |
39 | void PrintLeading(); | |
40 | void Reset(); | |
41 | ||
42 | protected: | |
43 | ||
1b7d5d7e | 44 | AliLeading(const AliLeading& rLeading); |
45 | AliLeading& operator = (const AliLeading& rl); | |
46 | ||
83a444b1 | 47 | Int_t fNassoc; // number of associated particles |
99e5fe42 | 48 | TLorentzVector* fLeading; // leading particle |
83a444b1 | 49 | TArrayI fCorr; // array to store azimuthal correlation |
50 | // between leading and assoc particles | |
51 | Int_t fnBin; // number of bins in array | |
52 | Double_t fLow; // value corresponding to lower bound of bin 0 | |
53 | Bool_t fFound; // leading found | |
bb828f00 | 54 | |
99e5fe42 | 55 | ClassDef(AliLeading,1); |
56 | }; | |
57 | ||
58 | #endif |