]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/macro/EMCAL/Config.C
Merging the VirtualMC branch to the main development branch (HEAD)
[u/mrichter/AliRoot.git] / AliGeant4 / macro / EMCAL / Config.C
1 void Config(Int_t version)
2 {
3   gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEMCAL");
4
5   AliEMCAL* EMCAL = 0;
6   switch (version) {
7     case 0: EMCAL  = new AliEMCALv0("EMCAL", "EMCALv0"); break;
8     case 1: EMCAL  = new AliEMCALv1("EMCAL", "EMCALArch1a"); break;
9   }  
10
11 //=================== EMCAL parameters ============================
12 }