File indexing completed on 2025-08-03 08:20:51
0001 #ifndef __PACKET_hbd_fpgashort_H__
0002 #define __PACKET_hbd_fpgashort_H__
0003
0004
0005 #include "packet_w124.h"
0006
0007
0008
0009
0010
0011
0012 #ifndef __CINT__
0013 class WINDOWSEXPORT Packet_hbd_fpgashort : public Packet_w4{
0014 #else
0015 class Packet_hbd_fpgashort : public Packet_w4 {
0016 #endif
0017
0018 public:
0019 Packet_hbd_fpgashort(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 int setInternalParameter ( const int ns, const int x, const char *what = "")
0038 { return setNumSamples(ns);};
0039
0040 protected:
0041 int setNumSamples(const int ns) { HBD_NSAMPLES = ns; return 0;}
0042
0043 virtual int *decode (int *);
0044 int nr_modules;
0045 int HBD_NSAMPLES;
0046 int hbd_parity;
0047 };
0048
0049 #endif
0050
0051