Hi Stanislav,
Files in a TChain are connected only when necessary. Once a new file
is connected, the previously connected file is detached. That is why
a call by filename is more appropriate.
TChain does not support THbookTree and we have no plans to support
Hbook files in a TChain. Convert your files.
Rene Brun
On Thu, 25 Jul 2002, Stanislav NESTEROV wrote:
>
> Hello Development Team,
>
> I think it would be very good idea to implement in TChain class
> support of TFile pointers. In present version one can only add files into
> a chain by something like that
>
> chain.AddFile("bbb.root");
>
> but no way to do this
>
> TFile *f = new TFile("baba.root");
> chain.AddFile(f);
>
> From this point it would be easier to include for example
> THbookFile objects into chain 'cause it inherits from TFile. So may be it
> will be very useful when one can do such thing:
>
> THbookFile *hf = new THbookFile("fifi.hbook");
> chain.AddFile(hf);
>
> Thank you for you advance.
>
> Best regards,
> Stanislav.
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:01 MET