// $Id$
+#include <cmath>
+
#include "AliEmcalJet.h"
ClassImp(AliEmcalJet)
printf("Jet pt=%.2f, eta=%.2f, phi=%.2f, area=%.2f, NEF=%.2f\n", fPt, fEta, fPhi, fArea, fNEF);
}
+
+//__________________________________________________________________________________________________
+void AliEmcalJet::SortConstituents()
+{
+ std::sort(fClusterIDs->GetArray(), fClusterIDs->GetArray() + fClusterIDs->GetSize());
+ std::sort(fTrackIDs->GetArray(), fTrackIDs->GetArray() + fTrackIDs->GetSize());
+}
Int_t ClusterAt(Int_t idx) const { return fClusterIDs->At(idx); }
Int_t TrackAt(Int_t idx) const { return fTrackIDs->At(idx); }
+ void SortConstituents();
+
protected:
Double32_t fPt; //[0,0,12] pt
Double32_t fEta; //[-1,1,12] eta