~sophie-middleton08/maus/devel

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/V830.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
Tags: MAUS-v0.2.2
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_V830_
 
18
#define _SRC_COMMON_CPP_DATASTRUCTURE_V830_
 
19
 
 
20
#include "Rtypes.h"  // ROOT
 
21
#include "src/common_cpp/DataStructure/Channels.hh"
 
22
 
 
23
namespace MAUS {
 
24
 
 
25
/** @class V830 comment
 
26
 *
 
27
 *  @var ldc_id  <--description-->
 
28
 *  @var equip_type  <--description-->
 
29
 *  @var channels  <--description-->
 
30
 *  @var phys_event_number  <--description-->
 
31
 *  @var time_stamp  <--description-->
 
32
 *  @var geo  <--description-->
 
33
 */
 
34
 
 
35
class V830 {
 
36
  public:
 
37
    /** Default constructor - initialises to 0/NULL */
 
38
    V830();
 
39
 
 
40
    /** Copy constructor - any pointers are deep copied */
 
41
    V830(const V830& _v830);
 
42
 
 
43
    /** Equality operator - any pointers are deep copied */
 
44
    V830& operator=(const V830& _v830);
 
45
 
 
46
    /** Destructor - any member pointers are deleted */
 
47
    ~V830();
 
48
 
 
49
 
 
50
    /** Returns LdcId */
 
51
    int GetLdcId() const;
 
52
 
 
53
    /** Sets LdcId */
 
54
    void SetLdcId(int ldc_id);
 
55
 
 
56
    /** Returns EquipType */
 
57
    int GetEquipType() const;
 
58
 
 
59
    /** Sets EquipType */
 
60
    void SetEquipType(int equip_type);
 
61
 
 
62
    /** Returns Channels */
 
63
    Channels GetChannels() const;
 
64
 
 
65
    /** Sets Channels */
 
66
    void SetChannels(Channels channels);
 
67
 
 
68
    /** Returns PhysEventNumber */
 
69
    int GetPhysEventNumber() const;
 
70
 
 
71
    /** Sets PhysEventNumber */
 
72
    void SetPhysEventNumber(int phys_event_number);
 
73
 
 
74
    /** Returns TimeStamp */
 
75
    int GetTimeStamp() const;
 
76
 
 
77
    /** Sets TimeStamp */
 
78
    void SetTimeStamp(int time_stamp);
 
79
 
 
80
    /** Returns Geo */
 
81
    int GetGeo() const;
 
82
 
 
83
    /** Sets Geo */
 
84
    void SetGeo(int geo);
 
85
 
 
86
  private:
 
87
    int _ldc_id;
 
88
    int _equip_type;
 
89
    Channels _channels;
 
90
    int _phys_event_number;
 
91
    int _time_stamp;
 
92
    int _geo;
 
93
 
 
94
    ClassDef(V830, 1)
 
95
};
 
96
}
 
97
 
 
98
#endif  // _SRC_COMMON_CPP_DATASTRUCTURE_V830_
 
99