#include <ResponseCurve.h>
Inheritance diagram for SctData::ExponentialResponseCurve:
Public Member Functions | |
ExponentialResponseCurve () throw (LogicError) | |
virtual | ~ExponentialResponseCurve () throw () |
virtual shared_ptr< TF1 > | getInverseFunction () const throw (LogicError) |
Get a TF1 that represents the inverse function. | |
virtual double | getGain (const double charge) const throw () |
Given a TF1 and a charge point, return the gain. | |
virtual string | getCurveName () const throw () |
idendifier so that IO can find the right curve | |
virtual auto_ptr< ResponseCurve > | create () const throw () |
Method used by IO refresh to create from a general mode a mode of the appropriate type. | |
Static Public Member Functions | |
double | expFn (double *x, double *par) throw () |
The function used by Root for the exponential. | |
double | invExpFn (double *x, double *par) throw () |
It's inverse also used by root. | |
Static Public Attributes | |
bool | inMap |
dummy member for initialization into map |
The fit function is: [2]+ [0]/(1 + exp(-x/[1])).
Definition at line 118 of file SCTData/src/ResponseCurve.h.
|
Definition at line 126 of file ResponseCurve.cpp. |
|
Definition at line 121 of file SCTData/src/ResponseCurve.h. |
|
Method used by IO refresh to create from a general mode a mode of the appropriate type.
Implements SctData::ResponseCurve. Definition at line 146 of file ResponseCurve.cpp. |
|
The function used by Root for the exponential.
Definition at line 157 of file ResponseCurve.cpp. |
|
idendifier so that IO can find the right curve
Reimplemented from SctData::ResponseCurve. Definition at line 124 of file SCTData/src/ResponseCurve.h. |
|
Given a TF1 and a charge point, return the gain.
Implements SctData::ResponseCurve. Definition at line 150 of file ResponseCurve.cpp. |
|
Get a TF1 that represents the inverse function. (i.e. charge as a function of threshold)
Implements SctData::ResponseCurve. Definition at line 133 of file ResponseCurve.cpp. |
|
It's inverse also used by root.
Definition at line 160 of file ResponseCurve.cpp. |
|
dummy member for initialization into map
Definition at line 144 of file ResponseCurve.cpp. |