Please, could you tell me which is the simplest way to do the following using an RDataFrame
?
int nevt = tree->Draw("Xt:Yt","","goff");
double *Xt = tree->GetV1();
double *Yt = tree->GetV2();
Thank you!
Please, could you tell me which is the simplest way to do the following using an RDataFrame
?
int nevt = tree->Draw("Xt:Yt","","goff");
double *Xt = tree->GetV1();
double *Yt = tree->GetV2();
Thank you!
Hi,
I can take a closer look on Monday, but it sounds like you are looking for df.Take<double>("Xt")
? See the method docs.
Cheers,
Enrico
Yes, that’s what I am looking for! Thanks.
Thanks to the examples in the documentation I can see how the method works.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.