17 TFile fo(
"hits.root");
19 std::vector<ExP01TrackerHit*>*
hits;
20 fo.GetListOfKeys()->Print();
22 TIter next(fo.GetListOfKeys());
25 while ((key=(TKey*)next()))
27 fo.GetObject(key->GetName(),
hits);
30 cout <<
"Collection: " << key->GetName() << endl;
31 cout <<
"Number of hits: " << hits->size() << endl;
32 for (
int i=0;i!=hits->size();i++)