ndmspc
0.20250128.0
|
#include <Utils.h>
Static Public Member Functions | |
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) |
|
static |
Open root file and create directory when needed in local case
Definition at line 18 of file Utils.cxx.
Referenced by Ndmspc::HnSparseBrowser::Draw(), Ndmspc::PointRun::Generate(), Ndmspc::PointRun::Init(), and Ndmspc::PointRun::OpenInputs().