Example Kernel ROOTDMaaS


In [1]:
std::cout<<"Hello World"<<std::endl;


Hello World

In [2]:
TCanvas *c=new TCanvas("c");




In [3]:
TF1 *f=new TF1("f","sin(x)",0,6);




In [4]:
c->Draw();
f->Draw();



<IPython.core.display.Image object>
<IPython.core.display.HTML object>

In [5]:
std::cerr<<"Hola"<<std::endl;
fprintf(stderr,"hola");




In [6]:
class Test
{
  public:
    Test(){};
    void Print()
    {
        std::cout<<"Hello"<<std::endl;
    }
};




In [7]:
Test test;
test.Print();


Hello

In [8]:
std::cerr<<"print error"<<std::endl;




In [ ]: