#include <ResponseCurve.h>
Inheritance diagram for SctData::ResponseCurve:

Public Member Functions | |
| shared_ptr< TF1 > | getFunction () const throw () |
| Get a TF1 that is the fit function. | |
| virtual shared_ptr< TF1 > | getInverseFunction () const=0 throw (LogicError) |
| Get a TF1 that represents the inverse function. | |
| const int | getIndex () const throw () |
| return the integer index representation of the sub-class. | |
| virtual double | getGain (const double charge) const=0 throw () |
| Given a TF1 and a charge point, return the gain. | |
| virtual auto_ptr< ResponseCurve > | create () const=0 throw () |
| Method used by IO refresh to create from a general mode a mode of the appropriate type. | |
| virtual | ~ResponseCurve () throw () |
| destructor | |
| ResponseCurve & | operator= (const ResponseCurve &) throw () |
| make deep copies: | |
| bool | operator== (const ResponseCurve &) const throw () |
| make deep comparison: | |
| virtual string | getClassName () const throw () |
| over-ride streamable here once and for all | |
| virtual string | getCurveName () const throw () |
| idendifier so that IO can find the right curve | |
Protected Member Functions | |
| ResponseCurve (auto_ptr< TF1 >) throw (LogicError) | |
| sub-classes make themselves with a pointer to their TF1. | |
Protected Attributes | |
| shared_ptr< TF1 > | ptr_inverse |
Private Member Functions | |
| ResponseCurve () | |
Private Attributes | |
| shared_ptr< TF1 > | ptr_function |
Definition at line 24 of file SCTData/src/ResponseCurve.h.
|
|
destructor
Definition at line 50 of file SCTData/src/ResponseCurve.h. |
|
|
|
|
|
sub-classes make themselves with a pointer to their TF1.
Definition at line 26 of file ResponseCurve.cpp. |
|
|
Method used by IO refresh to create from a general mode a mode of the appropriate type.
Implemented in SctData::LinearResponseCurve, SctData::ExponentialResponseCurve, SctData::GrilloResponseCurve, and SctData::QuadraticResponseCurve. |
|
|
over-ride streamable here once and for all
Implements Sct::Streamable. Definition at line 56 of file SCTData/src/ResponseCurve.h. |
|
|
idendifier so that IO can find the right curve
Reimplemented in SctData::LinearResponseCurve, SctData::ExponentialResponseCurve, SctData::GrilloResponseCurve, and SctData::QuadraticResponseCurve. Definition at line 58 of file SCTData/src/ResponseCurve.h. Referenced by SctData::IO::ResponseCurveStreamer::write(). |
|
|
Get a TF1 that is the fit function. (i.e. threshold as a function of charge)
Definition at line 174 of file SCTData/src/ResponseCurve.h. Referenced by SctData::IO::ResponseCurveStreamer::write(). |
|
|
Given a TF1 and a charge point, return the gain.
Implemented in SctData::LinearResponseCurve, SctData::ExponentialResponseCurve, SctData::GrilloResponseCurve, and SctData::QuadraticResponseCurve. |
|
|
return the integer index representation of the sub-class.
Definition at line 178 of file SCTData/src/ResponseCurve.h. |
|
|
Get a TF1 that represents the inverse function. (i.e. charge as a function of threshold)
Implemented in SctData::LinearResponseCurve, SctData::ExponentialResponseCurve, SctData::GrilloResponseCurve, and SctData::QuadraticResponseCurve. |
|
|
make deep copies:
Definition at line 10 of file ResponseCurve.cpp. |
|
|
make deep comparison:
Definition at line 16 of file ResponseCurve.cpp. |
|
|
Definition at line 61 of file SCTData/src/ResponseCurve.h. |
|
|
Definition at line 63 of file SCTData/src/ResponseCurve.h. |
1.3-rc3