Re: TChain

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 16 Dec 2009 09:27:54 +0100


Marc,

you said:
  >there is an error message when one of the file doesn't contain the required Tree
  >but it works for the others that contain I do not understand your problem. It is normal to issue an error message when the file does not exist

Rene Brun

Marc Escalier wrote:
> Dear colleagues,
>
> when creating a TChain like this :
>
> TChain mychain("NameOfTheTree");
>
> mychain.Add("myfile1")
> ...
> mychain.Add("myfile1000")
>
> there is an error message when one of the file doesn't contain the
> required Tree
> but it works for the others that contain
>
> ==>is there a way to prevent the error message
>
> thanks
>
Received on Wed Dec 16 2009 - 09:26:47 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 16 2009 - 11:50:03 CET