Corrections for par file compilation (A. Shabetai)
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 12:23:05 +0000 (12:23 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Feb 2011 12:23:05 +0000 (12:23 +0000)
JETAN/AliAnalysisTaskJetBackgroundSubtract.cxx
JETAN/Makefile

index a280562..2838a8d 100644 (file)
@@ -502,8 +502,10 @@ void AliAnalysisTaskJetBackgroundSubtract::UserExec(Option_t */*option*/)
        }
       }
     }
-  }
-  PostData(1, fHistList);
+    if(jarrayOut)jarrayOut->Sort();
+   }
+   
+   PostData(1, fHistList);
 }
 
 void AliAnalysisTaskJetBackgroundSubtract::Terminate(Option_t */*option*/)
index aa9c3e6..d81a140 100644 (file)
@@ -10,6 +10,13 @@ DHDR     = $(PACKAGE)LinkDef.h
 ALICEINC      = -I.
 
 ### define include dir for local case and par case
+ifneq ($(JETAN_INCLUDE),)
+  ifneq ($(FASTJET_ROOT),)
+   ALICEINC += -I$(FASTJET_ROOT)/include
+  else
+   ALICEINC += -I$(ALICE_ROOT)/JETAN/fastjet
+  endif
+endif
 ifneq ($(ESD_INCLUDE),)
    ALICEINC += -I../$(ESD_INCLUDE)
    ALICEINC += -I../$(AOD_INCLUDE)
@@ -21,7 +28,7 @@ ifneq ($(ESD_INCLUDE),)
    endif
  else
     ifneq ($(ALICE_ROOT),)
-       ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/JETAN -I$(ALICE_ROOT)/JETAN/fastjet -I$(ALICE_ROOT)/ANALYSIS
+       ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/JETAN -I$(ALICE_ROOT)/ANALYSIS
      endif
 endif