~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/TOFChannelMap.hh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#include "json/json.h"
35
35
#include "src/common_cpp/Utils/DAQChannelMap.hh"
36
 
#include "src/legacy/Interface/Squeal.hh"
 
36
#include "Utils/Exception.hh"
37
37
#include "src/legacy/Interface/Squeak.hh"
38
38
#include "src/common_cpp/Utils/JsonWrapper.hh"
39
39
 
 
40
namespace MAUS {
 
41
 
40
42
using std::string;
41
43
using std::ostream;
42
44
using std::istream;
57
59
  TOFChannelKey(int st, int pl, int sl, int pmt, string d)
58
60
  :_station(st), _plane(pl), _slab(sl), _pmt(pmt), _detector(d) {}
59
61
 
60
 
  explicit TOFChannelKey(string keyStr) throw(Squeal);
 
62
  explicit TOFChannelKey(string keyStr) throw(Exception);
61
63
  virtual ~TOFChannelKey() {}
62
64
 
63
65
  bool operator==( TOFChannelKey key );
77
79
  string GetOppositeSidePMTStr();
78
80
 
79
81
  friend ostream& operator<<( ostream& stream, TOFChannelKey key );
80
 
  friend istream& operator>>( istream& stream, TOFChannelKey &key ) throw(Squeal);
 
82
  friend istream& operator>>( istream& stream, TOFChannelKey &key ) throw(Exception);
81
83
 
82
84
  string detector() const {return _detector;}
83
85
 
185
187
  bool pymod_ok;
186
188
};
187
189
 
 
190
}  // namespace MAUS
 
191
 
188
192
#endif
189
193
 
190
194