Public Member Functions | |
BaselinedGausFitCache (std::string const &new_name="BaselinedGausFitCache") | |
Constructor (see base class constructor). More... | |
Public Member Functions inherited from hit::GausFitCache | |
GausFitCache (std::string new_name="GausFitCache") | |
Constructor; optionally set the name of the repository. More... | |
virtual | ~GausFitCache () |
Destructor. More... | |
std::string | GetName () const |
Return the name of this cache. More... | |
virtual TF1 * | Get (size_t nFunc) |
Returns a function sum of nFunc base functions. More... | |
virtual TF1 * | GetClone (size_t nGaus) |
virtual std::string | FunctionName (size_t nFunc) const |
Returns a name for the function with nFunc base functions. More... | |
Protected Member Functions | |
virtual TF1 * | CreateFunction (size_t nFunc) const |
Additional Inherited Members | |
Protected Attributes inherited from hit::GausFitCache | |
std::string | name |
name of the cache More... | |
std::vector< TF1 * > | funcs |
Customized function cache for Gaussians with a baseline.
The baseline parameter is always the last one.
Definition at line 28 of file PeakFitterGaussian_tool.cc.
|
inline |
Constructor (see base class constructor).
Definition at line 32 of file PeakFitterGaussian_tool.cc.
|
inlineprotectedvirtual |
Creates and returns the function with specified number of Gaussians.
The formula is gaus(0) + gaus(3) + ... + gaus(3*(nFunc-1)) + [nFunc*3]
.
Reimplemented from hit::GausFitCache.
Definition at line 41 of file PeakFitterGaussian_tool.cc.