Project

General

Profile

Feature #1919

Upgrade to ROOT6

Added by Dobbs, Adam over 4 years ago. Updated over 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
Category:
Third party libraries
Target version:
Start date:
14 March 2017
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

I would like to upgrade MAUS to ROOT6 for the following reasons:

  • maintain our ability to build MAUS on modern systems (ROOT5 and GCC6 don't seem to work together);
  • enjoy the latest updates to ROOT which only go in ROOT6;
  • generally keep the MAUS code base current.

When I presented this at an analysis meeting a few concern were raised:

1. Will ROOT6 MAUS be able to open our existing processed data?
2. Will it alter any physics results?
3. Will it mess up onrec?
4. Will it work my personal scripts?

I have addressed these questions (at least in part):

1. Yes, checked and no problem
2. I ran an MC of run 8681, 1000 events, and compared results, they were identical (output files attached)
3. I need the onrec code to say for sure, but the test plots look fine, plots in general look identical
4. There may need to be some small tweaks, principally changing . to -> to access pointers

NB: ROOT6 MAUS use slightly more memory than ROOT5, but otherwise the performance seems to be identical

Please let me have any more comments or concerns here.


Files

maus_output_mc_run8681_root5.root (39 MB) maus_output_mc_run8681_root5.root Dobbs, Adam, 14 March 2017 18:26
maus_output_mc_run8681_root6.root (39 MB) maus_output_mc_run8681_root6.root Dobbs, Adam, 14 March 2017 18:26
maus_resource_usage_release.eps (76.3 KB) maus_resource_usage_release.eps Dobbs, Adam, 17 March 2017 16:15
maus_resource_usage_merge.eps (77.7 KB) maus_resource_usage_merge.eps Dobbs, Adam, 17 March 2017 16:15
maus_resource_usage_root6.eps (77.3 KB) maus_resource_usage_root6.eps Dobbs, Adam, 17 March 2017 16:15
08681_onrec_MAUSv2-8-3.tar.gz (1.21 MB) 08681_onrec_MAUSv2-8-3.tar.gz Dobbs, Adam, 29 March 2017 14:02
08681_onrec_root6.tar.gz (1.21 MB) 08681_onrec_root6.tar.gz Dobbs, Adam, 29 March 2017 14:02
TofReduce_tof0_nspVspill.png (47.5 KB) TofReduce_tof0_nspVspill.png Dobbs, Adam, 29 March 2017 16:32

Related issues

Related to MAUS - Bug #1836: MAUS won't install on newer Scientific LinuxClosedDobbs, Adam22 March 2016

Actions
#1

Updated by Dobbs, Adam over 4 years ago

Attached are some plots for memory usage in release 2.8.3, the merge branch (root5) and my root6 branch. Memory usage is up, but remains acceptable.

#2

Updated by Dobbs, Adam over 4 years ago

I have now analysed the output of onrec using ROOT6, and compared with vanilla release MAUS-v2.8.3. The results are attached. The plots appear identical with 2 exceptions:

  • ROOT6 shows an increased memory usage, as expected (no problem);
  • the TOF spacepoints vs spill number plots are not populating correctly under ROOT6.

The second point will need addressing in some way before switching to ROOT6. The rest of the results are very encouraging however.

#3

Updated by Dobbs, Adam over 4 years ago

Fixed the TOF spacepoint vs. spill number issue. Require a small modification to src/reduce/ReduceCppTOFPlot/ReduceCppTOFPlot.cc to allow histogram rebinning:

_htof0_nspVspill->SetCanExtend(TH1::kXaxis);

for each tof detector.

Onrec is now good under ROOT6.

Also available in: Atom PDF