]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliLeading.h
- Correct setting of FUDGEM parameter.
[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   Bool_t LeadingFound() const { return fFound;}
33   
34   // Setters
35   // Others
36   void FindLeading(AliJetReader* reader);
37   void PrintLeading();
38   void Reset();
39
40  protected:
41
42   Int_t fNassoc; // number of associated particles
43   TLorentzVector* fLeading; // leading particle
44   TArrayI fCorr; // array to store azimuthal correlation
45                 // between leading and assoc particles
46   Int_t fnBin;  // number of bins in array
47   Double_t fLow; // value corresponding to lower bound of bin 0
48   Bool_t  fFound;
49   
50   ClassDef(AliLeading,1);
51 };
52
53 #endif