Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::ParameterFloat Class Reference

#include <Parameter.h>

Inheritance diagram for Hal::ParameterFloat:
Hal::Parameter Hal::Object

Public Member Functions

 ParameterFloat (TString name, Float_t value, Char_t merge_mode='=')
 
void Add (const Object *val)
 
void SetValue (Float_t value)
 
Float_t GetValue () const
 
virtual TString HTMLExtract (Int_t counter=0, TString dir=" ") const
 
- Public Member Functions inherited from Hal::Parameter
 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)
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual TString GetExtractType () const
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual Bool_t CanBeTableElement () const
 

Additional Inherited Members

- Protected Types inherited from Hal::Parameter
enum class  EParameterMerge {
  kPlus , kMultiply , kEqual , kMaximum ,
  kMinimum , kFirst , kLast , kAverage
}
 
- Protected Attributes inherited from Hal::Parameter
EParameterMerge fMergeMode
 

Detailed Description

parameter to store Float_t

Definition at line 150 of file Parameter.h.

Constructor & Destructor Documentation

◆ ParameterFloat() [1/2]

Hal::ParameterFloat::ParameterFloat ( )

Definition at line 128 of file Parameter.cxx.

◆ ParameterFloat() [2/2]

Hal::ParameterFloat::ParameterFloat ( TString name,
Float_t value,
Char_t merge_mode = '=' )

main constructor

Parameters
namename of parameter
valuevalue of parameter
merge_modemode of merging

Definition at line 130 of file Parameter.cxx.

◆ ~ParameterFloat()

Hal::ParameterFloat::~ParameterFloat ( )
virtual

Definition at line 171 of file Parameter.cxx.

Member Function Documentation

◆ Add()

void Hal::ParameterFloat::Add ( const Object * pack)
virtual

add object of the same class to this

Parameters
packadded object

Reimplemented from Hal::Object.

Definition at line 132 of file Parameter.cxx.

◆ GetValue()

Float_t Hal::ParameterFloat::GetValue ( ) const
inline
Returns
value of parameter

Definition at line 172 of file Parameter.h.

◆ HTMLExtract()

TString Hal::ParameterFloat::HTMLExtract ( Int_t = 0,
TString = " " ) const
virtual

extract this into HTML by return formated value of parameter

Parameters
counter- not used
dir- not used
Returns
formated value

Reimplemented from Hal::Parameter.

Definition at line 169 of file Parameter.cxx.

◆ SetValue()

void Hal::ParameterFloat::SetValue ( Float_t value)
inline

set value

Parameters
valuenew value

Definition at line 167 of file Parameter.h.


The documentation for this class was generated from the following files: