~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/DAQChannelMap.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:
29
29
#include <algorithm>
30
30
#include <fstream>
31
31
 
32
 
#include "src/legacy/Interface/Squeal.hh"
 
32
#include "Utils/Exception.hh"
 
33
 
 
34
namespace MAUS {
33
35
 
34
36
/** Identifier for a single DAQ channel.
35
37
 * This class is used to hold and manage all the information needed
44
46
  DAQChannelKey(int l, int g, int ch, int e, std::string d)
45
47
  :_ldcId(l), _geo(g), _channel(ch), _eqType(e), _detector(d) {}
46
48
 
47
 
  explicit DAQChannelKey(std::string keyStr) throw(Squeal);
 
49
  explicit DAQChannelKey(std::string keyStr) throw(Exception);
48
50
 
49
51
  virtual ~DAQChannelKey() {}
50
52
 
52
54
  bool operator!=( DAQChannelKey key );
53
55
 
54
56
  friend std::ostream& operator<< ( std::ostream& stream, DAQChannelKey key );
55
 
  friend std::istream& operator>> ( std::istream& stream, DAQChannelKey &key )  throw(Squeal);
 
57
  friend std::istream& operator>> ( std::istream& stream, DAQChannelKey &key )  throw(Exception);
56
58
 
57
59
  std::string detector() {return _detector;}
58
60
 
135
137
  std::vector<DAQChannelKey*> _chKey;
136
138
};
137
139
 
 
140
}  // namespace MAUS
138
141
 
139
142
#endif
140
143