Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.1%) to scientific vocabulary
Keywords
Repository
Software for HYDRA/R3B experiments at GSI/FAIR
Basic Info
Statistics
- Stars: 1
- Watchers: 2
- Forks: 12
- Open Issues: 1
- Releases: 3
Topics
Metadata Files
README.md
GLAD-TPC Software

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-15 to ensure a common code formatting. The script "apply-format.sh" can be used for this purpose: ~~~bash . 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
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:
Create all the necessary files to run the code:
- The particle generator needs to be created, to do so go in the folder
/glad-tpc/gtpgen/and run the macroINCL_Background_ASCIIGenerator.ccto generate the bkg orPhaseSpaceDecay_hypertriton_ASCIIGenerator.ccto 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/ - 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.
- The particle generator needs to be created, to do so go in the folder
How to run the simulation, in the folder
/glad-tpc/macros/simthere are 2 macros:simHYDRA.C: Needs the files created in step 1 to produce the events.run_simHYDRA: It requires the definition of the number of events, geometry and generator you want to use. In output will producepar.root,sim.rootand two.pngfigures (these to check that the chamber is well placed).
Check the simulation output, in the folder of the geometry chosen ,e.g. Prototype, there are the following macros:
eventDisplay.C: To see the geometry and the particles event by event. Be careful, close it from the terminal (.q).checkAll.C: Checks the primary, Points and Hits characteristics.
Electron drift, in the folder
/glad-tpc/macros/proj/there are several macros, the important ones are:run_proj.root: Simple projection of the tracks onto the pad planes, produce in output the fileproj.root.readProjPoints.C: General macro for checking the projPoints from the projector.
Visualization of the pad plane, in the folder
/glad-tpc/macro/visthere is the macroreadVPadPlane.C: This macro plots the output of the glad-tpc projector: plots theR3BGTPCProjPointwhich contains the virtual pads calculated after the projection of the track.Electronics response, in the folder
/glad-tpc/macro/electronicsthere is the macroElectronics_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...
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 | 10 | GCC 8.3.0 | 3.27.4 / 4.0.3 | 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 | | 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
Owner
- Name: R3BRoot Group
- Login: R3BRootGroup
- Kind: organization
- Email: d.kresan@gsi.de
- Location: GSI, Darmstadt, Germany
GitHub Events
Total
- Release event: 6
- Delete event: 4
- Issue comment event: 1
- Push event: 15
- Pull request event: 33
- Create event: 6
Last Year
- Release event: 6
- Delete event: 4
- Issue comment event: 1
- Push event: 15
- Pull request event: 33
- Create event: 6
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 20 hours
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: about 20 hours
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jose-luis-rs (1)
Pull Request Authors
- jose-luis-rs (12)
- pgrusell (3)
- YanzhaoW (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache/save v4 composite
- actions/cache/restore v4 composite
- ./.github/actions/cache-save * composite
- ./.github/actions/ctest-cdash * composite
- ./.github/actions/install-deps * composite
- ./.github/actions/pre-build * composite
- actions/checkout v4 composite
- actions/checkout v4 composite