~mbogomilov/maus/devel3

« back to all changes in this revision

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

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

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