#include <TSParameter.h>
Public Member Functions | |
TSParameter (TString name, TString label, TString title, TString unit="") | |
TSParameter (const TSParameter &) | |
void | Clear () |
void | ClearError () |
void | ClearAsymErrors () |
void | Copy (const TSParameter &) |
virtual TSParameter * | Clone (TString name, int) |
virtual TObject * | Clone (const char *name="") |
void | Fix () |
virtual double | GetError () const |
virtual double | GetErrorLow () const |
virtual double | GetErrorUp () const |
virtual double | GetErrorFrac () const |
virtual double | GetPrecision () const |
virtual double | GetStep () const |
bool | HasAsymErrors () const |
bool | HasError () const |
bool | IsFixed () const |
void | Init () |
void | Print () const |
void | Release () |
void | SetAsymErrors (double err_low, double err_up) |
void | SetError (double err) |
void | SetFixed (double) |
void | SetPrecision (double) |
void | SetStep (double s) |
virtual bool | SetFunction (TString expr, const TSArgList &) |
TSArgList * | GetPrimaryParamList () const |
void | PrintPrimaryParamList () const |
int | GetNumOfPrimPars () const |
TSParameter (TString name, TString label, TString title, TString unit="") | |
TSParameter (const TSParameter &) | |
void | Clear () |
void | ClearError () |
void | ClearAsymErrors () |
void | Copy (const TSParameter &) |
virtual TSParameter * | Clone (TString name, int) const |
virtual TObject * | Clone (const char *name="") const |
void | Fix () |
virtual double | GetError () const |
virtual double | GetErrorLow () const |
virtual double | GetErrorUp () const |
virtual double | GetErrorFrac () const |
virtual double | GetPrecision () const |
virtual double | GetStep () const |
bool | HasAsymErrors () const |
bool | HasError () const |
bool | IsFixed () const |
void | Init () |
void | Print () const |
void | Release () |
void | SetAsymErrors (double err_low, double err_up) |
void | SetError (double err) |
void | SetFixed (double) |
void | SetPrecision (double) |
void | SetStep (double s) |
virtual bool | SetFunction (TString expr, const TSArgList &) |
TSArgList * | GetPrimaryParamList () const |
void | PrintPrimaryParamList () const |
int | GetNumOfPrimPars () const |
![]() | |
TSVariable (TString name, TString label, TString title, TString unit="") | |
TSVariable (const TSVariable &) | |
void | Clear () |
bool | ContainsRange (double min, double max) const |
bool | ContainsRange (const TSVariable &) const |
void | Copy (const TSVariable &) |
TSVariable * | Clone (TString name="") const |
void | ForceToRange (bool) |
double | GetMin () const |
double | GetMax () const |
TString | GetAxisTitle () const |
TString | GetAxisUnit () const |
TString | GetDefinition () const |
TString | GetDescription () const |
TString | GetRange () const |
double | GetRangeCenter () const |
TString | GetLabelAndRange () const |
TString | GetLabelAndValue () const |
TString | GetLabelAndValue (double) const |
TString | GetTitleXY (TString tity="entries") const |
TString | GetUnit () const |
virtual double | GetValue () const |
bool | HasRange () const |
bool | HasRangeForced () const |
bool | HasUnit () const |
bool | HasValue () const |
bool | IsInside (double) const |
void | Print () const |
bool | RangeIsContained (double min, double max) const |
bool | RangeIsContained (const TSVariable &) const |
bool | RangesOverlap (double min, double max) const |
bool | RangesOverlap (const TSVariable &) const |
void | RemoveRange () |
bool | SameRange (double min, double max) const |
bool | SameRange (const TSVariable &) const |
void | SetLabel (TString) |
int | SetRange (double, double) |
void | SetTitle (TString) |
void | SetUnit (TString) |
void | SetValue (double) |
TSVariable (TString name, TString label, TString title, TString unit="") | |
TSVariable (const TSVariable &) | |
void | Clear () |
bool | ContainsRange (double min, double max) const |
bool | ContainsRange (const TSVariable &) const |
void | Copy (const TSVariable &) |
TSVariable * | Clone (TString name="") const |
void | ForceToRange (bool) |
double | GetMin () const |
double | GetMax () const |
TString | GetAxisTitle () const |
TString | GetAxisUnit () const |
TString | GetDefinition () const |
TString | GetDescription () const |
TString | GetRange () const |
double | GetRangeCenter () const |
TString | GetLabelAndRange () const |
TString | GetLabelAndValue () const |
TString | GetLabelAndValue (double) const |
TString | GetTitleXY (TString tity="entries") const |
TString | GetUnit () const |
virtual double | GetValue () const |
bool | HasRange () const |
bool | HasRangeForced () const |
bool | HasUnit () const |
bool | HasValue () const |
bool | IsInside (double) const |
void | Print () const |
bool | RangeIsContained (double min, double max) const |
bool | RangeIsContained (const TSVariable &) const |
bool | RangesOverlap (double min, double max) const |
bool | RangesOverlap (const TSVariable &) const |
void | RemoveRange () |
bool | SameRange (double min, double max) const |
bool | SameRange (const TSVariable &) const |
void | SetLabel (TString) |
int | SetRange (double, double) |
void | SetTitle (TString) |
void | SetUnit (TString) |
void | SetValue (double) |
![]() | |
TSNamed (TString name, TString label, TString title) | |
void | Clear () |
TString | GetLabel () const |
TString | Label () const |
TString | Name () const |
TString | Title () const |
const char * | GetName () const |
const char * | GetTitle () const |
virtual void | SetName (TString) |
TSNamed (TString name, TString label, TString title) | |
void | Clear () |
TString | GetLabel () const |
TString | Label () const |
TString | Name () const |
TString | Title () const |
const char * | GetName () const |
const char * | GetTitle () const |
virtual void | SetName (TString) |
![]() | |
ServerClientMgr (TString owner_name) | |
ServerClientMgr (const ServerClientMgr &) | |
void | AddClient (ServerClientMgr *) |
void | AddServer (ServerClientMgr *) |
bool | AnyClientChanged () |
bool | AnyServerChanged () |
bool | BroadcastActive () |
void | BroadcastToClients (int) |
void | BroadcastToServers (int) |
ServerClientMgr * | GetClient (int) const |
int | GetClientStatus (int) const |
ServerClientMgr * | GetServer (int) const |
int | GetServerStatus (int) const |
int | GetNumOfClients () const |
int | GetNumOfServers () const |
int | GetNumOfClientsChanged () const |
int | GetNumOfServersChanged () const |
TString | GetOwnerName () const |
TString | GetStatusName (int) const |
void | PrintServersAndClients () |
void | RemoveClient (ServerClientMgr *) |
void | RemoveServer (ServerClientMgr *) |
void | ResetAll () |
void | SetClientStatus (ServerClientMgr *, int) |
void | SetServerStatus (ServerClientMgr *, int) |
bool | ServerChanged (ServerClientMgr *) |
bool | ServerRemoved (ServerClientMgr *) |
ServerClientMgr (TString owner_name) | |
ServerClientMgr (const ServerClientMgr &) | |
void | AddClient (ServerClientMgr *) |
void | AddServer (ServerClientMgr *) |
bool | AnyClientChanged () |
bool | AnyServerChanged () |
bool | BroadcastActive () |
void | BroadcastToClients (int) |
void | BroadcastToServers (int) |
ServerClientMgr * | GetClient (int) const |
int | GetClientStatus (int) const |
ServerClientMgr * | GetServer (int) const |
int | GetServerStatus (int) const |
int | GetNumOfClients () const |
int | GetNumOfServers () const |
int | GetNumOfClientsChanged () const |
int | GetNumOfServersChanged () const |
TString | GetOwnerName () const |
TString | GetStatusName (int) const |
void | PrintServersAndClients () |
void | RemoveClient (ServerClientMgr *) |
void | RemoveServer (ServerClientMgr *) |
void | ResetAll () |
void | SetClientStatus (ServerClientMgr *, int) |
void | SetServerStatus (ServerClientMgr *, int) |
bool | ServerChanged (ServerClientMgr *) |
bool | ServerRemoved (ServerClientMgr *) |
Protected Member Functions | |
virtual void | fClearPrimaryParamList () |
virtual void | fClearPrimaryParamList () |
Protected Attributes | |
TSArgList * | fPrimaryParamList |
Additional Inherited Members | |
![]() | |
int | kChanged |
int | kUnChanged |
int | kRemoved |
![]() | |
static bool | kBroadcastIsActive = false |
static bool | kDebug = false |
Created on: May 25, 2014 Author: Silvestro di Luise Silve stro .Di.L uise @cern .ch
Class to implement a general Parameter. It inherits from a Variable. A Parameter is a Variable with an Error (or Asymmetric Errors) and a State: Fixed/Free; If a range is specified and Parameter is fixed to a value outside the range than the value is fixed to the closest range limit; Other settings useful for the fit are available: e.g. Precision
void TSParameter::SetAsymErrors | ( | double | err_low, |
double | err_up | ||
) |
Errors must be: lower negative and upper positive OR equals and positive otherwise they are set to zero
Referenced by TSMinimizer::Minimize().