]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJet.h
PPR version of the JETAN code (M. Lopez Noriega)
[u/mrichter/AliRoot.git] / JETAN / AliJet.h
index d9b4389b77f79e443a686374b35e6e90dffdedca..c9c5da71a5c2c474b88389d2de262272ed7928ab 100644 (file)
@@ -31,10 +31,16 @@ class AliJet : public TObject
   TClonesArray* GetJets() const {return fJets;}
   TArrayI GetInJet() const {return fInJet;}
   TArrayI GetMultiplicities() const {return fMultiplicities;}
+  TArrayI GetNCells() const {return fNCells;}
   TArrayF GetPtFromSignal() const {return fPtFromSignal;}
+  TArrayF GetEtaIn() const { return fEtaIn; }
+  TArrayF GetPhiIn() const { return fPhiIn; }
+  TArrayF GetPtIn() const { return fPtIn; }
+  Double_t GetEtAvg() const { return fEtAvg; }
 
   TLorentzVector* GetJet(Int_t i);
-  Int_t GetMultiplicity(Int_t i);
+  Int_t GetMultiplicity(Int_t i) const;
+  Int_t GetNCell(Int_t i) const;
   Double_t GetPx(Int_t i);
   Double_t GetPy(Int_t i);
   Double_t GetPz(Int_t i);
@@ -49,10 +55,15 @@ class AliJet : public TObject
   // Setters
   void SetNinput(Int_t i) {fNInput = i;}
   void AddJet(Double_t px, Double_t py, Double_t pz, Double_t e);
-  void SetInJet(Int_t* j);
   void SetMultiplicities(Int_t* m);
+  void SetNCells(Int_t* n);
   void SetPtFromSignal(Float_t* p);
-
+  void SetEtaIn(Float_t* eta);
+  void SetPhiIn(Float_t* phi);
+  void SetPtIn(Float_t* pt);
+  void SetInJet(Int_t* idx);
+  void SetEtAvg(Double_t et) { fEtAvg = et; }
+  
   // others
   Bool_t OutOfRange(Int_t i, const char *s) const;
   void ClearJets(Option_t *option="");
@@ -62,11 +73,18 @@ class AliJet : public TObject
 
   Int_t fNInput;               // number of input objects
   Int_t fNJets;                // number of jets found
+  Double_t fEtAvg;             // average background et per cell
+
   TArrayI fInJet;              // i-input object belongs to k-jet 
   TArrayI fMultiplicities;     // Multiplicity of each jet
+  TArrayI fNCells;             // Number of cells in jet
   TArrayF fPtFromSignal;       // percentage of pt from signal
   TClonesArray* fJets;         // 4-momenta of jets
 
+  TArrayF fEtaIn;              // Arrays of input particles kine:Eta
+  TArrayF fPhiIn;              // Arrays of input particles kine:Phi
+  TArrayF fPtIn;               // Arrays of input particles kine:Pt
+  
   ClassDef(AliJet,1)
 };