Initial version
[u/mrichter/AliRoot.git] / AliGeant4 / macro / RICH / ConfigPPR.C
... / ...
CommitLineData
1void Config(Int_t version)
2{
3 gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRICH");
4
5 AliRICH *RICH = 0;
6 switch (version) {
7 case 0: RICH = new AliRICHv0("RICH","normal RICH"); break;
8 case 1: RICH = new AliRICHv1("RICH","normal RICH"); break;
9 case 2: RICH = new AliRICHv2("RICH","normal RICH"); break;
10 }
11}
12