The FCC Event Data Model.
The Data Model uses PODIO. On lxplus the PODIO installation is picked up by the init.sh
script.
If you are unable to use this central installation you'll have to compile, install and setup the environment for PODIO.
Please report any feature requests and issues in the github repository.
If you are on lxplus, all the necessary software is installed on CVMFS.
On Mac OS or Ubuntu, you need to install the following software.
https://github.com/aidasoft/podio
https://github.com/HEP-FCC/dag
Before compiling or using:
-
If on Mac OS, Ubuntu or using a custom installations:
- set up the PODIO environment (sourcing the PODIO
init.sh
) - set up the dag environment (set the FCCDAG environment variable to the install directory)
- set up the PODIO environment (sourcing the PODIO
-
Set up the FCC-EDM environment:
source ./init.sh
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../install ..
make -j 4 install
Rudimentary tests that do write and read can be run with
make test
Make sure that the ROOT dictionaries are in the LD_LIBRARY_PATH. This is automatically done when you install, otherwise you may need to update the path accordingly.
The examples are located in the examples
directory. This command writes an example.root
file:
fccedm-write
That file can then be read with
fccedm-read