Skip to content

Package to transform SNFEE Raw Event Data (RED) into Falaise Unified Digitized Data (UDD).

License

Notifications You must be signed in to change notification settings

SuperNEMO-DBD/SNREDBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNRedBridge package

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

Checks the SNFrontEndElectronics setup:

$ snfee_setup
$ which snfee-query
$ snfee-query --help

Build from the source directory:

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

Run the red_bridge program:

$ 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

Run the red_bridge_validation program:

$ 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

About

Package to transform SNFEE Raw Event Data (RED) into Falaise Unified Digitized Data (UDD).

Resources

License

Stars

Watchers

Forks

Packages

No packages published