/* 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 . */ #ifndef _SRC_COMMON_CPP_DATASTRUCTURE_RECONCUTBASE_ #define _SRC_COMMON_CPP_DATASTRUCTURE_RECONCUTBASE_ #include #include #include #include #include "src/common_cpp/Utils/VersionNumber.hh" namespace MAUS { class ReconCutDataBase { public: /** Default constructor */ ReconCutDataBase(); ReconCutDataBase(std::string name, std::string descr, bool cutPass, float cutValue); /** Copy constructor - Makes copy of member data (md) to object ReconCutDataBase. */ ReconCutDataBase(const ReconCutDataBase &_cuts_data); /** Copy assignment operator */ ReconCutDataBase& operator=(const ReconCutDataBase& _cuts_data); /** Destructor */ virtual ~ReconCutDataBase(); void SetCutName(std::string name); void SetCutDescription(std::string descr); void SetCutParams(bool cutPass, float cutValue); std::string GetCutName(); std::string GetCutDescription(); bool GetCutPass() {return _cut_pass;} float GetCutValue() {return _cut_value;} private: std::string _name; std::string _descr; bool _cut_pass; float _cut_value; MAUS_VERSIONED_CLASS_DEF(ReconCutDataBase) }; } // ~ namespace MAUS #endif // _SRC_COMMON_CPP_DATASTRUCTURE_RECONCUTBASE_