Check if AliPhysics is installed; instantiate the EMCAL geometry
[u/mrichter/AliRoot.git] / test / gun / recraw / aod.C
CommitLineData
7979be2b 1void aod(){
2
7979be2b 3 gSystem->Load("libANALYSIS");
4 gSystem->Load("libANALYSISalice");
20d8139c 5
6 if( gSystem->Load("libCORRFW") <0) {
7 cerr << "Error: AliPhysics is not installed, no AOD test is possible!" << endl;
8 return;
9 }
7979be2b 10 gSystem->Load("libPWGHFbase");
11 gSystem->Load("libPWGmuon");
aaacb672 12 gSystem->Load("libESDfilter");
257e1b2b 13 gSystem->Load("libTender");
aaacb672 14 gSystem->Load("libPWGPP");
7979be2b 15
20d8139c 16 AliEMCALGeometry::GetInstance("EMCAL_COMPLETEV1");
17
257e1b2b 18 gROOT->Macro("${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C(\"AliESDs.root\",\"AliAODs.root\",\"local://$ALICE_ROOT/OCDB\",\"local://..\",kFALSE)");
7979be2b 19}