ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcPpmCompression.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ZDCPPMCOMPRESSION_H
6#define ZDCPPMCOMPRESSION_H
7
17
18class ZdcPpmSubBlock;
19
21
22 public:
25
27 static bool pack(ZdcPpmSubBlock& subBlock);
29 static bool unpack(ZdcPpmSubBlock& subBlock);
30
31 private:
32 static const int s_formatsV0 = 6;
33 static const int s_lowerRange = 12;
34 static const int s_upperRange = 3;
35 static const int s_formats = 7;
36 static const int s_fadcRange = 15;
37 static const int s_peakOnly = 4;
38 static const int s_lutDataBits = 8;
39 static const int s_lutBcidBits = 3;
40 static const int s_fadcDataBits = 10;
41 static const int s_glinkPins = 16;
42 static const int s_statusBits = 5;
43 static const int s_errorBits = 6;
44 static const int s_statusMask = 0x1f;
45
46 static bool unpackV100(ZdcPpmSubBlock& subBlock);
47 static bool unpackV101(ZdcPpmSubBlock& subBlock);
48 static bool unpackV104(ZdcPpmSubBlock& subBlock);
49 };
50
51#endif
static const int s_lowerRange
static const int s_fadcRange
static const int s_upperRange
static const int s_formatsV0
static bool unpack(ZdcPpmSubBlock &subBlock)
Unpack data.
static const int s_errorBits
static bool unpackV104(ZdcPpmSubBlock &subBlock)
static const int s_lutBcidBits
static bool unpackV100(ZdcPpmSubBlock &subBlock)
static const int s_statusMask
static const int s_statusBits
static const int s_formats
static const int s_fadcDataBits
static const int s_peakOnly
static bool unpackV101(ZdcPpmSubBlock &subBlock)
static bool pack(ZdcPpmSubBlock &subBlock)
Pack data.
static const int s_lutDataBits
static const int s_glinkPins
Sub-Block class for PPM data.