]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/macro/MUON/Config.C
updated for changes in Config.C and new versions of detectors
[u/mrichter/AliRoot.git] / AliGeant4 / macro / MUON / Config.C
1 void Config(Int_t version)
2 {
3   gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libminicern");
4   gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libMUON");
5
6   AliMUON *MUON = 0;
7   switch (version) {
8     case 0: MUON  = new AliMUONv0("MUON","normal MUON"); break;
9     case 1: MUON  = new AliMUONv1("MUON","normal MUON"); break;
10   }  
11 }