Re: TDSet

From: Gerardo Ganis <gerardo.ganis_at_cern.ch>
Date: Mon, 6 Sep 2010 08:14:48 +0200

     Hi,

On 09/05/2010 07:57 PM, Marc Escalier wrote:
> Hello,
>
> would you know how to do, for a TDSet (which is different to a TChain) :
> -change the number of entries
> (for a TChain, it is TChain::SetEntries(...)

      This does not make sense in TDSet, since you are not filling any tree.
      What do you want to achieve?

> -read the number of entries
> (for a TChain, it is TChain::GetEntries(...)

     This is not available. You have to loop over the elements.

     Note that TDSet maps the dataset as needed internally by PROOF and is not

     supposed to be a replacement of TChain.

     Gerri Received on Mon Sep 06 2010 - 08:17:20 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 06 2010 - 11:50:01 CEST