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