]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - AliGeant4/macro/VZERO/Config.C
Initial version
[u/mrichter/AliRoot.git] / AliGeant4 / macro / VZERO / Config.C
diff --git a/AliGeant4/macro/VZERO/Config.C b/AliGeant4/macro/VZERO/Config.C
new file mode 100644 (file)
index 0000000..a7d15bf
--- /dev/null
@@ -0,0 +1,13 @@
+void Config(Int_t version)
+{
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libVZERO");
+
+  AliVZERO* VZERO = 0;
+  switch (version) {
+    case 0: VZERO  = new AliVZEROv0("VZERO", "detector VZEROv0"); break;
+    case 1: break;
+    case 2: VZERO  = new AliVZEROv2("VZERO", "normal VZERO"); break;
+  }  
+
+//=================== VZERO parameters ============================
+}