short TArray question

Florian Schopper (fls@mpe.mpg.de)
Fri, 15 Jan 1999 16:45:32 +0100 (MET)


Hey Rooters,

is there a way to get something like

TArrayI->AddAndExpand( Int_t newdata );

or

TArrayI->ResizeTo( Int_t newlenght );

As all the ->Set functions initialize the entries to
zero it's not straightforward to get it by combining other calls.
I might just not see it :*)

cheers
Florian

----------------------------------------------------------------------
Florian Schopper office: Max-Plank-Institut fuer
extraterrestrische physik
Ludwig-Merk str. 3 Postfach 1603
80805 Muenchen Giessenbachstr.
phone: 49/89/3226157 Garching bei Muenchen

phone: 49/89/3299 3625
fax: 49/89/3299 3569
e-mail: fls@mpe-garching.mpg.de
http://home.cern.ch/~fschoppe
----------------------------------------------------------------------
-----------------------------------------------------------------------