Downloads
The latest distribution of the library in the zip file can be found
HERE .
Once downloaded extract it to the folder of your choice. The procedure of making a dll/sl library differs
a little bit between different OS. There are two makefiles. One for windows
makewin and the other for Linux and MacOS
makeLinuxMac. Please follow the instuctions bellow
to install and make it running.
Windows (XP,7)
- 1.) Extract the zip file to a folder where you want the software to reside.
- 2.) Open the makewin file and edit line staring with
SISDET=C:\KDetSim
to point to the path (folder) with the simulation code.
- 3.) Compile with
nmake -f makewin
- 4.) It should compile and produce the library stored lib/KDetSim.dll . The library can be invoked inside root CINT as
gSystem->Load("lib/KDetSim.dll");
It is recommended to put this line in the rootlogon.C file for auto-loading when starting root.
- 5.) Run examples for introduction
gSystem->Load("lib/KDetSim.dll");
.x examples/TestPixel.C
Linux
- 1.) Extract the zip file to a folder where you want the software to reside.
- 2.) Compile with
make -f makeLinuxMac KDetSimLinux
- 3.) It should compile and produce the library stored lib/KDetSim.sl . The rest is the same as for Windows.
MacOS
- Identical to Linux installation with the difference in
make -f makeLinuxMac KDetSimMacOS