Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TF1Parameters Class Reference

TF1 Parameters class.

Definition at line 51 of file TF1.h.

Public Member Functions

 TF1Parameters ()
 
 TF1Parameters (const TF1Parameters &rhs)
 
 TF1Parameters (Int_t npar)
 
virtual ~TF1Parameters ()
 
Double_t GetParameter (const char *name) const
 
Double_t GetParameter (Int_t iparam) const
 
const Double_tGetParameters () const
 
const char * GetParName (Int_t iparam) const
 
Int_t GetParNumber (const char *name) const
 Returns the parameter number given a name not very efficient but list of parameters is typically small could use a map if needed.
 
virtual TClassIsA () const
 
TF1Parametersoperator= (const TF1Parameters &rhs)
 
const std::vector< double > & ParamsVec () const
 
void SetParameter (const char *name, Double_t value)
 
void SetParameter (Int_t iparam, Double_t value)
 
void SetParameters (const Double_t *params)
 
void SetParameters (Double_t p0, Double_t p1, Double_t p2=0, Double_t p3=0, Double_t p4=0, Double_t p5=0, Double_t p6=0, Double_t p7=0, Double_t p8=0, Double_t p9=0, Double_t p10=0)
 Set parameter values.
 
void SetParName (Int_t iparam, const char *name)
 
void SetParNames (const char *name0="p0", const char *name1="p1", const char *name2="p2", const char *name3="p3", const char *name4="p4", const char *name5="p5", const char *name6="p6", const char *name7="p7", const char *name8="p8", const char *name9="p9", const char *name10="p10")
 Set parameter names.
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Member Functions

bool CheckIndex (Int_t i) const
 

Private Attributes

std::vector< Double_tfParameters
 
std::vector< std::string > fParNames
 

#include <TF1.h>

Constructor & Destructor Documentation

◆ TF1Parameters() [1/3]

TF1Parameters::TF1Parameters ( )
inline

Definition at line 53 of file TF1.h.

◆ TF1Parameters() [2/3]

TF1Parameters::TF1Parameters ( Int_t  npar)
inline

Definition at line 54 of file TF1.h.

◆ TF1Parameters() [3/3]

TF1Parameters::TF1Parameters ( const TF1Parameters rhs)
inline

Definition at line 63 of file TF1.h.

◆ ~TF1Parameters()

virtual TF1Parameters::~TF1Parameters ( )
inlinevirtual

Definition at line 75 of file TF1.h.

Member Function Documentation

◆ CheckIndex()

bool TF1Parameters::CheckIndex ( Int_t  i) const
inlineprivate

Definition at line 136 of file TF1.h.

◆ Class()

static TClass * TF1Parameters::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TF1Parameters::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TF1Parameters::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 133 of file TF1.h.

◆ DeclFileName()

static const char * TF1Parameters::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 133 of file TF1.h.

◆ GetParameter() [1/2]

Double_t TF1Parameters::GetParameter ( const char *  name) const
inline

Definition at line 82 of file TF1.h.

◆ GetParameter() [2/2]

Double_t TF1Parameters::GetParameter ( Int_t  iparam) const
inline

Definition at line 78 of file TF1.h.

◆ GetParameters()

const Double_t * TF1Parameters::GetParameters ( ) const
inline

Definition at line 86 of file TF1.h.

◆ GetParName()

const char * TF1Parameters::GetParName ( Int_t  iparam) const
inline

Definition at line 97 of file TF1.h.

◆ GetParNumber()

Int_t TF1Parameters::GetParNumber ( const char *  name) const

Returns the parameter number given a name not very efficient but list of parameters is typically small could use a map if needed.

Definition at line 3811 of file TF1.cxx.

◆ IsA()

virtual TClass * TF1Parameters::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 133 of file TF1.h.

◆ operator=()

TF1Parameters & TF1Parameters::operator= ( const TF1Parameters rhs)
inline

Definition at line 68 of file TF1.h.

◆ ParamsVec()

const std::vector< double > & TF1Parameters::ParamsVec ( ) const
inline

Definition at line 90 of file TF1.h.

◆ SetParameter() [1/2]

void TF1Parameters::SetParameter ( const char *  name,
Double_t  value 
)
inline

Definition at line 117 of file TF1.h.

◆ SetParameter() [2/2]

void TF1Parameters::SetParameter ( Int_t  iparam,
Double_t  value 
)
inline

Definition at line 104 of file TF1.h.

◆ SetParameters() [1/2]

void TF1Parameters::SetParameters ( const Double_t params)
inline

Definition at line 109 of file TF1.h.

◆ SetParameters() [2/2]

void TF1Parameters::SetParameters ( Double_t  p0,
Double_t  p1,
Double_t  p2 = 0,
Double_t  p3 = 0,
Double_t  p4 = 0,
Double_t  p5 = 0,
Double_t  p6 = 0,
Double_t  p7 = 0,
Double_t  p8 = 0,
Double_t  p9 = 0,
Double_t  p10 = 0 
)

Set parameter values.

Definition at line 3822 of file TF1.cxx.

◆ SetParName()

void TF1Parameters::SetParName ( Int_t  iparam,
const char *  name 
)
inline

Definition at line 121 of file TF1.h.

◆ SetParNames()

void TF1Parameters::SetParNames ( const char *  name0 = "p0",
const char *  name1 = "p1",
const char *  name2 = "p2",
const char *  name3 = "p3",
const char *  name4 = "p4",
const char *  name5 = "p5",
const char *  name6 = "p6",
const char *  name7 = "p7",
const char *  name8 = "p8",
const char *  name9 = "p9",
const char *  name10 = "p10" 
)

Set parameter names.

Definition at line 3843 of file TF1.cxx.

◆ Streamer()

virtual void TF1Parameters::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TF1Parameters::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 133 of file TF1.h.

Member Data Documentation

◆ fParameters

std::vector<Double_t> TF1Parameters::fParameters
private

Definition at line 141 of file TF1.h.

◆ fParNames

std::vector<std::string> TF1Parameters::fParNames
private

Definition at line 142 of file TF1.h.

Libraries for TF1Parameters:

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