Project
Loading...
Searching...
No Matches
CTFCoder.h File Reference

class for entropy encoding/decoding of CTP data More...

#include <algorithm>
#include <iterator>
#include <string>
#include <array>
#include "DataFormatsCTP/CTF.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "DetectorsBase/CTFCoderBase.h"
#include "CTPReconstruction/CTFHelper.h"
#include "CTPReconstruction/RawDataDecoder.h"
#include "DataFormatsCTP/Configuration.h"

Go to the source code of this file.

Classes

class  o2::ctp::CTFCoder
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::ctp
 

Macros

#define ENCODECTP(beg, end, slot, bits)   CTF::get(buff.data())->encode(beg, end, int(slot), bits, optField[int(slot)], &buff, mCoders[int(slot)], getMemMarginFactor());
 
#define DECODECTP(part, slot)   ec.decode(part, int(slot), mCoders[int(slot)])
 

Detailed Description

class for entropy encoding/decoding of CTP data

Author
ruben.nosp@m..sha.nosp@m.hoyan.nosp@m.@cer.nosp@m.n.ch

Definition in file CTFCoder.h.

Macro Definition Documentation

◆ DECODECTP

#define DECODECTP (   part,
  slot 
)    ec.decode(part, int(slot), mCoders[int(slot)])

◆ ENCODECTP

#define ENCODECTP (   beg,
  end,
  slot,
  bits 
)    CTF::get(buff.data())->encode(beg, end, int(slot), bits, optField[int(slot)], &buff, mCoders[int(slot)], getMemMarginFactor());