Re: [ROOT] TChain of RFIO files?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Nov 27 2002 - 20:14:59 MET


Hi Daniel,

  it looks like you are using an obsolete version of the .rootrc or
$ROOTSYS/etc/system.rootrc file which has an old format for the plugin
handler description. Hence the Error from the TPluginHandler. Please
check that:

root [1] gROOT->GetPluginManager()->Print("a")
=====================================================================
Base                 Regexp        Class              Plugin
=====================================================================
TFile                ^rfio:        TRFIOFile          RFIO
  [Ctor: TRFIOFile(const char*,Option_t*,const char*,Int_t)]

prints the Ctor. Let me know.

Cheers, Fons.



On Wed, 2002-11-27 at 17:14, Daniel Cussol wrote:
> Hello rooters,
>  I would like to know if it there is a way to add TRFIOFiles to TChains.
> When I use the TChain::Add("rfio:....") it works correctly or at least no
> error occurs. But when I want to start a viewer I obtain a segmentation
> violation. When I use the TChain::Process, the error message 
> 
> Error in <TPluginHandler::ExecPlugin>: no ctor specified for this handler
> TRFIOFile method,
> 
> is printed. I tried to add directly the TFiles to the TChain's list of
> file (using TChain::GetListOfFiles()->Add(tf) method, where tf is
> obtained by TFile *tf=(TFile *)new TRFIOFile("rfio:...") ) but it does not
> work. When I use the TFRIOFile alone, all is working correctly. Could it
> be possible a TRFIOChain Class to chain TRFIOFiles or modify the TChain in
> order to enable the use of TRFIOFiles?
> 
>  I run ROOT version 3.03/07 on Linux RH7.2.
>  
>  Friendly 
> 
> Daniel CUSSOL
> 
> LPC Caen
> Boulevard du Marechal Juin
> 14050 CAEN CEDEX
> 
> e-mail : cussol@in2p3.fr
> Tel    : +33-(0)2-31-45-29-73
> FAX    : +33-(0)2-31-45-25-49
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET