Two directories with different number of entries

Thank you Coyote!

I checked the links and I found out that I have to run this code

   TIter nextkey(f.GetListOfKeys());
   TKey *key;
   while (key = (TKey*)nextkey()) {
      Event *event = (Event*)key->ReadObj();
      event->Process();
   }

I am getting these errors:

Error: Symbol Event is not defined in current scope test_entries.C:17: Error: class,struct,union or type Event not defined test_entries.C:17: Warning: Automatic variable Event*event is allocated test_entries.C:17: Error: Undeclared variable Event*event test_entries.C:17: *** Interpreter error recovered ***

I search for Event.h but no results… Any ideas?