36 #include "include/ExP01TrackerHit.hh" 38 int main(
int argc,
char** argv)
42 gSystem->Load(
"libExP01ClassesDict");
43 if(argc<2) G4cout <<
"Missing name of the file to read!" << G4endl;
47 std::vector<ExP01TrackerHit*>*
hits;
48 fo.GetListOfKeys()->Print();
50 TIter next(fo.GetListOfKeys());
53 while ((key=(TKey*)next()))
55 fo.GetObject(key->GetName(),
hits);
58 G4cout <<
"Collection: " << key->GetName() << G4endl;
59 G4cout <<
"Number of hits: " << hits->size() << G4endl;
60 for (
size_t i=0;i!=hits->size();i++)
int main(int argc, char **argv)