Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10790

[DF] Single-thread Snapshot into a directory also creates a spurious TTree outside of it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.22/00, 6.20/04
    • Fix Version/s: 6.22/00, 6.24/00
    • Component/s: RDataFrame
    • Labels:
      None
    • Environment:

      any

      Description

      First reported on the forum here.

      Reproducer:

      using ROOT::RDataFrame;
      void snapshot(){
          //ROOT::EnableImplicitMT();
          RDataFrame d("NTuple/Z0","4.4T_decay_pi_x1_part2.root");
          auto dr = d.Filter("abs(x)<30");
          dr.Snapshot("NTuple/Z0", "ss_noMT.root");
          return;
      }

      With the file available at http://ihepbox.ihep.ac.cn/ihepbox/index.php/s/8zNkipeoH7sJaf5

      A multi-thread Snapshot does not appear to have this problem.

        Attachments

          Activity

            People

            • Assignee:
              eguiraud Enrico Guiraud
              Reporter:
              eguiraud Enrico Guiraud
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: