ROOT logo

AliAnalysisHadEtReconstructed * ConfigHadEtReconstructed(){
  //cout<<"Hello I am configuring you"<<endl;
  AliAnalysisHadEtReconstructed *hadEtReco = new AliAnalysisHadEtReconstructed();
  //hadEtReco->SetDataSet(2009);
  hadEtReco->SetDataSet(2009);
  hadEtReco->SetV0ScaleDataSet(2009);
  //Set corrections...

  TFile *infile = new TFile("corrections.root");
  corrections = (AliAnalysisHadEtCorrections *)infile->Get("hadCorrectionEMCAL");
  cout<<"Setting the AliAnalysisHadEtCorrections to "<<corrections->GetName()<<endl;
  cout<<"eta cut is "<<corrections->GetEtaCut()<<endl;
  hadEtReco->SetCorrections(corrections);

  //Do trigger checks
  hadEtReco->DoTriggerChecks();

  hadEtReco->Init();
  return hadEtReco;
}

 ConfigHadEtReconstructedpp900GeV.C:1
 ConfigHadEtReconstructedpp900GeV.C:2
 ConfigHadEtReconstructedpp900GeV.C:3
 ConfigHadEtReconstructedpp900GeV.C:4
 ConfigHadEtReconstructedpp900GeV.C:5
 ConfigHadEtReconstructedpp900GeV.C:6
 ConfigHadEtReconstructedpp900GeV.C:7
 ConfigHadEtReconstructedpp900GeV.C:8
 ConfigHadEtReconstructedpp900GeV.C:9
 ConfigHadEtReconstructedpp900GeV.C:10
 ConfigHadEtReconstructedpp900GeV.C:11
 ConfigHadEtReconstructedpp900GeV.C:12
 ConfigHadEtReconstructedpp900GeV.C:13
 ConfigHadEtReconstructedpp900GeV.C:14
 ConfigHadEtReconstructedpp900GeV.C:15
 ConfigHadEtReconstructedpp900GeV.C:16
 ConfigHadEtReconstructedpp900GeV.C:17
 ConfigHadEtReconstructedpp900GeV.C:18
 ConfigHadEtReconstructedpp900GeV.C:19
 ConfigHadEtReconstructedpp900GeV.C:20
 ConfigHadEtReconstructedpp900GeV.C:21
 ConfigHadEtReconstructedpp900GeV.C:22
 ConfigHadEtReconstructedpp900GeV.C:23