24void CTFCoder::appendToTree(TTree&
tree,
CTF& ec)
31void CTFCoder::readFromTree(TTree&
tree,
int entry, std::vector<BCData>& trigVec, std::vector<ChannelData>& chanVec, std::vector<OrbitData>& eodVec)
36 decode(ec, trigVec, chanVec, eodVec);
44 int16_t bcIncTrig, sclInc;
45 int32_t orbitIncTrig, orbitIncEOD;
46 uint16_t moduleTrig, nchanTrig, chanData, pedData, triggersHL, channelsHL;
47 uint8_t extTriggers, chanID;
48#define MAKECODER(part, slot) createCoder(op, std::get<rans::RenormedDenseHistogram<decltype(part)>>(ctf.getDictionary<decltype(part)>(slot, mANSVersion)), int(slot))
#define MAKECODER(part, slot)
class for entropy encoding/decoding of ZDC data
void readFromTree(TTree &tree, const std::string &name, int ev=0)
read from tree to non-flat object
static auto getImage(const void *newHead)
get const image of the container wrapper, with pointers in the image relocated to new head
size_t appendToTree(TTree &tree, const std::string &name) const
attach to tree
static constexpr const char * getName(ID id)
names of defined detectors
o2::ctf::CTFIOSize decode(const CTF::base &ec, VTRG &trigVec, VCHAN &chanVec, VPED &pedVec)
entropy decode data from buffer with CTF
void createCoders(const std::vector< char > &bufVec, o2::ctf::CTFCoderBase::OpType op) final
wrapper for the Entropy-encoded triggers and cells of the TF
std::unique_ptr< TTree > tree((TTree *) flIn.Get(std::string(o2::base::NameConf::CTFTREENAME).c_str()))