~mdrews/maus/my-branch

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/Global/Detector.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:
21
21
#define COMMON_CPP_RECONSTRUCTION_DETECTOR_HH
22
22
 
23
23
#include <iostream>
 
24
#include <map>
24
25
#include <vector>
25
26
 
26
27
#include "src/common_cpp/DataStructure/Global/ReconEnums.hh"
27
28
#include "src/common_cpp/Optics/CovarianceMatrix.hh"
 
29
 
28
30
namespace MAUS {
29
31
namespace recon {
30
32
namespace global {
31
33
 
32
34
class Detector {
33
35
 public:
 
36
 
 
37
  /* @brief Create with the given input values.
 
38
   */
34
39
  Detector(const MAUS::DataStructure::Global::DetectorPoint id,
35
 
           const double plane,
36
40
           const CovarianceMatrix & uncertainties);
37
41
 
38
42
  Detector(const Detector & original_instance)
39
 
      : id_(original_instance.id_), plane_(original_instance.plane_),
 
43
      : id_(original_instance.id_),
40
44
        uncertainties_(original_instance.uncertainties_) { }
41
45
 
42
46
  ~Detector();
43
47
 
44
48
  const MAUS::DataStructure::Global::DetectorPoint id() const;
45
 
  const double plane() const;
46
49
  const CovarianceMatrix & uncertainties() const;
47
50
 protected:
48
51
  Detector();
49
52
 
50
53
  MAUS::DataStructure::Global::DetectorPoint id_;
51
 
  double plane_;
52
54
  CovarianceMatrix uncertainties_;
53
55
};
54
56
 
 
57
typedef std::map<MAUS::DataStructure::Global::DetectorPoint,
 
58
                 MAUS::recon::global::Detector> DetectorMap;
55
59
}  // namespace global
56
60
}  // namespace recon
57
61
}  // namespace MAUS