]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | void 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 | } |