~jan.greis/maus/global-recon-rk

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/DAQChannelMap.cc

First working version of the TOF reconstruction

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
  if (xLabel != "DAQChannelKey") {
73
73
    throw(Squeal(Squeal::recoverable,
74
74
                 std::string("corrupted DAQ Channel Key"),
75
 
                 "istream& operator>>(istream& stream, DAQChannelKey)"));
 
75
                 "istream& operator>>(istream&, DAQChannelKey)"));
76
76
  }
77
77
  return stream;
78
78
}
96
96
  std::ifstream stream(filename.c_str());
97
97
  if ( !stream ) {
98
98
    Squeak::mout(Squeak::error)
99
 
    << "Error in DAQChannelMap::InitFromFile. Can't DAQ open cabling file. "
 
99
    << "Error in DAQChannelMap::InitFromFile. Can't open DAQ cabling file. "
100
100
    << filename << std::endl;
101
101
    return false;
102
102
  }
111
111
    }
112
112
  }catch(Squeal e) {
113
113
    Squeak::mout(Squeak::error)
114
 
    << "Error in DAQChannelMap::InitFromFile. Error during loading."
115
 
    << std::endl;
 
114
    << "Error in DAQChannelMap::InitFromFile. Error during loading." << std::endl
 
115
    << e.GetMessage() << std::endl;
116
116
    return false;
117
117
  }
118
118