Tomasz Motylewski wrote:
>
> root [0] TF1 *(pks[100]);
> Error: No symbol pks[100] in current scope FILE:/tmp/08973aaa LINE:1
> *** Interpreter error recovered ***
>
> root [1] TF1 *pks[100]; - is OK
>
> But I think that the first way is also correct ?
> What I want is array of pointers, not
> TF1 (*pksa)[100];
> which also gives no error.
>
.... [snip]
>
> Regards,
> --
> Tomasz Motylewski
Hi Thomasz,
Due to my limited knowledge (of C++ and ROOT) I can only give you a hint
on the first item you mentioned.
If you use TF1** pksa and then pksa=new TF1*[100] you get what you want.
--
Cheers,
_/_/ _/ _/ _/_/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/_/
_/ _/_/ _/ _/ _/ _/
_/ _/ _/ _/_/_/_/ _/ _/
*----------------------------------------------------------------------*
Dr. Nick van Eijndhoven Department of Subatomic Physics
email : nick@phys.uu.nl Utrecht University / NIKHEF
tel. +31-30-2532331 (direct) P.O. Box 80.000
tel. +31-30-2531492 (secr.) NL-3508 TA Utrecht
fax. +31-30-2518689 The Netherlands
WWW : http://www.phys.uu.nl/~nick Office : Ornstein lab. 172
----------------------------------------------------------------------
tel. +41-22-7679751 (direct) CERN PPE Division / ALICE exp.
tel. +41-22-7675857 (secr.) CH-1211 Geneva 23
fax. +41-22-7679480 Switzerland
CERN beep : 13+7294 Office : B 160 1-012
*----------------------------------------------------------------------*
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET