]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/macro/TOF/Config.C
updated for changes in Config.C and new versions of detectors
[u/mrichter/AliRoot.git] / AliGeant4 / macro / TOF / Config.C
CommitLineData
676fb573 1void Config(Int_t version)
2{
3 gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTOF");
4
5 AliTOF *TOF = 0;
6 switch (version) {
7 case 0: TOF = new AliTOFv0("TOF", "TOFv0 detector"); break;
8 case 1: TOF = new AliTOFv1("TOF","normal TOF"); break;
9 case 2: TOF = new AliTOFv2("TOF", "TOFv2 detector"); break;
10 case 3: TOF = new AliTOFv3("TOF", "TOFv3 detector"); break;
11 case 4: TOF = new AliTOFv4("TOF", "TOFv4 detector"); break;
676fb573 12 }
13
14//=================== TOF parameters ============================
15}