In order to produce time-calibrated NeuLAND data, following macro is used:
It has to be executed after unpacking stage (previous How-To article).
Before running the macro, make sure that paths to input / output files are properly set to the values, which are specific to your computer. The variables are: dirIn1, dirOut.
nModules - number of photo-multipliers in NeuLAND set-up,
trigger - process events only with this trigger value (1 - on-spill, 2 - off-spill). -1: all events.
- cd R3BROOT_BUILD_DIR
- . ./config.sh
- cd R3BROOT_SOURCE_DIR
- cd macros/r3b/unpack/s438b
- root -l
- [..] .L tcal_s438b_lmd_beam.C
- [..] run("runRUN-NUMBER")
- [..] .q
Output file contains TTree object with name "cbmsim" and can be browsed using Tree Viewer of ROOT:
- root -l PATH_TO_DATA/runRUN-NUMBER_tcal_land.root
- [..] cbmsim->StartViewer()
The branch "LandPmt" contains one TClonesArray per event, filled with R3BLandPmt objects.