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

class for entropy encoding/decoding of TOF compressed infos data More...

#include <algorithm>
#include <iterator>
#include <string>
#include "DataFormatsTOF/CTF.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "DetectorsBase/CTFCoderBase.h"
#include "TOFBase/Digit.h"

Go to the source code of this file.

Classes

class  o2::tof::CTFCoder
 

Namespaces

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

Macros

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

Detailed Description

class for entropy encoding/decoding of TOF compressed infos data

Author
fnofe.nosp@m.rin@.nosp@m.cern..nosp@m.ch

Definition in file CTFCoder.h.

Macro Definition Documentation

◆ DECODETOF

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

◆ ENCODETOF

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