X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=PWGJE%2FEMCALJetTasks%2FAliEmcalJetFinder.cxx;h=aa1159f64c3520fc14b146fa95165f59210fd956;hb=4a93a6e5952a92a259e41a0d585b48f79c382fc8;hp=e3f7c2e4b3564e4c6517994bb61c0cc4382a51c4;hpb=070fc781673a42b9fbb4b146fbbe46f060fb76f4;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWGJE/EMCALJetTasks/AliEmcalJetFinder.cxx b/PWGJE/EMCALJetTasks/AliEmcalJetFinder.cxx index e3f7c2e4b35..aa1159f64c3 100644 --- a/PWGJE/EMCALJetTasks/AliEmcalJetFinder.cxx +++ b/PWGJE/EMCALJetTasks/AliEmcalJetFinder.cxx @@ -1,6 +1,8 @@ // $Id$ // // Standalone jet finder +// CINT-compatible wrapper for AliFJWrapper, can be used in macros and from the ROOT command line. +// Compiled code can use AliFJWrapper directly // // Authors: R.Haake @@ -39,6 +41,10 @@ AliEmcalJetFinder::~AliEmcalJetFinder() Bool_t AliEmcalJetFinder::FindJets() { // Tidy up and check input + for (UInt_t i=0; iGetJetConstituents(i).size()); + jet->SetArea(fFastjetWrapper->GetJetArea(i)); jet->SetNumberOfTracks(nConstituents); jet->SetNumberOfClusters(nConstituents); fJetArray[fJetCount] = jet; @@ -89,7 +96,7 @@ Bool_t AliEmcalJetFinder::FindJets() fJetArray.resize(fJetCount); - fastjets.clear(); + //fastjets.clear(); // will be done by the destructor at the end of the function fFastjetWrapper->Clear(); fInputVectorIndex = 0; return kTRUE;