Skip to content

Updated CbmReco and dependent classes.

Dominik Smith requested to merge d.smith/cbmroot:CbmRecoUpgrade into master

The task CbmReco carries out unpacking and subsequently triggering, event-building and event-selection. There are two different ways in which this task can be run:

  1. By running the macro reco_fairroot.C.
  2. By running the compiled binary cbmreco_fairrun.

This mode of running the read-out chain has not been in use for some time, and hence the corresponding code did not account for most recent developments in cbm::algo, most importantly the yaml-based configuration of the unpackers and the automated selection of the proper parameter files by using the ParFiles class. This is addressed in the present MR.

This MR builds upon !1873 (merged), to restore the functionality of CbmReco and update it such that it accounts for the new interface of CbmTaskUnpack. It is now possible to set the directory containing the online parameters, and a run ID by which the proper parameter set is selected, from the constructor of CbmReco. The macro reco_fairroot.C has been updated to support this. Likewise, the compiled binary cbmreco_fairrun has received two new program options, by which the parameter directory and run ID can be passed.

Both types of execution were tested and seem to reproduce the results of the online binary used in the data challenges and during the beam times.

@p.-a.loizeau @f.uhlig @fweig @j.decuveland @n.herrmann

Merge request reports