ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooComplex

class RooComplex



Class RooComplex is a simple container class for complex values

Function Members (Methods)

public:
RooComplex(const RooComplex&)
RooComplex(Double_t a = 0, Double_t b = 0)
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
virtual voidShowMembers(TMemberInspector& insp, char* parent)
RooComplexsqrt() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
Double_t_im
Double_t_re

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Print() const
  WVE Solaric CC5.0 complains about this
inline RooComplex(Double_t a = 0, Double_t b = 0)
{ }
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)
RooComplex operator/(const RooComplex& other) const
RooComplex operator*(const Double_t& other)
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