Skip to content
Snippets Groups Projects

Added unpack_tsa_mcbm_with_eb.C to /macro/beamtime/mcbm2020. This extends the...

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

A new macro unpack_tsa_mcbm_with_eb.C, which combines unpack_tsa_mcbm.C and build_event_win.C, as requested. It uses the new event builder class. It was tested on run 831 using the input file /lustre/cbm/users/ploizeau/mcbm2020/data/831_pn02_0001.tsa and it was verified to generate the same output as a sequential run of the two original macros.

An non-understood feature is the following: During tests, the macro produces two entries in the output tree cbmsim;16 and cbmsim;17. The events which are stored in the later are the ones which match the output of the original macros. The former tree contains a slightly lower number of events, but the event time histories look very similar regardless, leading me to believe that this is at least partially the same data.

This feature is already present in the original macro unpack_tsa_mcbm.C, i.e. two separate cbmsim entries are produced (without a CbmEvent branch of course). Perhaps @p.-a.loizeau can comment on this. I'm guessing this isn't actually a problem.

Otherwise, the macro seems to do what it should. I set the merge request to WIP as this is likely only the first step. Input from @f.uhlig @v.friese and @p.-a.loizeau is desireable at this point.

On edit: Timings using TStopwatch is now implemented for CbmAlgoBuildRawEvents and CbmTaskBuildRawEvents.

Edited by Dominik Smith

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading