Dear Ricardo,
Likely the problem is that the cuts are not automatically redefined in the workers. If you add them to the input list yo have to retrieve from (or point to them in) there, before using then in Process. You may do this in SlaveBegin:
void FillHistoPbgamma::SlaveBegin(TTree * /*tree*/)
{
...
TString cutname;
for(int cint=0; cint<4; cint++) {
cutname.Form("c3_c6d6%d",cint+1);
Cut_3[cint] = (TCutG*)fInput->FindObject(cutname.Data());
}
...
}
If you are using ProofLite and the file /data128/ricardo/cuts_sc3.root is local to all the workers, you may also the initialization of the cuts from file (i.e. what you do now in Begin) in SlaveBegin.
Hope it helps.
G Ganis