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

TTree::MakeSelector can produce invalid C++ code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 6.06/00
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      CMSSW 8.0.26patch1 (ROOT version is reported as "6.06/01", but the version dropdown doesn't contain it).

    • Development:

      Description

      TTree::MakeSelector does not check that branch names are valid C/C++ identifiers (e.g., does not contain '-'), and thus can produce non-valid C++ code. Invalid characters in branch names should probably be either removed, or replaced with something like '_'.

        Attachments

          Activity

            People

            Assignee:
            pcanal Philippe Canal
            Reporter:
            razumov Ivan Razumov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: