]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliLeading.h
784ee86feec425c705fff8d968191675b1039f3f
[u/mrichter/AliRoot.git] / JETAN / AliLeading.h
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  
8 //---------------------------------------------------------------------
9 // Class to find and store the leading particle in event and
10 // store its correlation to associated particles
11 // Author: jgcn@mda.cinvestav.mx
12 //---------------------------------------------------------------------
13
14 #include <TObject.h>
15 #include <TArrayI.h>
16
17 class TLorentzVector;
18 class AliJetReader;
19
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
33   // Setters
34   // Others
35   void FindLeading(AliJetReader* reader);
36   void PrintLeading();
37   void Reset();
38
39  protected:
40
41   Int_t fNassoc; // number of associated particles
42   TLorentzVector* fLeading; // leading particle
43   TArrayI fCorr; // array to store azimuthal correlation
44                 // between leading and assoc particles
45   Int_t fnBin;  // number of bins in array
46   Double_t fLow; // value corresponding to lower bound of bin 0
47
48   ClassDef(AliLeading,1);
49 };
50
51 #endif