How can I create TNtuples with as many elements as I want?

Hi Rooters,

I wanted to create a .root file with a single [color=#004080]NTuple[/color] and many arguments (more than 15 let’s say), but I get this error: [color=#BF0000]…TNtuple.h:52:22: note: candidate expects 15 arguments, 18 provided[/color]

How can I go about creating an [color=#004040]TNtuple[/color] with 20 arguments/variables let’s say ?

Thanks

Hi,

you can use this method
root.cern.ch/doc/master/classTN … d5e9bf91c5

Cheers,
D