~9marusia6/maus/beamlinesimulation

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/CkovDigit.hh

  • Committer: Chris Rogers
  • Date: 2012-05-10 20:25:42 UTC
  • mfrom: (663.6.10 merge)
  • Revision ID: chris.rogers@stfc.ac.uk-20120510202542-cr294lltgh14lde0
ReleaseĀ 0.2.3

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/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
#ifndef _SRC_COMMON_CPP_DATASTRUCTURE_CKOVDIGIT_
 
18
#define _SRC_COMMON_CPP_DATASTRUCTURE_CKOVDIGIT_
 
19
 
 
20
#include "Rtypes.h"  // ROOT
 
21
#include "src/common_cpp/DataStructure/CkovA.hh"
 
22
#include "src/common_cpp/DataStructure/CkovB.hh"
 
23
 
 
24
namespace MAUS {
 
25
 
 
26
/** @class CkovDigit comment
 
27
 *
 
28
 *  @var A  <--description-->
 
29
 *  @var B  <--description-->
 
30
 */
 
31
 
 
32
class CkovDigit {
 
33
  public:
 
34
    /** Default constructor - initialises to 0/NULL */
 
35
    CkovDigit();
 
36
 
 
37
    /** Copy constructor - any pointers are deep copied */
 
38
    CkovDigit(const CkovDigit& _ckovdigit);
 
39
 
 
40
    /** Equality operator - any pointers are deep copied */
 
41
    CkovDigit& operator=(const CkovDigit& _ckovdigit);
 
42
 
 
43
    /** Destructor - any member pointers are deleted */
 
44
    ~CkovDigit();
 
45
 
 
46
 
 
47
    /** Returns CkovA */
 
48
    CkovA GetCkovA() const;
 
49
 
 
50
    /** Sets CkovA */
 
51
    void SetCkovA(CkovA A);
 
52
 
 
53
    /** Returns CkovB */
 
54
    CkovB GetCkovB() const;
 
55
 
 
56
    /** Sets CkovB */
 
57
    void SetCkovB(CkovB B);
 
58
 
 
59
  private:
 
60
    CkovA _A;
 
61
    CkovB _B;
 
62
 
 
63
    ClassDef(CkovDigit, 1)
 
64
};
 
65
}
 
66
 
 
67
#endif  // _SRC_COMMON_CPP_DATASTRUCTURE_CKOVDIGIT_
 
68