QualityControl  1.5.1
O2 Data Quality Control Framework
HmpidDecodeRawMem.h
Go to the documentation of this file.
1 // Copyright CERN and copyright holders of ALICE O2. This software is
2 // distributed under the terms of the GNU General Public License v3 (GPL
3 // Version 3), copied verbatim in the file "COPYING".
4 //
5 // See http://alice-o2.web.cern.ch/license for full licensing information.
6 //
7 // In applying this license CERN does not waive the privileges and immunities
8 // granted to it by virtue of its status as an Intergovernmental Organization
9 // or submit itself to any jurisdiction.
10 
17 
18 #ifndef COMMON_HMPIDDECODERAWMEM_H_
19 #define COMMON_HMPIDDECODERAWMEM_H_
20 
21 #include <ctype.h>
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <unistd.h>
25 #include <string.h>
26 #include <unistd.h>
27 
28 #include "HMPID/HmpidDecoder.h"
29 
31 {
32 
34 {
35  public:
36  HmpidDecodeRawMem(int* EqIds, int* CruIds, int* LinkIds, int numOfEquipments);
37  HmpidDecodeRawMem(int numOfEquipments);
39 
40  bool setUpStream(void* Buffer, long BufferLen);
41 
42  private:
43  bool getBlockFromStream(int32_t** streamPtr, uint32_t Size);
44  bool getHeaderFromStream(int32_t** streamPtr);
45  bool getWordFromStream(int32_t* word);
46  void setPad(HmpidEquipment* eq, int col, int dil, int ch, int charge);
47 
48  private:
49 };
50 
51 } // namespace o2::quality_control_modules::hmpid
52 #endif /* COMMON_HMPIDDECODERAWFILE_H_ */
Definition: HmpidDecoder.h:44
Base Class to decode HMPID Raw Data stream.
HmpidDecodeRawMem(int *EqIds, int *CruIds, int *LinkIds, int numOfEquipments)
Definition: HmpidDecodeRawMem.cxx:44
~HmpidDecodeRawMem()
Destructor.
Definition: HmpidDecodeRawMem.cxx:50
bool setUpStream(void *Buffer, long BufferLen)
Definition: HmpidDecodeRawMem.cxx:63