Applied Particle Physics in Energy Research

Learning CERN Root

A good CERN ROOT learning page Stanford

Running CERN Root on Windows10

  1. CERN Root 5 on Windows
  2. CERN ROOT is no longer supported for Windows. However, it used to be supported and a CERN ROOT 5 version is still available from CERN ROOT 5.34.36 32-bit from the main source CERN ROOT download

    The latest Windows release there now is the 2013 32-bit Visual Studio version (no 64-bit) which is available either as exe or tar. The exe runs a Setup utility and then ROOT App is available from the Start Menu on Windows10.

  3. CERN Root 6 on Windows

    1. VirtualBox
    2. Use VirtualBox to create a VM inside of which goes any Linux distribution for which the suitable CERN ROOT 6.12/06 exists from the main source CERN ROOT distribution

      New Windows10 laptops typically are shipped with "virtualization" supported but disabled so a BIOS visit to enable virtualization is needed. This is described in a nice youtube video which recommends a nice tool to inspect your own machine is Speccy by Piriform. The free version of Speccy is enough (without CCleaner), and be careful during set up screens not to say yes to everything or else Bing and Chrome will stomp on your previous search engine and browser selections. The free version of Speccy is enough to view your system specs (maybe same info is available from Control Panel but Speccy even gives temperature of some of your subsystems, and has a cool looking useful convenient interface). Use Speccy just to see if virtualization is supported and if it is not enabled a visit to BIOS is needed to enable it.

      Once virtualization is enabled then click New in VirtualBox, define a VM with the right Linux settings you plan to install, then install the Linux distro and then place the appropriate Linux ROOT distribution in the VM which matches the operating system in the VM. Once the CERN Root 6 tar file is there then tar -xvf extract and you'll see the rootn.exe and rootnb.exe executables. These should run right in the Linux VM.

    3. Xming etc
    4. There's another method which requires installation of Xming combined with some other items described by Blake Leverington

    5. Docker
    6. There's another method which requires installation of Docker and I guess deploy their "container" like VMs, but I have not implemented this method yet.

      The CERN Virtual Machine main source under folder table "Virtual Machine -> How to Run" lists nine different methods of which VirtualBox and Docker are two. CERN ROOT runs within the CernVMs available there, but these require an internet connection to the CERN VMs and you must have a login at CERN to enter them. The CERN "lightweight" login does not serve the purpose of entering these CERN VMs.

    7. Windows10 Bash Shell
    8. There's another method which avails itself of the Windows10 bash shell combined with some other items described on HowtoGeek

Website created by General Scientifics IT Dept