TProof and TCutG

I’m new to TPROOF and I was just trying something simple:

TChain c("tree","Tree");
TProof::Open("");
c->SetProof();
c->Draw(">>elist","atcutg");

The code immediately fails as all the slaves report, “Bad numerical expression: atcutg”. This code works fine without using Proof. Do the TCutGs only stay with the master? Am i forced to make a TSelector to use TCutG? I was looking for a simple way to implement proof.

Thanks.

I discovered the answer. SImply add the following line before the Draw command.