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 AliLeading(const AliLeading& rLeading);
45 AliLeading& operator = (const AliLeading& rl);
47 Int_t fNassoc; // number of associated particles
48 TLorentzVector* fLeading; // leading particle
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
55 ClassDef(AliLeading,1);