Project
Loading...
Searching...
No Matches
bench_ransTPC.cxx File Reference
#include <vector>
#include <cstring>
#include <execution>
#include <iterator>
#include <iostream>
#include <boost/program_options.hpp>
#include <boost/mp11.hpp>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include <rapidjson/istreamwrapper.h>
#include <rapidjson/ostreamwrapper.h>
#include <fairlogger/Logger.h>
#include "rANS/factory.h"
#include "rANS/histogram.h"
#include "rANS/serialize.h"
#include "helpers.h"

Go to the source code of this file.

Classes

class  TimingDecorator
 

Typedefs

using coder_types = boost::mp11::mp_list< std::integral_constant< CoderTag, CoderTag::Compat > >
 
using encoder_types = boost::mp11::mp_product< boost::mp11::mp_list, coder_types >
 

Functions

std::string toString (CoderTag tag)
 
template<typename source_T , CoderTag coderTag_V>
void ransEncodeDecode (const std::string &name, const std::vector< source_T > &inputData, rapidjson::Writer< rapidjson::OStreamWrapper > &writer)
 
template<CoderTag coderTag_V>
void encodeTPC (const std::string &name, const TPCCompressedClusters &compressedClusters, bool mergeColumns, rapidjson::Writer< rapidjson::OStreamWrapper > &writer)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ coder_types

using coder_types = boost::mp11::mp_list<std::integral_constant<CoderTag, CoderTag::Compat> >

Definition at line 43 of file bench_ransTPC.cxx.

◆ encoder_types

using encoder_types = boost::mp11::mp_product<boost::mp11::mp_list, coder_types>

Definition at line 312 of file bench_ransTPC.cxx.

Function Documentation

◆ encodeTPC()

template<CoderTag coderTag_V>
void encodeTPC ( const std::string name,
const TPCCompressedClusters compressedClusters,
bool  mergeColumns,
rapidjson::Writer< rapidjson::OStreamWrapper > &  writer 
)

Definition at line 281 of file bench_ransTPC.cxx.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 314 of file bench_ransTPC.cxx.

◆ ransEncodeDecode()

template<typename source_T , CoderTag coderTag_V>
void ransEncodeDecode ( const std::string name,
const std::vector< source_T > &  inputData,
rapidjson::Writer< rapidjson::OStreamWrapper > &  writer 
)

Definition at line 129 of file bench_ransTPC.cxx.

◆ toString()

std::string toString ( CoderTag  tag)

Definition at line 60 of file bench_ransTPC.cxx.