4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
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 //---------------------------------------------------------------------
19 class AliLeading : public TObject
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;}
38 void FindLeading(AliJetReader* reader);
44 Int_t fNassoc; // number of associated particles
45 TLorentzVector* fLeading; // leading particle
46 TArrayI fCorr; // array to store azimuthal correlation
47 // between leading and assoc particles
48 Int_t fnBin; // number of bins in array
49 Double_t fLow; // value corresponding to lower bound of bin 0
50 Bool_t fFound; // leading found
52 ClassDef(AliLeading,1);