Utils object.
More...
#include <Utils.h>
|
static TFile * | OpenFile (std::string filename, std::string mode="READ", bool createLocalDir=true) |
|
static std::string | OpenRawFile (std::string filename) |
|
static TMacro * | OpenMacro (std::string filename) |
|
static std::string | GetCutsPath (json cuts) |
|
static Int_t | GetBinFromBase (Int_t bin, Int_t rebin, Int_t rebin_start) |
|
static int | SetResultValueError (json cfg, THnSparse *output, std::string name, Int_t *point, double val, double err, bool normalizeToWidth=false, bool onlyPositive=false, double times=1) |
|
static std::vector< std::string > | Tokenize (std::string_view input, const char delim) |
|
Utils object.
- Author
- Martin Vala mvala.nosp@m.@cer.nosp@m.n.ch
Definition at line 20 of file Utils.h.
◆ Utils()
◆ ~Utils()
virtual Ndmspc::Utils::~Utils |
( |
| ) |
|
|
inlineprivatevirtual |
◆ GetBinFromBase()
Int_t Ndmspc::Utils::GetBinFromBase |
( |
Int_t | bin, |
|
|
Int_t | rebin, |
|
|
Int_t | rebin_start ) |
|
static |
◆ GetCutsPath()
std::string Ndmspc::Utils::GetCutsPath |
( |
json | cuts | ) |
|
|
static |
◆ OpenFile()
TFile * Ndmspc::Utils::OpenFile |
( |
std::string | filename, |
|
|
std::string | mode = "READ", |
|
|
bool | createLocalDir = true ) |
|
static |
◆ OpenMacro()
TMacro * Ndmspc::Utils::OpenMacro |
( |
std::string | filename | ) |
|
|
static |
◆ OpenRawFile()
std::string Ndmspc::Utils::OpenRawFile |
( |
std::string | filename | ) |
|
|
static |
◆ SetResultValueError()
int Ndmspc::Utils::SetResultValueError |
( |
json | cfg, |
|
|
THnSparse * | output, |
|
|
std::string | name, |
|
|
Int_t * | point, |
|
|
double | val, |
|
|
double | err, |
|
|
bool | normalizeToWidth = false, |
|
|
bool | onlyPositive = false, |
|
|
double | times = 1 ) |
|
static |
◆ Tokenize()
std::vector< std::string > Ndmspc::Utils::Tokenize |
( |
std::string_view | input, |
|
|
const char | delim ) |
|
static |
The documentation for this class was generated from the following files: