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

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

#include <algorithm>
#include <iterator>
#include <string>
#include <array>
#include "DataFormatsEMCAL/CTF.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "DetectorsBase/CTFCoderBase.h"
#include "EMCALReconstruction/CTFHelper.h"

Go to the source code of this file.

Classes

class  o2::emcal::CTFCoder
 

Namespaces

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

Macros

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

Detailed Description

class for entropy encoding/decoding of EMCAL data

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

Definition in file CTFCoder.h.

Macro Definition Documentation

◆ DECODEEMCAL

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

◆ ENCODEEMC

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