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

class for entropy encoding/decoding of MCH digit data More...

#include <algorithm>
#include <iterator>
#include <string>
#include <array>
#include "DataFormatsMCH/CTF.h"
#include "DataFormatsMCH/ROFRecord.h"
#include "DataFormatsMCH/Digit.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "DetectorsBase/CTFCoderBase.h"
#include "MCHCTF/CTFHelper.h"

Go to the source code of this file.

Classes

class  o2::mch::CTFCoder
 

Namespaces

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

Macros

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

Detailed Description

class for entropy encoding/decoding of MCH digit data

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

Definition in file CTFCoder.h.

Macro Definition Documentation

◆ DECODEMCH

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

◆ ENCODEMCH

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