New column RooDataSet

Hello, I am new in Root, I imported a RooDataSet from some data(mass), and I took the Sweights.

I have RooDataSet::data[mass,Nums_sw,L_Nums,Numb_sw,L_Numb] and I want to add a new “column” to the RooDataSet with values between 0 , 1 to enumerate the events (entries). I tried, but I couldn’t do that.


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

Hi Manuel,

I’d prefer to wait for @StephanH - our RooFit expert - who will be back at work next week. Please ping us should you not hear from him by the end of next week. Thanks!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.