]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODJet.h
Added another recoParam to the TOF recoParam object, i.e. time window to discriminate...
[u/mrichter/AliRoot.git] / STEER / AliAODJet.h
index 0c0ec1fe853d5ed5ba9378e9e657657250300aa6..4c91a5540ec6022e65106c4b8f148592cf4d384f 100644 (file)
@@ -60,17 +60,32 @@ class AliAODJet : public AliVParticle {
 
     virtual Double_t   EffectiveAreaCharged()   const { return  fEffectiveArea[0];}
     virtual Double_t   EffectiveAreaNeutral()   const { return  fEffectiveArea[1];}
+    virtual Double_t   DeltaR(const AliVParticle* part);
 
+    
     TLorentzVector*    MomentumVector()         const {return fMomentum;}
-    virtual void     Print(Option_t* /*option*/) const;
+    virtual void       Print(Option_t* /*option*/) const;
     
 // Dummy  
     virtual Short_t Charge()      const { return 0;}
     virtual const Double_t* PID() const { return NULL;}
     virtual Int_t   GetLabel()    const { return -1;}
 //
+
+    /** Compare this class with an other instance of this class
+     *  used in a TClonesArray::Sort()
+     *  @param   obj  ptr to other instance
+     *  @return  Returns 0 when equal, 1 when this is smaller
+     *  and -1 when bigger -- sorts descending
+     */
+    Int_t Compare( const TObject* obj) const;
     
     
+    /** Defines this class as being sortable in a TClonesArray
+     *  @return     always kTRUE;
+     */
+    Bool_t IsSortable() const  { return kTRUE; }
+
  private:
     Double32_t      fBackgEnergy[2];     // Subtracted background energy
     Double32_t      fEffectiveArea[2];   // Effective jet area used for background subtraction