RE: TF2 as constant

From: Smbat Grigoryan <Smbat.Grigoryan_at_cern.ch>
Date: Thu, 12 Apr 2012 06:59:23 +0000


You can use
root [1] TF2 *af2 = new TF2("af2","[0]+0*x*y",0,1, 0,1); Smbat



From: owner-roottalk_at_root.cern.ch [owner-roottalk_at_root.cern.ch] on behalf of Alexei Pavlinov [pavlinovalexei_at_gmail.com] Sent: Thursday, April 12, 2012 05:03
To: roottalk_at_root.cern.ch
Subject: [ROOT] TF2 as constant

  Hi,

Why I can not create the TF2 function which is just constant?

  Regards,
  Alexei

root [1] TF2 *af2 = new TF2("af2","[0]",0,1, 0,1); Error in <TF2::TF2>: function: af2/[0] has 1 parameters instead of 2

--
Alexei Pavlinov
Physics & Astronomy department
Wayne State University, Detroit, MI 48202, USA
Received on Thu Apr 12 2012 - 08:59:29 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 12 2012 - 17:50:02 CEST