RE: [ROOT] ntuple leaf names

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Jun 08 2001 - 17:12:23 MEST


Hi,

This is because the HepTuple software assigns a default value for the
branch ( "_1", "_2", etc.) when you do not specify one.

In order to change it just do 

 _ntuple->column("PMsBranch::PMsCut",phi_cand_mass);

Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Matthew Martin
Sent: Friday, June 08, 2001 9:14 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] ntuple leaf names


Hi,
   Using HepNtuple, when I create an ntuple column with a command like:

 _ntuple->column("PMsCut",phi_cand_mass);

When I look at the resulting root file the leaf is called "_1" and not
"PMsCut" .. any idea why?

(using version v2_26_00g with KCC_4_0)

cheers

Mat



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET