~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/TOFCalibrationMap.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 "Utils/TOFChannelMap.hh"
36
 
#include "Interface/Squeal.hh"
 
36
#include "Utils/Exception.hh"
37
37
#include "Interface/Squeak.hh"
38
38
#include "src/common_cpp/Utils/JsonWrapper.hh"
39
39
 
 
40
namespace MAUS {
 
41
 
40
42
/** Identifier for a single TOF pixel.
41
43
 * This class is used to hold and manage all the information needed
42
44
 * to identifiy one pixel in the TOF detectors.
50
52
  TOFPixelKey(int st, int slX, int slY, string d)
51
53
  :_station(st), _slabX(slX), _slabY(slY), _detector(d) {}
52
54
 
53
 
  explicit TOFPixelKey(string keyStr) throw(Squeal);
 
55
  explicit TOFPixelKey(string keyStr) throw(Exception);
54
56
 
55
57
  virtual ~TOFPixelKey() {}
56
58
 
58
60
  bool operator!=( TOFPixelKey key );
59
61
 
60
62
  friend ostream& operator<<( ostream& stream, TOFPixelKey key );
61
 
  friend istream& operator>>( istream& stream, TOFPixelKey &key ) throw(Squeal);
 
63
  friend istream& operator>>( istream& stream, TOFPixelKey &key ) throw(Exception);
62
64
 
63
65
  string detector() {return _detector;}
64
66
 
271
273
  bool LoadTriggerCalib();
272
274
  bool pymod_ok;
273
275
};
 
276
}
274
277
 
275
278
#endif
276
279