message: add ttree for local test eff
diff: @@ -16,10 +16,18 @@ void runLocal() {
  if(!task) return 0x0;
  // task->SetPileUpRead(kTRUE);
  + task->SetMCRead(kTRUE);
  + task->SetGeneratorName("Hijing");
  + task->SetEtaMinLimit(-0.8);
  + task->SetEtaMaxLimit(0.8);
  + task->SetNEtaBins(16);
  + task->SetFilterBit(768);
  + task->SetChi2DoF(4);
  + task->SetEfficiencyTree(kTRUE);//generates ttree for efficiency
  task->SetBuildBackground(kTRUE);
  - // TFile *f1 = new TFile("/Users/raquelquishpe/analysis/localtest/AnalysisResults9773.root");
  - // TList* histlist = (TList*)f1->Get("LongFluctuations/EtaBG");
  + // TFile *f1 = new TFile("AnalysisResultsbg.root");
  + // TList* histlist = (TList*)f1->Get("LegCoef");
  // if(!histlist) printf("error!!!!!!!! no list\n");
  // if(!(TH2D*)histlist->FindObject("PosBGHistOut")) printf("error!!!!!!!! no hist\n");
  @@ -27,7 +35,6 @@ void runLocal() {
  // task->GetNegBackground((TH2D*)histlist->FindObject("NegBGHistOut"));
  // task->GetChargedBackground((TH2D*)histlist->FindObject("ChargedBGHistOut"));
  // task->GetNeventsCentHist((TH1D*)histlist->FindObject("NeventsCentHist"));
  - //task->SetFilterBit(768);
  // task->SetBuildLegendre(kTRUE);
  @@ -39,6 +46,12 @@ void runLocal() {
  // if you want to run locally, we need to define some input
  TChain* chain = new TChain("aodTree");
  - chain->Add("/Users/raquelquishpe/analysis/localtest/XeAliAOD.root");
  + chain->Add("/Users/raquelquishpe/analysis/XeMCAOD/AliAOD1.root");
  + chain->Add("/Users/raquelquishpe/analysis/XeMCAOD/AliAOD3.root");
  + // chain->Add("/Users/raquelquishpe/analysis/XeMCAOD/AliAOD4.root");
  + // chain->Add("/Users/raquelquishpe/analysis/XeMCAOD/AliAOD5.root");
  + // chain->Add("/Users/raquelquishpe/analysis/XeMCAOD/AliAOD6.root");
  +
  +
  mgr->StartAnalysis("local", chain);
  }
  