38 cout <<
" FitComplexMaker for " << name
39 <<
" found polar co-ordinates." << endl;
41 return_ptr = ptr_polar;
46 cout <<
" FitComplexMaker for " << name
47 <<
" found Cartesian co-ordinates." << endl;
49 return_ptr = ptr_euclid;
54 cout <<
" FitComplexMaker WARNING!: " << name
55 <<
" did not get initialised!" << endl;
59 cout <<
" FitComplexMaker WARNING!: " << name
60 <<
" got initialised " << count <<
" times!!" << endl;
82 os <<
" value " <<
getVal();
86 std::complex<double>
operator*(
const std::complex<double>& cplx
91 ,
const std::complex<double>& cplx){
95 std::complex<double>
operator+(
const std::complex<double>& cplx
100 ,
const std::complex<double>& cplx){
101 return fc.
getVal() + cplx;
104 std::complex<double>
operator-(
const std::complex<double>& cplx
106 return cplx - fc.
getVal();
109 ,
const std::complex<double>& cplx){
110 return fc.
getVal() - cplx;
113 std::complex<double>
operator/(
const std::complex<double>& cplx
115 return cplx / fc.
getVal();
118 ,
const std::complex<double>& cplx){
virtual FitParameter & p1()=0
virtual FitParameter & p2()=0
std::complex< double > operator-(const std::complex< double > &cplx, const FitComplex &fc)
std::complex< double > operator+(const std::complex< double > &cplx, const FitComplex &fc)
virtual bool isZero() const
virtual std::complex< double > getVal() const =0
std::ostream & operator<<(std::ostream &os, const FitComplex &fc)
void setParameterSet(MinuitParameterSet *pset)
counted_ptr< FitComplex > FitComplexMaker(const std::string &name, const char *fname=0, MinuitParameterSet *pset=0, MINT::IFitParRegister *daddy=0, FitParameter::FIX_OR_WHAT fow=FitParameter::FIX, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE)
std::complex< double > operator *(const std::complex< double > &cplx, const FitComplex &fc)
std::complex< double > operator/(const std::complex< double > &cplx, const FitComplex &fc)
virtual void print(std::ostream &os=std::cout) const
bool gotInitialised() const
bool addToParSet(MinuitParameterSet *ps)