~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

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

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "src/common_cpp/Utils/VersionNumber.hh"
23
23
 
 
24
#include "DataStructure/V1731.hh"
 
25
 
24
26
namespace MAUS {
25
27
 
26
28
/** @class V1724 comment
86
88
    /** Sets PhysEventNumber */
87
89
    void SetPhysEventNumber(int phys_event_number);
88
90
 
 
91
    /** Returns SampleArray */
 
92
    SampleArray GetSampleArray() const;
 
93
 
 
94
    /** Get an element from SampleArray (needed for PyROOT) */
 
95
    int GetSampleArrayElement(size_t index) const;
 
96
 
 
97
    /** Get size of SampleArray (needed for PyROOT) */
 
98
    size_t GetSampleArraySize() const;
 
99
 
 
100
    /** Sets SampleArray */
 
101
    void SetSampleArray(SampleArray samples);
 
102
 
89
103
    /** Returns ChargePm */
90
104
    int GetChargePm() const;
91
105
 
92
106
    /** Sets ChargePm */
93
107
    void SetChargePm(int charge_pm);
94
108
 
 
109
    /** Returns ArrivalTime */
 
110
    int GetArrivalTime() const;
 
111
 
 
112
    /** Sets ArrivalTime */
 
113
    void SetArrivalTime(int arrival_time);
 
114
 
95
115
    /** Returns ChannelKey */
96
116
    std::string GetChannelKey() const;
97
117
 
98
118
    /** Sets ChannelKey */
99
119
    void SetChannelKey(std::string channel_key);
100
120
 
 
121
    /** Returns PositionMin */
 
122
    int GetPositionMin() const;
 
123
 
 
124
    /** Sets PositionMin */
 
125
    void SetPositionMin(int position_min);
 
126
 
 
127
    /** Returns PulseArea */
 
128
    int GetPulseArea() const;
 
129
 
 
130
    /** Sets PulseArea */
 
131
    void SetPulseArea(int pulse_area);
 
132
 
101
133
    /** Returns TriggerTimeTag */
102
 
    double GetTriggerTimeTag() const;
 
134
    int GetTriggerTimeTag() const;
103
135
 
104
136
    /** Sets TriggerTimeTag */
105
 
    void SetTriggerTimeTag(double trigger_time_tag);
 
137
    void SetTriggerTimeTag(int trigger_time_tag);
106
138
 
107
139
    /** Returns TimeStamp */
108
140
    int GetTimeStamp() const;
111
143
    void SetTimeStamp(int time_stamp);
112
144
 
113
145
    /** Returns Pedestal */
114
 
    int GetPedestal() const;
 
146
    double GetPedestal() const;
115
147
 
116
148
    /** Sets Pedestal */
117
 
    void SetPedestal(int pedestal);
 
149
    void SetPedestal(double pedestal);
118
150
 
119
151
    /** Returns PartEventNumber */
120
152
    int GetPartEventNumber() const;
142
174
 
143
175
  private:
144
176
    int _ldc_id;
 
177
    SampleArray _samples;
145
178
    int _charge_mm;
146
179
    int _equip_type;
147
180
    std::string _detector;
148
181
    int _phys_event_number;
149
182
    int _charge_pm;
 
183
    int _arrival_time;
150
184
    std::string _channel_key;
151
 
    double _trigger_time_tag;
 
185
    int _position_min;
 
186
    int _pulse_area;
 
187
    int _trigger_time_tag;
152
188
    int _time_stamp;
153
 
    int _pedestal;
 
189
    double _pedestal;
154
190
    int _part_event_number;
155
191
    int _geo;
156
192
    int _position_max;