AliAnalysisEtReconstructed * ConfigEtReconstructed(Bool_t EMCAL = true, Bool_t DETAIL = false){ gInterpreter->GenerateDictionary("std::map", "AliPhysicsSelection.h;map") ; gInterpreter->GenerateDictionary("std::pair", "AliPhysicsSelection.h;utility"); //Bool_t EMCAL = true; TFile *infile = new TFile("corrections.root"); corrections = (AliAnalysisHadEtCorrections *)infile->Get("hadCorrectionEMCAL"); cout<<"Setting the AliAnalysisHadEtCorrections to "<GetName()<GetEtaCut()<SetDataSet(20100); //Set corrections... totEtReco->SetCorrections(corrections); totEtReco->Init(); return totEtReco; } else{ AliAnalysisEtReconstructedEmcal *totEtReco = new AliAnalysisEtReconstructedEmcal(); totEtReco->SetDataSet(20100); //Set corrections... totEtReco->SetCorrections(corrections); totEtReco->Init(); return totEtReco; } } else{ AliAnalysisEtReconstructedPhos *totEtReco = new AliAnalysisEtReconstructedPhos(); totEtReco->SetDataSet(20100); //Set corrections... totEtReco->SetCorrections(corrections); totEtReco->Init(); return totEtReco; } }