]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliLeading.h
Modifications needed to do the following:
[u/mrichter/AliRoot.git] / JETAN / AliLeading.h
index 784ee86feec425c705fff8d968191675b1039f3f..cef8512f66875cc8d5723c91d4de92294892e71e 100644 (file)
@@ -4,7 +4,6 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
  
 //---------------------------------------------------------------------
 // Class to find and store the leading particle in event and
 // store its correlation to associated particles
@@ -17,7 +16,6 @@
 class TLorentzVector;
 class AliJetReader;
 
-
 class AliLeading : public TObject
 {
  public:
@@ -26,10 +24,15 @@ class AliLeading : public TObject
   ~AliLeading();
 
   // Getters
-  Int_t GetNassoc() const { return fNassoc;}
-  TLorentzVector* GetLeading() const { return fLeading;}
-  TArrayI GetCorr() const { return fCorr;}
-
+  Int_t GetNassoc() const {return fNassoc;}
+  TLorentzVector* GetLeading() const {return fLeading;}
+  TArrayI GetCorr() const {return fCorr;}
+  Bool_t LeadingFound() const {return fFound;}
+  Double_t GetE();
+  Double_t GetPt();
+  Double_t GetEta();
+  Double_t GetPhi();
+   
   // Setters
   // Others
   void FindLeading(AliJetReader* reader);
@@ -38,13 +41,14 @@ class AliLeading : public TObject
 
  protected:
 
-  Int_t fNassoc; // number of associated particles
+  Int_t fNassoc;            // number of associated particles
   TLorentzVector* fLeading; // leading particle
-  TArrayI fCorr; // array to store azimuthal correlation
-                // between leading and assoc particles
-  Int_t fnBin;  // number of bins in array
-  Double_t fLow; // value corresponding to lower bound of bin 0
-
+  TArrayI fCorr;            // array to store azimuthal correlation
+                            // between leading and assoc particles
+  Int_t fnBin;              // number of bins in array
+  Double_t fLow;            // value corresponding to lower bound of bin 0
+  Bool_t  fFound;           // leading found
+  
   ClassDef(AliLeading,1);
 };