Problems using Proof with a simple TSelector

ROOT Version: 6.10/04
Platform: Not Provided
Compiler: Not Provided

Dear root experts,

I’m trying to run a code using proof. I implemented a TSelector as recommended in your guide, but it crashes and I cannot understand why.
My code is here:

The TSelector is: vv_light.h/C
and the macro I use to send my Proof jobs is:

You can make a simple test on just uncommenting l46, in order to run over a small MC sample.

In order to use Proof, you need to uncomment lines: 32 and 90.
The data are on cern eos and you can access to them running the code on lxplus.

The code works perfectly fine if I do not enable Proof.

Please, let me know if you need any other info.

Thanks a lot in advance for your help and cheers,

Hi all,

I just figured out you could probably have problem accessing my gitlab repository. I put the relevant files in attachment.


vv_light.C (11.5 KB)
vv_light.h (7.4 KB)

and here the python scripts I mentioned in the first message (5.8 KB) (1.9 KB)

I guess @ganis can help you

Dear Attilio,

The first thing I see is that SlaveBegin is empty. For historical reasons, things in PROOF are initialized in SlaveBegin. I suggest to retry by adding a call to Begin in SlaveBegin.

If this does not help, please post the backtrace of the crash.

G Ganis


thanks a lot for the suggestion. Indeed, it now works perfectly fine!

Thanks again and cheers,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.