Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:49

0001 #ifndef __ONCSSUB_IDUPPETDATA_H__
0002 #define __ONCSSUB_IDUPPETDATA_H__
0003 
0004 
0005 #include "oncsSubevent.h"
0006 
0007 #ifndef __CINT__
0008 class WINDOWSEXPORT oncsSub_iduppetdata : public  oncsSubevent_w4 {
0009 #else
0010 class  oncsSub_iduppetdata : public  oncsSubevent_w4 {
0011 #endif
0012 
0013 public:
0014   oncsSub_iduppetdata( subevtdata_ptr);
0015   ~oncsSub_iduppetdata();
0016 
0017   //  int    iValue(const int);
0018   int    iValue(const int,const char *);
0019   double dValue(const int channel);
0020   long long  lValue(const int channel);
0021   void  dump ( OSTREAM& os = COUT) ;
0022 
0023 protected:
0024   int *decode (int *);
0025   int samples;
0026   int evnr;
0027   double *d_time;
0028   long long *lval;
0029   long long *tval;
0030   unsigned int serialnumber;
0031   unsigned int udpheader1;
0032   unsigned int udpheader2;
0033   int d_timelength;
0034 };
0035 
0036 
0037 
0038 #endif /* __ONCSSUB_IDUPPETDATA_H__ */