Skip to content

The software that was originally written to characterize the SiPMs for the SBC collaboration.

Notifications You must be signed in to change notification settings

SBC-Collaboration/SBC-Queens-SIPMs-GUI-Software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The purpose of this software is to interface the CAEN libraries with a clean GUI and save the files in the SBC Binary format while minimizing dead time.

Gui Look

Compiling Instructions

All

Windows

If compiling this for windows make sure you have downloaded and installed:

  • MSYS2 (with build-essentials, clang-tools-extra PREFERRED). Click MSYS2 for more instructions.
  • Git for windows

Then clone the repository

git clone https://github.com/SBC-Collaboration/SBC-SIPM-Testing-Software

In a Windows terminal, the compilation steps are:

  1. cd ${PROJECT_LOCATION}
  2. cmake . -B build -G "MinGW Makefiles" -DCAEN_DIR=${CAEN_LOCATION} -DUSE_VULKAN=ON If not using the Vulkan backend set USE_VULKAN to OFF.
  3. mingw32-make -j

CAEN_LOCATION should be C:\CAEN or whenever it was installed.

LINUX

Have a working C++ compiler with C++20 features, cmake, and git. Then clone the repository:

git clone https://github.com/SBC-Collaboration/SBC-SIPM-Testing-Software

The compilation steps are (Linux):

  1. cd ${PROJECT_LOCATION}
  2. cmake . -B build -G "MinGW Makefiles" -DCAEN_DIR=${CAEN_LOCATION} -DUSE_VULKAN=ON If not using the Vulkan backend set USE_VULKAN to OFF.
  3. make -j

You will probably have some errors in the cmake running, most of them can be solved by googling the library that is required!

MAC

Good luck.

Note on CAEN Libraries

If the intention is to use this software to run the CAEN digitizer functionalities. It is required to install CAEN libraries. For both linux and windows, this can be done by following the CAENVME, CAENComm and CAENDigitizer libraries installation instruction.

If they are installed in an unusual location, it is possible to add -DCAEN_DIR=dir\to\CAEN while running cmake.

Developer instructions

If the intention is to develop the code:

  1. Install Sublime text
  2. Install the package manager in Sublime text.
  3. Then, follow this link to install SublimeLinter, SublimeLinter-cpplint, and LSP.
  4. Follow the Windows/Linux compiling instructions
  5. WINDOWS ONLY: to make step 2 work and after installing MSYS2, it is required to install clang-tidy and clangd. For that, click this link.
  6. During cmake add the option -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
  7. With all of this, Sublime Text should turn into a full IDE with code completion and error checking!

or

  1. Get Clion. It should be free as long as you are a student.

Common Problems:

ALL:

-- Nothing so far, but I bet they are there. Lurking in the shadows.

Credits

You do not need to install any of these dependencies directly, I just want to have a space to thank all of these awesome people. Without them, this project would not have been possible!

About

The software that was originally written to characterize the SiPMs for the SBC collaboration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published