]>
Commit | Line | Data |
---|---|---|
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 | ||
7 | /* $Id$ */ | |
8 | ||
9 | //--------------------------------------------------------------------- | |
10 | // Class to find and store the leading particle in event and | |
11 | // store its correlation to associated particles | |
12 | // Author: jgcn@mda.cinvestav.mx | |
13 | //--------------------------------------------------------------------- | |
14 | ||
15 | #include <TObject.h> | |
16 | #include <TArrayI.h> | |
17 | ||
18 | class TLorentzVector; | |
19 | class AliJetReader; | |
20 | ||
21 | class AliLeading : public TObject | |
22 | { | |
23 | public: | |
24 | ||
25 | AliLeading(); | |
26 | ~AliLeading(); | |
27 | ||
28 | // Getters | |
29 | Int_t GetNassoc() const {return fNassoc;} | |
30 | TLorentzVector* GetLeading() const {return fLeading;} | |
31 | TArrayI GetCorr() const {return fCorr;} | |
32 | Bool_t LeadingFound() const {return fFound;} | |
33 | Double_t GetE(); | |
34 | Double_t GetPt(); | |
35 | Double_t GetEta(); | |
36 | Double_t GetPhi(); | |
37 | ||
38 | // Setters | |
39 | // Others | |
40 | void FindLeading(AliJetReader* reader); | |
41 | void PrintLeading(); | |
42 | void Reset(); | |
43 | ||
44 | protected: | |
45 | ||
46 | AliLeading(const AliLeading& rLeading); | |
47 | AliLeading& operator = (const AliLeading& rl); | |
48 | ||
49 | Int_t fNassoc; // number of associated particles | |
50 | TLorentzVector* fLeading; // leading particle | |
51 | TArrayI fCorr; // array to store azimuthal correlation | |
52 | // between leading and assoc particles | |
53 | Int_t fnBin; // number of bins in array | |
54 | Double_t fLow; // value corresponding to lower bound of bin 0 | |
55 | Bool_t fFound; // leading found | |
56 | ||
57 | ClassDef(AliLeading,1); | |
58 | }; | |
59 | ||
60 | #endif |