4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
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 //---------------------------------------------------------------------
21 class AliLeading : public TObject
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;}
40 void FindLeading(AliJetReader* reader);
46 AliLeading(const AliLeading& rLeading);
47 AliLeading& operator = (const AliLeading& rl);
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
57 ClassDef(AliLeading,1);