#include <ResponseCurve.h>
Inheritance diagram for SctData::GrilloResponseCurve:
Public Member Functions | |
GrilloResponseCurve () throw (LogicError) | |
virtual | ~GrilloResponseCurve () 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 | |
static double | grilloFn (double *x, double *par) throw () |
The function used by Root for the exponential. | |
static double | invGrilloFn (double *x, double *par) throw () |
It's inverse also used by root. | |
Static Public Attributes | |
static bool | inMap |
dummy member for initialization into map |
Implemented as: [0] + [1]*x/sqrt(1+[2]*[2]*x*x)
Definition at line 141 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 204 of file SCTData/src/ResponseCurve.cpp. References GrilloResponseCurve(). Here is the call graph for this function: ![]() |
|
idendifier so that IO can find the right curve
Reimplemented from SctData::ResponseCurve. Definition at line 147 of file SCTData/src/ResponseCurve.h. |
|
Given a TF1 and a charge point, return the gain.
Implements SctData::ResponseCurve. Definition at line 208 of file SCTData/src/ResponseCurve.cpp. |
|
Get a TF1 that represents the inverse function. (i.e. charge as a function of threshold)
Implements SctData::ResponseCurve. Definition at line 191 of file SCTData/src/ResponseCurve.cpp. References invGrilloFn(), and SctData::ResponseCurve::ptr_inverse. Here is the call graph for this function: ![]() |
|
The function used by Root for the exponential.
Definition at line 211 of file SCTData/src/ResponseCurve.cpp. |
|
It's inverse also used by root.
Definition at line 217 of file SCTData/src/ResponseCurve.cpp. Referenced by getInverseFunction(). |
|
dummy member for initialization into map
Definition at line 149 of file SCTData/src/ResponseCurve.h. |