Re: TDSet::Process(TSelector * selector) missing

From: Maarten Ballintijn <maartenb_at_mit.edu>
Date: Fri, 12 Jan 2007 12:53:13 -0500


Hello Antonio,

You can pass the name of your class, rather then a the name of a macro, e.g.

dset->Process("TAnalsysSelector")

This requires that the class is know in the client and on the slaves. This is normally achieved using a PAR file which provides a library with your class(es) and their dictionary.

Cheers,

Maarten.

Antonio Bulgheroni wrote:
> Dear ROOTers,
> apologies for bothering you with another question about PROOF, but
> the more I (try to) use it, the more I like.
>
> So far, I have prepare a brand new custom selector inheriting from
> TSelector and I've filled in all the automatically generated methods and
> I've added my personal methods and data members. To work properly, this
> TAnalsysSelector needs to be set up before executed. I mean, I have to
> set few variables before calling tree->Process(mySelector). While this
> is possible when working w/o PROOF, I can't find a way when working w/
> PROOF because TDSet::Process(TSelector*) is missing and the only
> available method is TDSet::Process(const char*). In my case this is
> going to fail, because I have no more chance to set up the
> TAnalysisSelector.
>
> What's wrong? Is there another way out? Is it possible to have
> TDSet::Process(TSelector*)?
>
> Thanks a lot,
>
> Antonio
>
> --
> Antonio Bulgheroni, PhD
>
> Win98 error 001: Unexpected condition: booted without crashing.

-- 
Maarten Ballintijn <maartenb_at_mit.edu>
Massachusetts Institute of Technology
Received on Fri Jan 12 2007 - 18:53:24 CET

This archive was generated by hypermail 2.2.0 : Mon Jan 15 2007 - 17:50:00 CET