145 if (command && (strlen(command) > 1))
gROOT->ProcessLine(command);
153 gROOT->ProcessLine(action);
177 out<<
"exec = new TExec("<<quote<<
GetName()<<quote<<
","<<quote<<
GetTitle()<<quote<<
");"<<std::endl;
179 out<<
" exec->Draw();"<<std::endl;
virtual const char * GetName() const
Returns name of object.
virtual ~TExec()
Exec default destructor.
The TNamed class is the base class for all named ROOT classes.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void Paint(Option_t *option="")
Execute the command referenced by this object.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
virtual void Copy(TObject &named) const
Copy this to obj.
TExec is a utility class that can be used to execute a C++ command when some event happens in a pad...
TExec()
Exec default constructor.
virtual void Exec(const char *command="")
Execute the command referenced by this object.
virtual const char * GetTitle() const
Returns title of object.