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

RDataFrame: sub-par diagnostics for interpreted types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 6.22/00
    • Component/s: RDataFrame
    • Labels:
      None
    • Environment:

      Any

      Description

      See https://root-forum.cern.ch/t/rdataframe-feature-request-better-diagnostics-for-interpreted-types/36909/7

           #include <ROOT/RDataFrame.hxx>
       
           using namespace ROOT;
       
           struct re{
               double a;
               double b;
           };
         re j2000(double k)
           {
             res c;
             c.a = 0;
             c.b = 0;
             return c;
           }
       
           void p4_radec()
           {
               RDataFrame aDataIn("result", "data/*.root");
               aDataIn
                   .Define("res", j2000, {"x"})
                   .Snapshot("result", "RESULT2.root");
               ;
           }
       
           int main()
           {
             p4_radec();
           }
      

        Attachments

          Activity

            People

            • Assignee:
              eguiraud Enrico Guiraud
              Reporter:
              axel Axel Naumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: