Skip to content

Development of the GRAND root file format

Notifications You must be signed in to change notification settings

lwpiotr/GRANDRoot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GRANDROOT basic information

This is the interface for accessing GRAND ROOT TTrees that (in its final future state) will not require the user (reader/writer of the TTrees) to have any knowledge of ROOT. It also will hide the internals from the data generator, so that the changes in the format are not concerning the user.

The TTree interface classes are defined in the GRANDROOTTrees.py file.

How to test

Storing of the data test

Run: python DataStoringExample.py

It will generate a stored_data.root file containing GRANDADCCounts, GRANDVoltage and GRANDEfield TTrees with random data, that are associated as TTree friends (loading an event from Efield should load a corresponding event from Voltage and ADCCounts, etc.)

Reading od the data test

Run, after generating the stored_data.root file above: python DataReadingExample.py

Currently the reading example is very basic.

About

Development of the GRAND root file format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%