const char* GetName() const { return fName; }
const char* GetTitle() const { return fTitle; }
Double_t GetJetArea (UInt_t idx) const;
+ fastjet::PseudoJet GetJetAreaVector (UInt_t idx) const;
Double_t GetJetSubtractedPt (UInt_t idx) const;
virtual std::vector<double> GetSubtractedJetsPts(Double_t median_pt = -1, Bool_t sorted = kFALSE);
return retval;
}
+//_________________________________________________________________________________________________
+fastjet::PseudoJet AliFJWrapper::GetJetAreaVector(UInt_t idx) const
+{
+ // Get the jet area as vector.
+ fastjet::PseudoJet retval;
+ if ( idx < fInclusiveJets.size() ) {
+ retval = fClustSeq->area_4vector(fInclusiveJets[idx]);
+ } else {
+ AliError(Form("[e] ::GetJetArea wrong index: %d",idx));
+ }
+ return retval;
+}
+
//_________________________________________________________________________________________________
std::vector<double> AliFJWrapper::GetSubtractedJetsPts(Double_t median_pt, Bool_t sorted)
{
if (!fClustSeq) {
AliError("[e] Run the jfinder first.");
+ return;
}
Double_t mean_area = 0;