This SuperNEMO package will be used to trasnform SNFEE Raw Event Data (RED) into Falaise Unified Digitized Data (UDD). SNREDBrige package depends on SNFEE and Falaise. You must source your environment before building and installing this package. RED datamodel is in SNFEE and UDD datamodel is in Falaise.
Two programs are provided:
-
red_bridge
:- reads a SNFEE RED file,
- "converts" RED into UDD data for event header, calorimeter and tracker digitized hits
- saves into a Falaise UDD file
-
red_bridge_validation
:- reads a SNFEE RED file and a Falaise UDD file,
- compares elements by elements each object of the two files and each data type to see if they are equivalent
The SNFrontEndElectronics_
library must be installed and setup on your system.
_SNFrontEndElectronics: https://gitlab.in2p3.fr/SuperNEMO-DBD/SNFrontEndElectronics
$ snfee_setup
$ which snfee-query
$ snfee-query --help
You must load your environment BEFORE executing this little script. The standard snemo environment (Bayeux, SNFEE, SNCabling and Falaise) must be in your paths before building the SNREDBrige package.
$ cd tools
$ ./build.bash
$ cd ../install.d
$ ./red_bridge --help
$ cd ../install.d
$ ./red_bridge \
-i "/sps/nemo/snemo/snemo_data/raw_data/RED/snemo_run-815_red-v1.data.gz"
-o "snemo_run-815_udd-v1.data.gz"
-n 1000
$ cd ../install.d
$ ./red_bridge_validation --help
$ cd ../install.d
$ ./red_bridge_validation \
-ired "/sps/nemo/snemo/snemo_data/raw_data/RED/snemo_run-815_red-v1.data.gz"
-iudd "snemo_run-815_udd-v1.data.gz"
-n 1000