Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef __PACKET_IDLL1V1_H__
0002 #define __PACKET_IDLL1V1_H__
0003 
0004 
0005 #include "packet_w124.h"
0006 
0007 #ifndef __CINT__
0008 class WINDOWSEXPORT Packet_idll1v1 : public  Packet_w4 {
0009 #else
0010 class  Packet_idll1v1 : public  Packet_w4 {
0011 #endif
0012 
0013 public:
0014   Packet_idll1v1( PACKET_ptr);
0015   ~Packet_idll1v1();
0016 
0017   int    iValue(const int sample, const int ch);
0018   int    iValue(const int ,const char * what);
0019   void  dump ( OSTREAM& os = COUT) ;
0020 
0021 
0022 protected:
0023   int decode ();
0024 
0025   int _evt_nr;
0026   int _clock;
0027 
0028   int _slot_nr;
0029   int _card_nr;
0030 
0031   int _nsamples;
0032 
0033   int _hitbits;
0034 
0035   int _even_checksum;
0036   int _odd_checksum;
0037 
0038   int _calculated_even_checksum;
0039   int _calculated_odd_checksum;
0040 
0041   int _even_checksum_ok;
0042   int _odd_checksum_ok;
0043 
0044   int _nchannels;
0045   int _is_decoded;
0046 
0047   int array[24*13 + 13][32];
0048   int itrig_charge[4][8][32];
0049   int itrig_nhit[4][32];
0050   int itrig_time[4][4][32];
0051 
0052   int triggerwords[8][32];
0053 };
0054 
0055 
0056 #endif /* __PACKET_IDLL1V1_H__ */