/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/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 __MDFRAGMENTVLSB_C_H #define __MDFRAGMENTVLSB_C_H #include "MDdataContainer.h" #include "MDfragment.h" #include "MDdataWordVLSB.h" #include #include #include #include using namespace std; class MDfragmentVLSB_C : public MDfragment { public: MDfragmentVLSB_C( void *d = 0 ); virtual ~MDfragmentVLSB_C(){} virtual void SetDataPtr( void *d, uint32_t aSize ); virtual void Dump( int atTheTime = 1 ); virtual void Init(); // virtual uint32_t InitPartEventVector(); unsigned int GetBankLength(int iBank); uint32_t* GetDataWordPtr(int aI); private: unsigned int _bankLength[4]; }; #endif