00001 // Author Antonio Bulgheroni, <mailto:antonio.bulgheroni@gmail.com> 00002 // Copyright 2009 Antonio Bulgheroni 00003 00004 // $Rev:: 20 $: Revision of the last commit 00005 // $Author:: drhilbert $: Author of the last commit 00006 // $Date:: 2009-09-05 15:48:35 +0200 (Sat, 05 Sep 2009) $: Date of the last commit 00007 00008 00009 // This file is part of Mimotera++. 00010 // 00011 // Mimotera++ is free software: you can redistribute it and/or modify 00012 // it under the terms of the GNU Lesser General Public License as published by 00013 // the Free Software Foundation, either version 3 of the License, or 00014 // (at your option) any later version. 00015 // 00016 // Mimotera++ is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 // GNU Lesser General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU Lesser General Public License 00022 // along with Mimotera++. If not, see <http://www.gnu.org/licenses/>. 00023 00024 #ifndef MIMOTERADECODER_HH 00025 #define MIMOTERADECODER_HH 00026 00027 #include "mimotera++/MimoteraException.hh" 00028 #include "mimotera++/MimoteraEvent.hh" 00029 00030 // system includes 00031 #include <iostream> 00032 #include <vector> 00033 00034 namespace Mimotera { 00035 00037 00050 class MimoteraDecoder { 00051 00052 public: 00054 MimoteraDecoder() { /* NOOP */ } 00055 00057 00067 void getXY( size_t rawPos, Coord_t & x, Coord_t & y ) ; 00068 00070 00077 size_t getRawPosition( Coord_t x, Coord_t y ) ; 00078 }; 00079 00080 } // end of Mimotera namespace 00081 00082 #endif 00083 00084 // LocalWords: Bulgheroni drhilbert Mimotera mimotera mimotera DAQ