Added post data before return, to get output
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Dec 2009 08:33:53 +0000 (08:33 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Dec 2009 08:33:53 +0000 (08:33 +0000)
JETAN/AliAnalysisTaskDiJets.cxx

index 9a12873..306b02a 100644 (file)
@@ -159,8 +159,10 @@ void AliAnalysisTaskDiJets::UserExec(Option_t */*option*/)
     Int_t nj = jets->GetEntriesFast();
     if (fDebug >1) printf("There are %5d jets in the event \n", nj);
 
-    if (nj < 2) return;
-
+    if (nj < 2){
+      PostData(1, fHistList);
+      return;
+    }
     AliAODJet* jet1 = (AliAODJet*) (jets->At(0));
     TLorentzVector v1 = *(jet1->MomentumVector());
     AliAODJet* jet2 = (AliAODJet*) (jets->At(1));