![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Public Types | |
enum class | EPriority { kUser = 0 , kValFile = 1 , kRootFile = 2 , kDefault = 999999 } |
Public Member Functions | |
GValue ()=default | |
GValue (const char *name) | |
GValue (const char *name, double value, EPriority priority=EPriority::kUser) | |
GValue (const GValue &val) | |
GValue (GValue &&val) noexcept=default | |
~GValue ()=default | |
bool | AppendValue (GValue *) |
void | Copy (TObject &obj) const override |
const char * | GetInfo () const |
double | GetValue () const |
GValue & | operator= (const GValue &val)=default |
GValue & | operator= (GValue &&val) noexcept=default |
void | Print (Option_t *opt="") const override |
std::string | PrintToString () const |
bool | ReplaceValue (GValue *) |
void | SetInfo (const char *temp) |
void | SetValue (double value) |
Static Public Member Functions | |
static bool | AddValue (GValue *, Option_t *opt="") |
static TList * | AllValues () |
static void | Clear () |
static GValue * | FindValue (const std::string &="") |
static GValue * | Get (const std::string &name="") |
static GValue * | GetDefaultValue () |
static int | ReadValFile (const char *filename="", Option_t *opt="replace") |
static void | SetReplaceValue (const std::string &name, double value, EPriority priority=EPriority::kUser) |
static int | Size () |
static double | Value (const std::string &) |
static double | Value (const std::string &, const double &) |
static std::string | WriteToBuffer (Option_t *opt="") |
static int | WriteValFile (const std::string &filename="", Option_t *opt="") |
Static Private Member Functions | |
static int | ParseInputData (const std::string &input, EPriority priority, Option_t *opt="") |
Private Attributes | |
EPriority | fPriority {EPriority::kDefault} |
double | fValue {0.} |
std::string | info |
Static Private Attributes | |
static GValue * | fDefaultValue = new GValue("GValue", sqrt(-1)) |
static std::map< std::string, GValue * > | fValueVector |
|
strong |
|
default |
Referenced by ParseInputData(), and SetReplaceValue().
|
explicit |
Definition at line 23 of file GValue.cxx.
GValue::GValue | ( | const char * | name, |
double | value, | ||
EPriority | priority = EPriority::kUser ) |
Definition at line 18 of file GValue.cxx.
GValue::GValue | ( | const GValue & | val | ) |
Definition at line 27 of file GValue.cxx.
References Copy().
|
defaultnoexcept |
|
default |
|
static |
Definition at line 106 of file GValue.cxx.
References FindValue(), fValueVector, and ReplaceValue().
Referenced by ParseInputData(), and SetReplaceValue().
|
inlinestatic |
Definition at line 42 of file GValue.h.
References fValueVector.
bool GValue::AppendValue | ( | GValue * | oldvalue | ) |
Definition at line 76 of file GValue.cxx.
References fPriority, GetInfo(), GetValue(), SetInfo(), and SetValue().
Referenced by ParseInputData().
|
static |
Definition at line 184 of file GValue.cxx.
References fValueVector.
|
override |
Definition at line 32 of file GValue.cxx.
References fPriority, and fValue.
Referenced by GValue(), and ReplaceValue().
|
static |
Definition at line 64 of file GValue.cxx.
References fValueVector, and GetDefaultValue().
Referenced by AddValue(), Get(), ParseInputData(), and SetReplaceValue().
|
inlinestatic |
Definition at line 39 of file GValue.h.
References FindValue().
Referenced by TAnalysisHistLoop::Write(), TAnalysisWriteLoop::Write(), TFragHistLoop::Write(), and TFragWriteLoop::Write().
|
inlinestatic |
|
inline |
|
inline |
|
staticprivate |
Definition at line 230 of file GValue.cxx.
References GValue(), AddValue(), AppendValue(), FindValue(), fPriority, SetInfo(), SetValue(), and trim().
Referenced by ReadValFile().
|
override |
Definition at line 144 of file GValue.cxx.
References PrintToString().
std::string GValue::PrintToString | ( | ) | const |
|
static |
Definition at line 194 of file GValue.cxx.
References kValFile, and ParseInputData().
Referenced by TGRSIHelper::TGRSIHelper(), TGRSIint::SetupPipeline(), and TGRSISelector::SlaveBegin().
bool GValue::ReplaceValue | ( | GValue * | oldvalue | ) |
Definition at line 97 of file GValue.cxx.
References Copy(), and fPriority.
Referenced by AddValue().
|
inline |
Definition at line 30 of file GValue.h.
References info.
Referenced by AppendValue(), and ParseInputData().
|
static |
Definition at line 52 of file GValue.cxx.
References GValue(), AddValue(), FindValue(), fPriority, and SetValue().
|
inline |
Definition at line 29 of file GValue.h.
References fValue.
Referenced by AppendValue(), ParseInputData(), and SetReplaceValue().
|
inlinestatic |
Definition at line 63 of file GValue.h.
References fValueVector.
Referenced by TGRSIHelper::TGRSIHelper(), TGRSISelector::SlaveBegin(), TAnalysisHistLoop::Write(), TAnalysisWriteLoop::Write(), TFragHistLoop::Write(), TFragWriteLoop::Write(), and WriteToBuffer().
|
static |
Definition at line 39 of file GValue.cxx.
References Value().
Referenced by FastTimingHistSelector::CreateHistograms(), TRuntimeObjects::GetVariable(), and Value().
|
static |
Definition at line 44 of file GValue.cxx.
References fValueVector.
|
static |
Definition at line 171 of file GValue.cxx.
References fValueVector, and Size().
|
static |
Definition at line 149 of file GValue.cxx.
References fValueVector.
Definition at line 72 of file GValue.h.
Referenced by GetDefaultValue().
|
private |
Definition at line 70 of file GValue.h.
Referenced by AppendValue(), Copy(), ParseInputData(), ReplaceValue(), and SetReplaceValue().
|
private |
Definition at line 69 of file GValue.h.
Referenced by Copy(), GetValue(), PrintToString(), and SetValue().
|
staticprivate |
Definition at line 73 of file GValue.h.
Referenced by AddValue(), AllValues(), Clear(), FindValue(), Size(), Value(), WriteToBuffer(), and WriteValFile().
|
private |
Definition at line 71 of file GValue.h.
Referenced by GetInfo(), PrintToString(), and SetInfo().