]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliLeading.h
Updating macro to check the various methods of the AliMUONMCDataInterface
[u/mrichter/AliRoot.git] / JETAN / AliLeading.h
index 784ee86feec425c705fff8d968191675b1039f3f..9dfd786aef61f39eb534461bf46bb19e88f46b43 100644 (file)
@@ -4,7 +4,8 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
  
+/* $Id$ */
+
 //---------------------------------------------------------------------
 // Class to find and store the leading particle in event and
 // store its correlation to associated particles
@@ -17,7 +18,6 @@
 class TLorentzVector;
 class AliJetReader;
 
-
 class AliLeading : public TObject
 {
  public:
@@ -26,10 +26,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 +43,17 @@ class AliLeading : public TObject
 
  protected:
 
-  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
+  AliLeading(const AliLeading& rLeading);
+  AliLeading& operator = (const AliLeading& rl);
 
+  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
+  Bool_t  fFound;           // leading found
+  
   ClassDef(AliLeading,1);
 };