message: Fix Nima's add macro
  Macro was not compilable due to some cases (referencing variable
  out of scope, order of arguments with default values), therefore
  not usable under ROOT6. Issues have been fixed.
diff: @@ -21,10 +21,10 @@ AliAnalysisTaskSubJetFraction* AddTaskAliAnalysisTaskSubJetFraction(const char *
  TString trigClass = "",
  TString kEmcalTriggers = "",
  TString tag = "",
  - AliAnalysisTaskSubJetFraction::JetShapeType jetShapeType,
  - AliAnalysisTaskSubJetFraction::JetShapeSub jetShapeSub,
  - AliAnalysisTaskSubJetFraction::JetSelectionType jetSelection,
  - Float_t minpTHTrigger =0., Float_t maxpTHTrigger =0., AliAnalysisTaskSubJetFraction::DerivSubtrOrder derivSubtrOrder = 0, Int_t SoftDropOn=0) {
  + AliAnalysisTaskSubJetFraction::JetShapeType jetShapeType = AliAnalysisTaskSubJetFraction::kTrue, // tobefixedbyauthor
  + AliAnalysisTaskSubJetFraction::JetShapeSub jetShapeSub = AliAnalysisTaskSubJetFraction::kNoSub, // tobefixedbyauthor
  + AliAnalysisTaskSubJetFraction::JetSelectionType jetSelection =AliAnalysisTaskSubJetFraction::kInclusive, // tobefixedbyauthor
  + Float_t minpTHTrigger =0., Float_t maxpTHTrigger =0., AliAnalysisTaskSubJetFraction::DerivSubtrOrder derivSubtrOrder = AliAnalysisTaskSubJetFraction::kSecondOrder, Int_t SoftDropOn=0) {
  @@ -45,20 +45,21 @@ AliAnalysisTaskSubJetFraction* AddTaskAliAnalysisTaskSubJetFraction(const char *
  return NULL;
  }
  + TString wagonName1, wagonName2;
  if (jetShapeType==AliAnalysisTaskSubJetFraction::kData || jetShapeType==AliAnalysisTaskSubJetFraction::kSim){
  - TString wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsData,trigClass.Data(),tag.Data());
  - TString wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsData,trigClass.Data(),tag.Data());
  + wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsData,trigClass.Data(),tag.Data());
  + wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsData,trigClass.Data(),tag.Data());
  }
  if (jetShapeType==AliAnalysisTaskSubJetFraction::kTrue || jetShapeType==AliAnalysisTaskSubJetFraction::kTrueDet || jetShapeType==AliAnalysisTaskSubJetFraction::kGenOnTheFly){
  - TString wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsTrue,trigClass.Data(),tag.Data());
  - TString wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsTrue,trigClass.Data(),tag.Data());
  + wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsTrue,trigClass.Data(),tag.Data());
  + wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsTrue,trigClass.Data(),tag.Data());
  }
  if (jetShapeType==AliAnalysisTaskSubJetFraction::kDetEmbPart){
  - TString wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsHybridS,trigClass.Data(),tag.Data());
  - TString wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsHybridS,trigClass.Data(),tag.Data());
  + wagonName1 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%s",njetsHybridS,trigClass.Data(),tag.Data());
  + wagonName2 = Form("AliAnalysisTaskSubJetFraction_%s_TC%s%sTree",njetsHybridS,trigClass.Data(),tag.Data());
  }
  //Configure jet tagger task
  - AliAnalysisTaskSubJetFraction *task = new AliAnalysisTaskSubJetFraction(wagonName1.Data());
  + AliAnalysisTaskSubJetFraction *task = new AliAnalysisTaskSubJetFraction(wagonName1);
  // task->SetNCentBins(4);
  task->SetJetShapeType(jetShapeType);
  