ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include "compressor.h"
#include <TFile.h>
#include <TTree.h>
#include <iostream>
#include <fstream>
#include <string>
#include <utility>
Go to the source code of this file.
Functions | |
void | doCompression (ofstream &myfile, TString filename) |
Float_t | computeSd (Float_t *avg, Int_t n_entries, TTree *t, Float_t *gen_) |
void | output_before_vs_after (TString filename, vector< UShort_t > *order, vector< Float_t > *dict, Int_t n_entries, TTree *t, Float_t *gen_) |
uint64_t | timeSinceEpochMillisec () |
void | compress_clu_res_float32 (std::string &filename) |
void compress_clu_res_float32 | ( | std::string & | filename | ) |
Definition at line 38 of file compress_clu_res_float32.cc.
View newest version in sPHENIX GitHub at line 38 of file compress_clu_res_float32.cc
References doCompression().
Float_t computeSd | ( | Float_t * | avg, |
Int_t | n_entries, | ||
TTree * | t, | ||
Float_t * | gen_ | ||
) |
Definition at line 103 of file compress_clu_res_float32.cc.
View newest version in sPHENIX GitHub at line 103 of file compress_clu_res_float32.cc
References sum.
Referenced by doCompression().
void doCompression | ( | ofstream & | myfile, |
TString | filename | ||
) |
Definition at line 47 of file compress_clu_res_float32.cc.
View newest version in sPHENIX GitHub at line 47 of file compress_clu_res_float32.cc
References approx(), computeSd(), f, output_before_vs_after(), start(), t, and timeSinceEpochMillisec().
Referenced by compress_clu_res_float32().
void output_before_vs_after | ( | TString | filename, |
vector< UShort_t > * | order, | ||
vector< Float_t > * | dict, | ||
Int_t | n_entries, | ||
TTree * | t, | ||
Float_t * | gen_ | ||
) |
Definition at line 120 of file compress_clu_res_float32.cc.
View newest version in sPHENIX GitHub at line 120 of file compress_clu_res_float32.cc
Referenced by doCompression().
uint64_t timeSinceEpochMillisec | ( | ) |
Definition at line 32 of file compress_clu_res_float32.cc.
View newest version in sPHENIX GitHub at line 32 of file compress_clu_res_float32.cc
Referenced by doCompression().