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

TTreeReaderArray<T> does not work for VLEN branches whose length branch is not of type int

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.08/06
    • 6.28/00
    • TTree
    • None
    • Irrelevant

    Description

      My tree has a length branch of type short "len/S" and a VLEN branch of type float "my_branch[len]/F". This works perfectly and is allowed by the API, yet TTreeReaderArray<float> cannot handle this and aborts with an error, complaining that branch "len" cannot be read with a TTreeReaderValue<int>.

      Attachments

        Activity

          People

            eguiraud Enrico Guiraud
            hdembins Hans Peter Dembinski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: