File indexing completed on 2025-08-03 08:20:40
0001 #ifndef __PACKET_hbd_fpga_H__
0002 #define __PACKET_hbd_fpga_H__
0003
0004
0005 #include "packet_w124.h"
0006
0007
0008
0009
0010
0011
0012 #ifndef __CINT__
0013 class WINDOWSEXPORT Packet_hbd_fpga : public Packet_w4{
0014 #else
0015 class Packet_hbd_fpga : public Packet_w4 {
0016 #endif
0017
0018 public:
0019 Packet_hbd_fpga(PACKET_ptr);
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 virtual int iValue(const int channel,const char *what);
0033 virtual int iValue(const int channel,const int y);
0034
0035
0036 virtual void dump ( OSTREAM& );
0037
0038 int setInternalParameter ( const int ns, const int x, const char *what = "")
0039 { return setNumSamples(ns);};
0040
0041
0042 protected:
0043
0044 int setNumSamples(const int ns) { HBD_NSAMPLES = ns; return 0; }
0045
0046 virtual int *decode (int *);
0047 int nr_modules;
0048 int HBD_NSAMPLES;
0049
0050 };
0051
0052 #endif
0053
0054