GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - R3BRootGroup/glad-tpc: Software for HYDRA/R3B experiments at GSI/FAIR

BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
fitter
fitter
 
 
geometry
geometry
 
 
gtpc
gtpc
 
 
gtpcdata
gtpcdata
 
 
gtpceve
gtpceve
 
 
gtpcgen
gtpcgen
 
 
gtpcmap
gtpcmap
 
 
gtpcreconstruction
gtpcreconstruction
 
 
macros
macros
 
 
params
params
 
 
.clang-format
.clang-format
 
 
.clang-format-check.sh
.clang-format-check.sh
 
 
.codespell-ignorewords
.codespell-ignorewords
 
 
.gitignore
.gitignore
 
 
.zenodo.json
.zenodo.json
 
 
AUTHORS
AUTHORS
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTORS
CONTRIBUTORS
 
 
COPYRIGHT
COPYRIGHT
 
 
CleanToCommit.sh
CleanToCommit.sh
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
apply-format.sh
apply-format.sh
 
 
run_full.sh
run_full.sh
 
 
update_zenodo.py
update_zenodo.py
 
 

Repository files navigation

GLAD-TPC Software license DOI

static analysis CI-CD dashboard

The GLAD-TPC Framework

The GLAD-TPC (Time Projection Chamber) detector, also known as HYDRA, is part of the R3B (Reactions with Relativistic Radioactive Beams) experimental setup at the GSI/FAIR research center (Facility for Antiproton and Ion Research). The GLAD-TPC software allows for Monte Carlo simulations and experimental data analysis, enabling seamless integration with the data analysis workflows of other R3B detectors within the R3BRoot software. GLAD-TPC software is a source distribution with recurring releases for MacOS and Linux.

Discussion Forum

For the software-related user support you can post a new topic on our forum.

License

GLAD-TPC is distributed under the terms of the GNU Lesser General Public Licence version 3 (LGPLv3).

Release Information

Please visit releases

Contributing

Please ask your questions, request features, and report issues by creating a github issue.

Using the Project Template

GLAD-TPC as part of R3BRoot delivers various project templates that can be used as a starting point for anybody who would like to build simulation and reconstruction algorithms. The project Templates are located in the R3BRoot/template directory.

Code Formatting

The GLAD-TPC project (as part of R3BRoot) uses clang-format-16 to ensure a common code formatting. The script "apply-format.sh" can be used for this purpose:

. apply-format.sh

Step by Step Installation

Required software

First, you will need to install FairSoft, FairRoot and R3BRoot. For more details: R3BRoot README.

  • FaiSoft version: nov22p1 or later
  • FairROOT version: v18.2.1 or later
  • R3BROOT version: dec25 or later

Configure and compile

Follow the instructions in the R3BRoot README.

Simulations

For the general R3BRoot simulations, follow the instructions in R3BRoot README.

The steps to properly run the glad-tpc simulation:

  1. Create all the necessary files to run the code:

    1. The particle generator needs to be created, to do so go in the folder /glad-tpc/gtpgen/ and run the macro INCL_Background_ASCIIGenerator.cc to generate the bkg or PhaseSpaceDecay_hypertriton_ASCIIGenerator.cc to generate the hypertriton decay. The instructions are inside the macros. The output of the macros could be found in the folder /glad-tpc/gtpgen/ASCII/
    2. The geometry of the detector you want to use should be already in the folder /glad-tpc/geometry/ if it is not the case, go in the folder /glad-tpc/macros/geo/ and run the macro for the geometry you want.
  2. How to run the simulation, in the folder /glad-tpc/macros/sim there are 2 macros:

    1. simHYDRA.C: Needs the files created in step 1 to produce the events.
    2. run_simHYDRA: It requires the definition of the number of events, geometry and generator you want to use. In output will produce par.root, sim.root and two .png figures (these to check that the chamber is well placed).
  3. Check the simulation output, in the folder of the geometry chosen ,e.g. Prototype, there are the following macros:

    1. eventDisplay.C: To see the geometry and the particles event by event. Be careful, close it from the terminal (.q).
    2. checkAll.C: Checks the primary, Points and Hits characteristics.
  4. Electron drift, in the folder /glad-tpc/macros/proj/ there are several macros, the important ones are:

    1. run_proj.root: Simple projection of the tracks onto the pad planes, produce in output the file proj.root.
    2. readProjPoints.C: General macro for checking the projPoints from the projector.
  5. Visualization of the pad plane, in the folder /glad-tpc/macro/vis there is the macro readVPadPlane.C: This macro plots the output of the glad-tpc projector: plots the R3BGTPCProjPoint which contains the virtual pads calculated after the projection of the track.

  6. Electronics response, in the folder /glad-tpc/macro/electronics there is the macro Electronics_MT.C: This macro simulate the electronics response.

How to run the simulations

It is possible to use the bash script run_full.sh to run all these steps at once. BE CAREFUL, set first the wanted parameters in the different folders.

Data Analysis

...Under development...

Spell Checking

To avoid common typos in the codebase and documentation, we use codespell.

Check for spelling mistakes using the ignore list defined in .codespell-ignorewords:

codespell -I .codespell-ignorewords

If you want to automatically fix the detected typos:

codespell -w -I .codespell-ignorewords

Tested systems

The following systems are tested regularly.

OS Name Arch OS Version Compiler CMake C++ Version
Almalinux x86_64 9.3 GCC 11.4.1 3.27.9 / 4.0.3 C++17 / C++20
Almalinux x86_64 9.4 GCC 14.2.0 3.30.6 C++17
RHEL x86_64 9.6 GCC 14.2.0 3.30.6 C++17
Debian x86_64 11 GCC 10.2.1 3.27.4 / 3.30.0 C++17
Debian x86_64 12 GCC 12.2.0 3.27.4 / 3.30.0 C++17 / C++20
Debian x86_64 13 GCC 14.2.0 3.31.6 / 4.0.3 C++17
Ubuntu x86_64 24.04 GCC 13.3.0 3.28.3 / 4.0.3 C++17 / C++20
Ubuntu x86_64 25.04 GCC 14.2.0 3.31.6 / 4.0.3 C++17

More Information

  • Static analyzer using Clang-tidy
  • CMake build system for R3BRoot/glad-tpc
  • How to use an unmerged pull request

About

Software for HYDRA/R3B experiments at GSI/FAIR

Topics

baryonic-resonancescplusplusfairgeant4gsihypernucleir3b

Resources

Readme
LGPL-3.0 license
Activity
Custom properties

Stars

1 star

Watchers

2 watching

Forks

15 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.