~maus-emr/maus/devel

« back to all changes in this revision

Viewing changes to src/common_cpp/Recon/SciFi/SimpleLine.hh

  • Committer: Ruslan Asfandiyarov
  • Date: 2013-05-14 15:03:27 UTC
  • mfrom: (669.1.13 maus)
  • Revision ID: ruslan.asfandiyarov@gmail.com-20130514150327-kqrr1lfppe46p4z5
merge with release 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus
2
 
 *
3
 
 * MAUS is free software: you can redistribute it and/or modify
4
 
 * it under the terms of the GNU General Public License as published by
5
 
 * the Free Software Foundation, either version 3 of the License, or
6
 
 * (at your option) any later version.
7
 
 *
8
 
 * MAUS is distributed in the hope that it will be useful,
9
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
 * GNU General Public License for more details.
12
 
 *
13
 
 * You should have received a copy of the GNU General Public License
14
 
 * along with MAUS.  If not, see <http://www.gnu.org/licenses/>.
15
 
 *
16
 
 */
17
 
 
18
 
/** @class SimpleLine
19
 
 *
20
 
 *
21
 
 */
22
 
 
23
 
#ifndef  SIMPLELINE_HH
24
 
#define SIMPLELINE_HH
25
 
 
26
 
// namespace MAUS {
27
 
 
28
 
class SimpleLine {
29
 
  public:
30
 
    SimpleLine();   // Default constructor
31
 
    ~SimpleLine();  // Default destructor
32
 
 
33
 
    // Getters
34
 
    double get_c() const { return _c; }
35
 
    double get_m() const { return _m; }
36
 
    double get_chisq() const { return _chisq; }
37
 
 
38
 
    // Setters
39
 
    void set_c(double c) { _c = c; }
40
 
    void set_m(double m) { _m = m; }
41
 
    void set_chisq(double chisq) { _chisq = chisq; }
42
 
    void set_parameters(double c, double m, double chisq);
43
 
 
44
 
  private:
45
 
    double _c;
46
 
    double _m;
47
 
    double _chisq;
48
 
};
49
 
// } // ~namespace MAUS
50
 
 
51
 
#endif