2 #define StringUtils_hh 1
Definition: RootUtils.cxx:130
TString getSafeName(const char *name)
Get save ROOT object name.
Definition: StringUtils.cpp:72
TString stripExtension(const char *path)
Remove extension from a file path.
Definition: StringUtils.cpp:15
EnergyValueUnit formatEnergy(Double_t value)
Format energy to appropriate unit. Function outputs EnergyValueUnit structure containing energy value...
Definition: StringUtils.cpp:41
void writeProgress(const char *message, Int_t nTimes)
Simple implementation of an ASCII progress bar.
Definition: StringUtils.cpp:27
Struct contains energy value (Double_t) with corresponding unit (TString)
Definition: StringUtils.h:16
TString unit
Definition: StringUtils.h:18
Double_t value
Definition: StringUtils.h:17