15 std::string FitComplexCart::makeRealName(
const std::string& varName){
16 return varName +
"_Re";
18 std::string FitComplexCart::makeImagName(
const std::string& varName){
19 return varName +
"_Im";
22 FitComplexCart::FitComplexCart(
const std::string& varName
30 , _real(makeRealName(varName), fname, pset, fow, vb)
31 , _imag(makeImagName(varName), fname, pset, fow, vb)
42 , _real(makeRealName(varName), pset, fow, vb)
43 , _imag(makeImagName(varName), pset, fow, vb)
58 return complex<double>((
double)
real(), (
double)
imag() );
61 return complex<double>(
real().meanInit(),
imag().meanInit());
virtual ~FitComplexCart()
FitComplexCart(const std::string &varName, const char *fname=0, MinuitParameterSet *pset=0, MINT::IFitParRegister *daddy=0, FitParameter::FIX_OR_WHAT fow=FitParameter::FIX, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE)
virtual void print(std::ostream &os=std::cout) const
const FitParameter & real() const
virtual std::complex< double > getVal() const
virtual std::complex< double > getValInit() const
bool gotInitialised() const
const FitParameter & imag() const
virtual bool gotInitialised() const
virtual void set(std::complex< double > z)