fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/FltSum.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     FltSum.h  -  description
00003 
00004     begin                : Mon Oct 9 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef FLTSUM_H
00011 #define FLTSUM_H
00012 
00013 #include <Hw/FltDef.h>
00014 #include <Hw/FltPixRegister.h>
00015 
00016 #if defined (FLT_VER) && (FLT_VER >= 200)
00017 
00018 
00030 class FltSum : public FltPixRegister  {
00031 public: 
00032         FltSum(const char *name, int slotID, int regID, int r, int w, int len);
00033         ~FltSum();
00034 
00039   long read(int ch);
00040 
00044         void read(long *data, int allPixel=0);
00045 
00046 
00047 #if defined (FLT_VER) && (FLT_VER >= 220)
00048 #else
00049 
00055   float getMean(int ch);
00056 
00061   void read(int ch, long * sum, int *n);
00062 #endif
00063 
00064 };
00065 
00066 #endif
00067 #endif
00068