EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
packet_hbd_fpga.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file packet_hbd_fpga.h
1 #ifndef __PACKET_hbd_fpga_H__
2 #define __PACKET_hbd_fpga_H__
3 
4 
5 #include "packet_w124.h"
6 
12 #ifndef __CINT__
14 #else
15 class Packet_hbd_fpga : public Packet_w4 {
16 #endif
17 
18 public:
20 
32  virtual int iValue(const int channel,const char *what);
33  virtual int iValue(const int channel,const int y);
34 
35 
36  virtual void dump ( OSTREAM& );
37 
38  int setInternalParameter ( const int ns, const int x, const char *what = "")
39  { return setNumSamples(ns);};
40 
41 
42  protected:
43 
44  int setNumSamples(const int ns) { HBD_NSAMPLES = ns; return 0; }
45 
46  virtual int *decode (int *);
49 
50 };
51 
52 #endif /* __PACKET_hbd_fpga_H__ */
53 
54