9 #include "EventStorage/pickDataReader.h" 
   44   DataReader *pDR = pickDataReader(
fName);
 
   47     std::cerr << 
"Problem opening or reading the bytestream file "  
   48           << 
fName << std::endl;
 
   53     std::cerr << 
"No events in file "<< 
fName << std::endl;
 
   64   const unsigned bt=pDR->beamType();
 
   79     std::cerr << 
"WARNING: Unexpected beam type integer in BS file. Got " << bt << std::endl;
 
   85   const std::vector<std::string> fmds=pDR->freeMetaDataStrings();
 
   86   std::string eventTypeMD;
 
   87   for (
const std::string& fm : fmds) {
 
   93   if (eventTypeMD.find(
"is sim")!=std::string::npos) {
 
  109   while ((
c = getopt (
argc, 
argv, 
"vk")) != -1) {
 
  118       std::cerr << 
"Unkown command line option" << std::endl;
 
  124  const int nfiles=
argc-optind;
 
  126    std::cerr << 
"Expected at least one file name as parameter" << std::endl;
 
  131  std::vector<FileMetaData> 
output;
 
  133  for (
int iFile=optind;iFile<
argc;++iFile) {
 
  144    for (
const auto& o : 
output) o.keyValueDump();
 
  147    for (
const auto& o : 
output) o.dump();