fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/katrinhw4/fltkatrinruncontrol.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     fltkatrinruncontrol.h  -  description
00003 
00004     begin                : Sep 21 2009
00005     copyright            : (C) 2000 by Till Bergmann
00006     email                : bergmann@ipe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_FLTKATRINRUNCONTROL_H_INCLUDED
00011 #define _HW4_FLTKATRINRUNCONTROL_H_INCLUDED
00012 
00013 #include <hw4/fltdef.h>
00014 #include <hw4/baseregister.h>
00015 
00016 
00017 namespace hw4 {
00018 
00019 // --- forward declaration(s)
00020 
00021 class BaseRegisterItem;
00022 
00029 class FltKatrinRunControl : public BaseRegister  {
00030 public: 
00031         FltKatrinRunControl(const char * name, int slotID, int regID, int r, int w, int len = 1);
00032         ~FltKatrinRunControl();
00033 
00034   BaseRegisterItem *storeData;
00035   
00036   BaseRegisterItem *runADC;
00037   
00038   BaseRegisterItem *runFilter;
00039 
00040   BaseRegisterItem *runTrigger;
00041   
00042   BaseRegisterItem *gapLength;
00043 
00045   BaseRegisterItem *filterLength; 
00046 
00047   BaseRegisterItem *overlap;
00048 
00049   BaseRegisterItem *nFold;
00050 
00051   BaseRegisterItem *poleZeroCorrection;
00052 
00053   BaseRegisterItem *boxCarLength;
00054 
00056   int getFilterLength();
00057 
00060   int getFilterLengthFromCache();
00061 
00064   void setFilterLength(int samples);
00065 
00066 };
00067 
00068 } // namespace hw4
00069         
00070 #endif // _HW4_FLTKATRINRUNCONTROL_H_INCLUDED
00071 
00072