25void CTFCoder::appendToTree(TTree&
tree,
CTF& ec)
32void CTFCoder::readFromTree(TTree&
tree,
int entry,
33 std::vector<Digit>& digitVec, std::vector<ChannelData>& channelVec)
38 decode(ec, digitVec, channelVec);
56#define MAKECODER(part, slot) createCoder(op, std::get<rans::RenormedDenseHistogram<decltype(part)::value_type>>(ctf.getDictionary<decltype(part)::value_type>(slot, mANSVersion)), int(slot))
87 LOG(
debug) <<
"Estimated output size is " << sz <<
" bytes";
#define MAKECODER(part, slot)
class for entropy encoding/decoding of FV0 digits data
Configurable digitization parameters.
Class for time synchronization of RawReader instances.
size_t estimateBufferSize(size_t slot, source_IT samplesBegin, source_IT samplesEnd)
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, VDIG &digitVec, VCHAN &channelVec)
entropy decode clusters from buffer with CTF
void createCoders(const std::vector< char > &bufVec, o2::ctf::CTFCoderBase::OpType op) final
wrapper for the Entropy-encoded clusters of the TF
Intermediate, compressed but not yet entropy-encoded digits.
std::vector< uint8_t > qtcChain
std::vector< int16_t > qtcAmpl
std::vector< int16_t > bcInc
std::vector< uint8_t > nChan
std::vector< uint8_t > idChan
std::vector< int16_t > cfdTime
std::vector< uint8_t > trigger
std::vector< int32_t > orbitInc
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
std::unique_ptr< TTree > tree((TTree *) flIn.Get(std::string(o2::base::NameConf::CTFTREENAME).c_str()))