37 #include "include/ExP01TrackerHit.hh" 39 int main(
int argc,
char** argv)
43 gSystem->Load(
"libExP01ClassesDict");
44 if(argc<2) G4cout <<
"Missing name of the file to read!" << G4endl;
48 std::vector<ExP01TrackerHit*>*
hits;
49 fo.GetListOfKeys()->Print();
51 TIter next(fo.GetListOfKeys());
54 while ((key=(TKey*)next()))
56 fo.GetObject(key->GetName(),
hits);
59 G4cout <<
"Collection: " << key->GetName() << G4endl;
60 G4cout <<
"Number of hits: " << hits->size() << G4endl;
61 for (
size_t i=0;i!=hits->size();i++)
int main(int argc, char **argv)