Skip to content

tch285/AO2DToBerkeleyTreeConverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


AO2DToBerkeleyTreeConverter

A converter for JE derived datasets into the BerkeleyTree format.

ContactDependenciesInstallationUsage

Contact

Authors: Kirill Naumov, Tucker Hwang, Florian Jonas
Contact: Tucker via Slack or [email protected]

Dependencies

This package comes in three components: a downloader, a converter, and a scheduler tool.

  • The downloader requires a valid Python 3 installation with the rich module installed, and the AliEn tools, in particular alien_find, alien_cp, and alien_ls.
  • The converter depends only on ROOT and the yaml-cpp development package and is compiled with make. The name of the development package varies from system to system, but is typically called yaml-cpp-dev or yaml-cpp-devel.
  • The scheduler, written in Bash, requires an accessible Slurm configuration. The jobs are scheduled via sbatch.

Installation

To build the converter binary, you can simply run make in the root of the repository or run make -C <path/to/root>. To compile in debug mode, run with make BUILD=debug. The binary is built into an executable called converter in the bin directory. To run the converter standalone:

./bin/converter [args]
  --inputFileList=<file>, -i <file>  : Text file list of input AO2D files to be converted
  --outputFileName=<file>, -o <file> : Path to the output BerkeleyTree ROOT file
  --configFile=<file>, -c <file>     : YAML file containing cuts to be implemented on the converted data
  --createHistograms                 : Build QA histograms from the converted data
  --isPbPb                           : The data is from PbPb runs (currently just a placeholder)
  --isMC                             : The data is produced from Monte Carlo Simulation (currently just a placeholder)

Usage

For general usage and documentation, please refer to the README in the scripts directory. For specifics on how to use the converter on the NERSC system, please see the NERSC-specific instructions.

Future improvements

Check our issues page!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 45.1%
  • Shell 27.2%
  • Python 24.0%
  • Makefile 3.7%