TCutG issue?

Hi
i am new to root and i am trying to make a graphical cut. after selecting the desired area i type TCutG cut = (TCutG*)gPad->GetPrimitive(“CUTG”)
as in the manual , when i press enter it gives me :


Error: Can’t call TCutG::TCutG((class TCutG*)0xa517468) in current scope (tmpfile):1:
Possible candidates are…
public: TCutG TCutG::TCutG(void);
public: TCutG TCutG::TCutG(const TCutG& cutg);
public: TCutG TCutG::TCutG(const char* name,Int_t n);
public: TCutG TCutG::TCutG(const char* name,Int_t n,const Float_t* x,const Float_t* y);
public: TCutG TCutG::TCutG(const char* name,Int_t n,const Double_t* x,const Double_t* y);
*** Interpreter error recovered ***


is there a new command ?
thanks

Instead of

TCutG cut = (TCutG*)gPad->GetPrimitive("CUTG") ; do

TCutG *cut = (TCutG*)gPad->GetPrimitive("CUTG")
Rene