93 {
return {
"Poisson",
"Jackknife",
"Bootstrap",
"JackknifeTest",
"BootstrapTest",
"JackknifeObject",
"BootstrapObject",
"None"}; }
103 {
return castFromValue<ErrorType>(errorTypeIndex); }
112 {
return castFromName<ErrorType>(errorTypeName,
ErrorTypeNames()); }
120 inline std::vector<ErrorType>
ErrorTypeCast (
const std::vector<int> errorTypeIndeces)
121 {
return castFromValues<ErrorType>(errorTypeIndeces); }
129 inline std::vector<ErrorType>
ErrorTypeCast (
const std::vector<std::string> errorTypeNames)
130 {
return castFromNames<ErrorType>(errorTypeNames,
ErrorTypeNames()); }
Measure()=default
default constructor
virtual std::shared_ptr< data::Data > dataset() const
get the protected member dataset
std::shared_ptr< data::Data > m_dataset
the dataset of the measure
virtual ~Measure()=default
default destructor
std::vector< std::string > ErrorTypeNames()
return a vector containing the ErrorType names
ErrorType
the two-point correlation function error type
@ _Bootstrap_
Bootstrap resampling.
@ _BootstrapObjects_
Bootstrap resampling, by objects.
@ _None_
No error computed.
@ _BootstrapTest_
Bootstrap resampling, test.
@ _Poisson_
Poissonian error.
@ _Jackknife_
Jackknife resampling.
@ _JackknifeObjects_
Jackknife resampling, by objects.
@ _JackknifeTest_
Jackknife resampling, test.
ErrorType ErrorTypeCast(const int errorTypeIndex)
cast an enum of type ErrorType from its index
The global namespace of the CosmoBolognaLib