[ROOT] TChain with THbookFiles

From: Stanislav NESTEROV (Stanislav.Nesterov@cern.ch)
Date: Thu Jul 25 2002 - 13:47:48 MEST


    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