]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/macro/ZDC/Config.C
added version 2
[u/mrichter/AliRoot.git] / AliGeant4 / macro / ZDC / Config.C
CommitLineData
676fb573 1void Config(Int_t version)
2{
3 gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libZDC");
4
5 AliZDC* ZDC = 0;
6 switch (version) {
dfd3fe56 7 case 1: ZDC = new AliZDCv1("ZDC","ZDCv1 detector"); break;
8 case 1: ZDC = new AliZDCv2("ZDC","normal ZDC"); break;
676fb573 9 }
10
11//=================== ZDC parameters ============================
12}