NeuLAND TCAL

In order to produce time-calibrated NeuLAND data, following macro is used:

tcal_s438b_lmd_beam.C

It has to be executed after unpacking stage (previous How-To article).


Execute macro

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.
Additional parameters:
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.

  1. cd R3BROOT_BUILD_DIR
  2. . ./config.sh
  3. cd R3BROOT_SOURCE_DIR
  4. cd macros/r3b/unpack/s438b
  5. root -l
  6. [..] .L tcal_s438b_lmd_beam.C
  7. [..] run("runRUN-NUMBER")
  8. [..] .q

View output

Output file contains TTree object with name "cbmsim" and can be browsed using Tree Viewer of ROOT:

  1. root -l PATH_TO_DATA/runRUN-NUMBER_tcal_land.root
  2. [..] cbmsim->StartViewer()

The branch "LandPmt" contains one TClonesArray per event, filled with R3BLandPmt objects.