Heavy ion Analysis Libriares
|
Public Member Functions | |
Parameter () | |
Parameter (TString name, Char_t merge_mode='=') | |
void | SetMergeMode (Char_t mergemode) |
Bool_t | CheckName (const TObject *object) |
Long64_t | Merge (TCollection *collection) |
void | Browse (TBrowser *b) |
virtual TString | HTMLExtract (Int_t=0, TString=" ") const |
Public Member Functions inherited from Hal::Object | |
Object () | |
virtual TString | GetExtractType () const |
virtual void | HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const |
virtual void | Add (const Object *pack) |
virtual Bool_t | CanBeTableElement () const |
Protected Types | |
enum class | EParameterMerge { kPlus , kMultiply , kEqual , kMaximum , kMinimum , kFirst , kLast , kAverage } |
Protected Attributes | |
EParameterMerge | fMergeMode |
Definition at line 21 of file Parameter.h.
|
strongprotected |
merging option
Enumerator | |
---|---|
kPlus | kPlus |
kMultiply | kMultiply |
kEqual | kEqual |
kMaximum | kMaximum |
kMinimum | kMinimum |
kFirst | kFirst |
kLast | kLast |
kAverage | kAverage |
Definition at line 26 of file Parameter.h.
Hal::Parameter::Parameter | ( | ) |
default constructor shouldn't be used
Definition at line 24 of file Parameter.cxx.
Hal::Parameter::Parameter | ( | TString | name, |
Char_t | merge_mode = '=' ) |
main constructor
name | name of parameter |
merge_mode | mode of merging |
Definition at line 26 of file Parameter.cxx.
|
virtual |
Definition at line 78 of file Parameter.cxx.
void Hal::Parameter::Browse | ( | TBrowser * | b | ) |
Bool_t Hal::Parameter::CheckName | ( | const TObject * | object | ) |
object | other object the same class |
Definition at line 53 of file Parameter.cxx.
|
inlinevirtual |
extract this into HTML by return formated value of parameter
counter | - not used |
dir | - not used |
Reimplemented from Hal::Object.
Reimplemented in Hal::ParameterBool, Hal::ParameterDouble, Hal::ParameterFloat, Hal::ParameterInt, Hal::ParameterString, Hal::ParameterUInt, Hal::ParameterULong64, and Hal::ParameterULong.
Definition at line 83 of file Parameter.h.
|
virtual |
used to merge similar objects
collection |
Reimplemented from Hal::Object.
Definition at line 451 of file Parameter.cxx.
void Hal::Parameter::SetMergeMode | ( | Char_t | mergemode | ) |
set merge mode
mergemode | one of following modes '+' for adding '=' if merged nodes must have similar values, other describe how value to this node (X) will be set according to value from added node (Y) '*' X=X*Y , 'f' X=X, 'l' X=Y, M X = max(X,Y), m X = min(X,Y), 'a' X = (X+Y)/2 |
Definition at line 31 of file Parameter.cxx.
|
protected |
mergin mode for this parameter
Definition at line 39 of file Parameter.h.