fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/FE/fe4testpuls.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     fe4testpuls.h  -  description
00003 
00004     begin                : Mon Jul 3 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008  
00009 
00010 #ifndef FE4TESTPULS_H
00011 #define FE4TESTPULS_H
00012 
00013 #include <hw4/subrackauger.h>
00014 
00015 #include <FE/FEdef.h>
00016 
00017 #include <hw4/fltdef.h>
00018 #include <hw4/sltdef.h>
00019 
00020 #include <FE/FEpattern.h>
00021 #include <FE/febasetestpuls.h>
00022 
00023 
00051 class FE4testpuls : public FEbaseTestpuls {
00052 public:
00053   FE4testpuls(hw4::SubrackAuger *s);
00054 
00055   void readTiming(unsigned long *times);
00056 
00057   void writeTiming(unsigned long *times);
00058 
00059   void readMask(int col, unsigned long *data);
00060 
00061   void writeMask(int col, unsigned long *data);
00062 
00063   void read(FEpattern *data);
00064 
00065   void write(FEpattern *data);
00066 
00067   int getAmplitude();
00068 
00069   void setAmplitude(int amplitude);
00070 
00071   void disableExTrig();
00072 
00073   void enableExTrig();
00074 
00075   bool isEnabledExTrig();
00076 
00077   void force();
00078 
00079 private:
00080   hw4::SubrackAuger *s;
00081 
00082 };
00083 
00084 #endif // FE4TESTPULS_H
00085 
00086