ROOT » ROOFIT » ROOFITCORE » RooComplex

class RooComplex



Class RooComplex is a simple container class for complex values

Function Members (Methods)

public:
virtual~RooComplex()
Double_tabs() const
Double_tabs2() const
static TClass*Class()
RooComplexconj() const
RooComplexexp() const
Double_tim() const
virtual TClass*IsA() const
RooComplexoperator*(const RooComplex& other) const
RooComplexoperator*(const Double_t& other) const
RooComplexoperator+(const RooComplex& other) const
RooComplexoperator-() const
RooComplexoperator-(const RooComplex& other) const
RooComplexoperator/(const RooComplex& other) const
RooComplex&operator=(const RooComplex& other)
Bool_toperator==(const RooComplex& other) const
voidPrint() const
Double_tre() const
RooComplex(complex<Double_t> c)
RooComplex(const RooComplex&)
RooComplex(Double_t a = 0, Double_t b = 0)
virtual voidShowMembers(TMemberInspector& insp) const
RooComplexsqrt() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
private:
voidwarn() const

Data Members

private:
Double_t_im
Double_t_re

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void warn() const
void Print() const
  WVE Solaric CC5.0 complains about this
inline RooComplex(complex<Double_t> c)
{ }
inline RooComplex(Double_t a = 0, Double_t b = 0)
{ warn(); }
virtual ~RooComplex()
{ }
RooComplex& operator=(const RooComplex& other)
RooComplex operator-() const
 unary operators
return RooComplex(Double_t a = 0, Double_t b = 0)
RooComplex operator+(const RooComplex& other) const
 binary operators
RooComplex operator-(const RooComplex& other) const
RooComplex operator*(const RooComplex& other) const
RooComplex operator/(const RooComplex& other) const
RooComplex operator*(const Double_t& other) const
Bool_t operator==(const RooComplex& other) const
Double_t re() const
 unary functions
Double_t im() const
Double_t abs() const
return sqrt(_re*_re + _im*_im)
Double_t abs2() const
RooComplex exp() const
RooComplex conj() const