SourceXtractorPlusPlus
0.12
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
GrowthCurve
GrowthCurve.h
Go to the documentation of this file.
1
18
#ifndef _SEIMPLEMENTATION_PLUGIN_GROWTHCURVE_GROWTHCURVE_H_
19
#define _SEIMPLEMENTATION_PLUGIN_GROWTHCURVE_GROWTHCURVE_H_
20
21
#include <vector>
22
#include "
SEFramework/Property/Property.h
"
23
24
namespace
SourceXtractor
{
25
30
class
GrowthCurve
:
public
Property
{
31
public
:
32
virtual
~GrowthCurve
() =
default
;
33
34
GrowthCurve
(
std::vector<double>
&& growth_curve,
double
end)
35
:
m_growth_curve
{
std::move
(growth_curve)},
m_max
{
end
},
m_step_size
{end /
m_growth_curve
.
size
()} {
36
}
37
38
const
std::vector<double>
&
getCurve
()
const
{
39
return
m_growth_curve
;
40
}
41
42
double
getMax
()
const
{
43
return
m_max
;
44
}
45
46
double
getStepSize
()
const
{
47
return
m_step_size
;
48
}
49
50
private
:
51
std::vector<double>
m_growth_curve
;
52
double
m_max
,
m_step_size
;
53
};
54
55
}
// end of namespace SourceXtractor
56
57
#endif
/* _SEIMPLEMENTATION_PLUGIN_GROWTHCURVE_GROWTHCURVE_H_ */
58
SourceXtractor::GrowthCurve::getStepSize
double getStepSize() const
Definition:
GrowthCurve.h:46
Property.h
std::end
T end(T... args)
SourceXtractor::GrowthCurve::getMax
double getMax() const
Definition:
GrowthCurve.h:42
SourceXtractor::GrowthCurve::GrowthCurve
GrowthCurve(std::vector< double > &&growth_curve, double end)
Definition:
GrowthCurve.h:34
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor::GrowthCurve::m_max
double m_max
Definition:
GrowthCurve.h:52
SourceXtractor
Definition:
Aperture.h:30
std::move
T move(T... args)
SourceXtractor::GrowthCurve::getCurve
const std::vector< double > & getCurve() const
Definition:
GrowthCurve.h:38
std::vector::size
T size(T... args)
std::vector< double >
SourceXtractor::GrowthCurve::~GrowthCurve
virtual ~GrowthCurve()=default
SourceXtractor::GrowthCurve::m_growth_curve
std::vector< double > m_growth_curve
Definition:
GrowthCurve.h:51
SourceXtractor::GrowthCurve
Definition:
GrowthCurve.h:30
SourceXtractor::GrowthCurve::m_step_size
double m_step_size
Definition:
GrowthCurve.h:52
Generated by
1.8.14