Can't read a tree from root command line

Hey guys,

So previously I was able to execute these command without a problem. But I can’t seem to figure out why this can’t call error happen. Would someone look into it? Thanks

The TFile does have a tree call RootSet

root [1] TTree t = (TTree*)_file0->Get("RootSet") Error: Can't call TTree::TTree((class TTree*)0x279e1f0) in current scope (tmpfile):1: Possible candidates are... (in TTree) /usr/lib/x86_64-linux-gnu/root5.34/libTree.so -1:-1 0 private: TTree TTree::TTree(const TTree& tt); //not implemented /usr/lib/x86_64-linux-gnu/root5.34/libTree.so -1:-1 0 public: TTree TTree::TTree(void); /usr/lib/x86_64-linux-gnu/root5.34/libTree.so -1:-1 0 public: TTree TTree::TTree(const char* name,const char* title,Int_t splitlevel=99); *** Interpreter error recovered ***

TTree *t; _file0->GetObject(“RootSet”, t);

You were missing the * in the declaration.

TTree* t =