void test1(void)
{
   TString path = "/home/margar/root/";
   TSystemDirectory * dir = new TSystemDirectory("test", path);
   TList * list = dir->GetListOfFiles();

   cout<<endl<<"printing the content of firts directory"<<endl;
   list->Print();

   dir->SetDirectory(path+"cpp");
   list = dir->GetListOfFiles();
   cout<<endl<<"printing the content of second directory"<<endl;
   list->Print();

}


