/* This file is part of MAUS: http://micewww.pp.rl.ac.uk/projects/maus * * MAUS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * MAUS is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MAUS. If not, see . */ #include "src/common_cpp/DataStructure/Trigger.hh" namespace MAUS { Trigger::Trigger() : _V1290() { } Trigger::Trigger(const Trigger& _trigger) : _V1290() { *this = _trigger; } Trigger& Trigger::operator=(const Trigger& _trigger) { if (this == &_trigger) { return *this; } SetV1290Array(_trigger._V1290); return *this; } Trigger::~Trigger() { } V1290Array Trigger::GetV1290Array() const { return _V1290; } V1290 Trigger::GetV1290ArrayElement(size_t index) const { return _V1290[index]; } size_t Trigger::GetV1290ArraySize() const { return _V1290.size(); } void Trigger::SetV1290Array(V1290Array V1290) { _V1290 = V1290; } }