HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoDccPacket.h
Go to the documentation of this file.
1 /*******************************************************************************
2  HARPO readout
3  _____________________
4 
5  File: hrpfmt.h
6 
7  Description: This module profide fortran function for dcc header decoding
8 
9  Author: Igor Semeniouk semenjuk@llr.in2p3.fr
10 
11  Use code from D. Calvet calvet@hep.saclay.cea.fr clientUDP
12 
13 
14  History:
15  February 2012: created from content extracted in ethpacked.c
16 
17 *******************************************************************************/
18 #ifndef HARPODCCPACKET_H
19 #define HARPODCCPACKET_H
20 
21 #include "TObject.h"
22 #include "HarpoDccFrame.h"
23 
25 
27  public:
28  HarpoDccPacket(UShort_t *pck, long blen);
30 
31  Bool_t Decode(HarpoDccFrame &frm);
32 
33  private:
34  HarpoDccPacket() {} // no default constructor
35 
36  UShort_t * pbuf; // buffer
37  UShort_t *pc; // current pointer
38  UShort_t *pl; // buffer first, word pointer
39 };
40 #endif
Bool_t Decode(HarpoDccFrame &frm)
UShort_t * pl
A generic class for HARPO datectors The class is ....
Definition: HarpoDccFrame.h:6
UShort_t * pbuf
UShort_t * pc
Decomposition of DCC buffer into DCC frames.