16 : myIsValid(nParams), myDiffBefore(nParams), myGlobalCor(nParams), myPreSigma(nParams),
17 myParameter(nParams), mySigma(nParams), myHitsX(0), myHitsY(0), myLabel(label)
19 for (
unsigned int i = 0;
i < nParams; ++
i) {
27 if (nParam >= this->
size())
return false;
42 if (nParam >= this->
size())
return false;
44 return (this->
preSigma()[nParam] < 0.);
unsigned int size() const
number of parameters
bool isFixed(unsigned int nParam) const
true if parameter is fixed
std::vector< bool > myIsValid
const std::vector< float > & preSigma() const
get array of presigmas (<= 0: means fixed)
std::vector< float > myDiffBefore
std::vector< float > myParameter
<= 0 means fixed
std::vector< float > mySigma
std::vector< float > myPreSigma
std::vector< float > myGlobalCor
bool setAllDefault(unsigned int nParam)
set default values for all data concerning nParam (false if nParam out of range)