#include <ZDCWaveformFermiExp.h>
|
| | ZDCWaveformFermiExpTail ()=delete |
| |
| | ZDCWaveformFermiExpTail (const std::string &tag, double initialTauRise, double initialTauFall, double tailShiftFrac) |
| |
| void | setTailParameter (double tailShiftFrac) |
| |
| ZDCWaveformBase * | Duplicate () |
| |
| double | evaluate (double time) const |
| |
| double | evaluateRoot (double *x, double *p) |
| |
| double | evaluateRootNoTF1Par (double *x, double *p) |
| |
| double | operator() (double *x, double *p) |
| |
| const std::string & | getTag () const |
| |
| std::string | getNameTag () const |
| |
| const std::string | getName () const |
| |
| double | getTauRise () const |
| |
| double | getTauFall () const |
| |
| unsigned int | getNumAddtlShapeValues () const |
| |
| double | getAddtlShapeValue (const std::string &name) const |
| |
| double | getAddtlShapeValue (unsigned int index) const |
| |
| void | setAddtlShapeValue (std::string name, double value) |
| |
| void | setAddtlShapeValue (unsigned int index, double value) |
| |
| void | setTaus (double tauRise, double tauFall) |
| |
| void | restoreInitial () |
| |
| TF1 * | makeWaveformTF1 (ZDCWaveformBase *ptr, double xmin, double xmax, bool useTF1Params=true) |
| |
| TF1 * | makeWaveformTF1 (ZDCWaveformBase &instance, double xmin, double xmax, bool useTF1Params=true) |
| |
Definition at line 37 of file ZDCWaveformFermiExp.h.
◆ ZDCWaveformFermiExpTail() [1/2]
| ZDCWaveformFermiExpTail::ZDCWaveformFermiExpTail |
( |
| ) |
|
|
delete |
◆ ZDCWaveformFermiExpTail() [2/2]
| ZDCWaveformFermiExpTail::ZDCWaveformFermiExpTail |
( |
const std::string & |
tag, |
|
|
double |
initialTauRise, |
|
|
double |
initialTauFall, |
|
|
double |
tailShiftFrac |
|
) |
| |
|
inline |
◆ doEvaluate()
| double ZDCWaveformFermiExpTail::doEvaluate |
( |
double |
time | ) |
const |
|
inlineoverrideprivatevirtual |
◆ Duplicate()
◆ evaluate()
| double ZDCWaveformBase::evaluate |
( |
double |
time | ) |
const |
|
inlineinherited |
◆ evaluateRoot()
| double ZDCWaveformBase::evaluateRoot |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
|
inlineinherited |
◆ evaluateRootNoTF1Par()
| double ZDCWaveformBase::evaluateRootNoTF1Par |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
|
inlineinherited |
◆ getAddtlShapeValue() [1/2]
| double ZDCWaveformBase::getAddtlShapeValue |
( |
const std::string & |
name | ) |
const |
|
inlineinherited |
◆ getAddtlShapeValue() [2/2]
| double ZDCWaveformBase::getAddtlShapeValue |
( |
unsigned int |
index | ) |
const |
|
inlineinherited |
◆ getName()
| const std::string ZDCWaveformBase::getName |
( |
| ) |
const |
|
inlineinherited |
◆ getNameTag()
| std::string ZDCWaveformBase::getNameTag |
( |
| ) |
const |
|
inlineinherited |
◆ getNumAddtlShapeValues()
| unsigned int ZDCWaveformBase::getNumAddtlShapeValues |
( |
| ) |
const |
|
inlineinherited |
◆ getTag()
| const std::string& ZDCWaveformBase::getTag |
( |
| ) |
const |
|
inlineinherited |
◆ getTauFall()
| double ZDCWaveformBase::getTauFall |
( |
| ) |
const |
|
inlineinherited |
◆ getTauRise()
| double ZDCWaveformBase::getTauRise |
( |
| ) |
const |
|
inlineinherited |
◆ makeWaveformTF1() [1/2]
| TF1* ZDCWaveformBase::makeWaveformTF1 |
( |
ZDCWaveformBase & |
instance, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
bool |
useTF1Params = true |
|
) |
| |
|
inlineinherited |
◆ makeWaveformTF1() [2/2]
| TF1* ZDCWaveformBase::makeWaveformTF1 |
( |
ZDCWaveformBase * |
ptr, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
bool |
useTF1Params = true |
|
) |
| |
|
inlineinherited |
Definition at line 133 of file ZDCWaveform.h.
135 std::string
name =
ptr->getNameTag() +
"_TF1";
140 unsigned int numPar = 2 +
ptr->getNumAddtlShapeValues();
143 "ZDCWaveformBase",
"evaluateRoot");
145 newTF1->SetParameter(0,
ptr->getTauRise());
146 newTF1->SetParameter(1,
ptr->getTauFall());
149 for (
unsigned int idxpar = 2; idxpar < numPar; idxpar++) {
150 newTF1->SetParameter(idxpar,
ptr->getAddtlShapeValue(idxpar - 2));
156 "ZDCWaveformBase",
"evaluateRoot");
159 newTF1->SetNpx(1000);
◆ name()
| virtual std::string ZDCWaveformFermiExpTail::name |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ operator()()
| double ZDCWaveformBase::operator() |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
|
inlineinherited |
◆ restoreInitial()
| void ZDCWaveformBase::restoreInitial |
( |
| ) |
|
|
inherited |
◆ setAddtlShapeParameters()
| void ZDCWaveformBase::setAddtlShapeParameters |
( |
const std::vector< std::string > & |
addtlShapeNames, |
|
|
const std::vector< double > & |
addtlShapeValues |
|
) |
| |
|
protectedinherited |
Definition at line 32 of file ZDCWaveform.cxx.
38 if (
m_numAddtlShapePars != addtlShapeValues.size())
throw std::runtime_error(
"ZDCWaveformBase::setAddtlShapeParameters; Shape name and value size mismatch");
44 for (
unsigned int param = 0; param < addtlShapeNames.size(); param++) {
◆ setAddtlShapeValue() [1/2]
| void ZDCWaveformBase::setAddtlShapeValue |
( |
std::string |
name, |
|
|
double |
value |
|
) |
| |
|
inherited |
◆ setAddtlShapeValue() [2/2]
| void ZDCWaveformBase::setAddtlShapeValue |
( |
unsigned int |
index, |
|
|
double |
value |
|
) |
| |
|
inlineinherited |
◆ setAddtlShapeValues() [1/2]
| void ZDCWaveformBase::setAddtlShapeValues |
( |
const double * |
values | ) |
|
|
protectedinherited |
◆ setAddtlShapeValues() [2/2]
| void ZDCWaveformBase::setAddtlShapeValues |
( |
const std::vector< double > & |
values | ) |
|
|
inlineprotectedinherited |
◆ setTailParameter()
| void ZDCWaveformFermiExpTail::setTailParameter |
( |
double |
tailShiftFrac | ) |
|
|
inline |
◆ setTaus()
| void ZDCWaveformBase::setTaus |
( |
double |
tauRise, |
|
|
double |
tauFall |
|
) |
| |
|
inlineinherited |
◆ m_addtlShapeInitialValues
| std::vector<double> ZDCWaveformBase::m_addtlShapeInitialValues |
|
privateinherited |
◆ m_addtlShapeNames
| std::map<std::string, unsigned int> ZDCWaveformBase::m_addtlShapeNames |
|
privateinherited |
◆ m_addtlShapeValues
| std::vector<double> ZDCWaveformBase::m_addtlShapeValues |
|
protectedinherited |
◆ m_initialTauFall
| double ZDCWaveformBase::m_initialTauFall |
|
privateinherited |
◆ m_initialTauRise
| double ZDCWaveformBase::m_initialTauRise |
|
privateinherited |
◆ m_numAddtlShapePars
| unsigned int ZDCWaveformBase::m_numAddtlShapePars |
|
privateinherited |
◆ m_tag
| std::string ZDCWaveformBase::m_tag |
|
privateinherited |
◆ m_tauFall
| double ZDCWaveformBase::m_tauFall |
|
protectedinherited |
◆ m_tauRise
| double ZDCWaveformBase::m_tauRise |
|
protectedinherited |
The documentation for this class was generated from the following file: