Pietro, I do not understand your question. I assume that you use the selector via TTree::Process. With this function, you have arguments to specify the first entry and number of entries to process. Rene Brun On Mon, 13 Sep 2004, Pietro Govoni wrote: > Dear Rooters, > > I have a data tree, for which I prepared a loop class with the usual > TTree::MakeSelector tool. > I would like to make a preliminary short loop over a sub sample of the > events, say the first 100 events, to evaluate some parameters. > > The first thing that I did was to insert a cut like: > > if (loop_counter > 100) return kFALSE ; > > in the Process method. > Nevertheless, I would like to avoid looping over all the other total - 100 > events. > Is there a way to do it? > > Thank you very much > > pietro >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET