: PROOF

From: <iglez_at_mail.cern.ch>
Date: Thu, 2 Jun 2005 20:11:17 +0200 (CEST)


Dear Fons,

        I have being fighting with PROOF for more than a week. I succeded in filling histograms following the code in the h1analysis tutorial. However my code needs to do more complex things including some counters (of course I need histograms coupled with counters, etc... i.e. my own objects). I tried something as simple as wrapping a counter on a class inheriting from TObject (see in the attached file MyCounter.h). I compile it into ROOT using the buil-in mechanism in ROOT. If you look in MySelector.C (automatically generated from the tutorial root ntuple mlpHiggs.root with MakeSelector -see the makeselector.C script-) I have added a few cout's and the initialisation (inside SlaveBegin()), registration (idem, into fOutput) and use (inside Process(...)) of a MyCounter object. I tried to retrieve it afterwards inside the Terminate() method, but the object is not any more in fOutput as it happens with histograms. During the proccessing I get the following 3 errors several times:

Error in <TClass::Load> on master0: dictionary of class MyCounter not found
Error in <THashList::AddLast> on master0: argument is a null pointer
Error in <THashTable::Add> on master0: argument is a null pointer

I have spent a couple of days trying to find out the reason for this but I did not succeed. Any help will be very welcome. Thank you very much!!!

        Cheers,

                        Isidro

PS.: You may run everything with the execProof.C script just changing your PROOF server

-- 
+---------------------------+--------------------------------+

| Isidro González Caballero | mailto:Isidro.Gonzalez_at_cern.ch |
| IFCA (U. Cantabria/CSIC) | http://home.cern.ch/iglez/ |
| Avda. Los Castros s/n | -o- |
| Santander (España) | Tel: +34 942201343 / 699413841 |
+---------------------------+--------------------------------+

Received on Thu Jun 02 2005 - 20:17:31 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET