1
/* This file is part of MAUS: http://micewww.pp.rl.ac.uk/projects/maus
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.
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.
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/>.
18
#include "DataStructure/EMRDaq.hh"
26
EMRDaq::EMRDaq(const EMRDaq& _emrdaq)
31
EMRDaq& EMRDaq::operator=(const EMRDaq& _emrdaq) {
33
if (this == &_emrdaq) {
37
SetV1731PartEventArray(_emrdaq._V1731);
38
SetDBBArray(_emrdaq._dbb);
46
V1731PartEventArray EMRDaq::GetV1731PartEventArray() const {
50
size_t EMRDaq::GetV1731NumPartEvents() const {
54
V1731HitArray EMRDaq::GetV1731PartEvent(size_t index) const {
58
size_t EMRDaq::GetV1731PartEventArraySize(size_t index) const {
59
if (_V1731.size() <= index)
62
return _V1731[index].size();
65
void EMRDaq::SetV1731PartEventArray(V1731PartEventArray V1731) {
69
DBBArray EMRDaq::GetDBBArray() const {
73
DBBSpillData EMRDaq::GetDBBArrayElement(size_t index) const {
77
size_t EMRDaq::GetDBBArraySize() const {
81
void EMRDaq::SetDBBArray(DBBArray s) {