evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtComplex.hh>

Public Member Functions

 EvtComplex ()
 
 EvtComplex (double rpart, double ipart=0.0)
 
 EvtComplex (const EvtComplex &c)
 
EvtComplexoperator *= (double d)
 
EvtComplexoperator/= (double d)
 
EvtComplexoperator *= (EvtComplex c)
 
EvtComplexoperator/= (EvtComplex c)
 
EvtComplexoperator= (const EvtComplex &c)
 
EvtComplexoperator+= (const EvtComplex &c)
 
EvtComplexoperator-= (const EvtComplex &c)
 
EvtComplexoperator+= (double d)
 
EvtComplexoperator-= (double d)
 
int operator== (const EvtComplex c)
 
int operator!= (const EvtComplex c)
 

Private Attributes

double _rpart
 
double _ipart
 

Friends

EvtComplex operator * (double d, const EvtComplex &c)
 
EvtComplex operator * (const EvtComplex &c, double d)
 
EvtComplex operator/ (const EvtComplex &c, double d)
 
EvtComplex operator/ (double d, const EvtComplex &c)
 
EvtComplex operator * (const EvtComplex &c1, const EvtComplex &c2)
 
EvtComplex operator/ (const EvtComplex &c1, const EvtComplex &c2)
 
EvtComplex operator+ (const EvtComplex &c1, const EvtComplex &c2)
 
EvtComplex operator- (const EvtComplex &c1, const EvtComplex &c2)
 
EvtComplex operator- (const EvtComplex &c)
 
EvtComplex conj (const EvtComplex &c)
 
double abs (const EvtComplex &c)
 
double abs2 (const EvtComplex &c)
 
double arg (const EvtComplex &c)
 
double real (const EvtComplex &c)
 
double imag (const EvtComplex &c)
 
EvtComplex exp (const EvtComplex &c)
 
std::ostream & operator<< (std::ostream &s, const EvtComplex &c)
 

Detailed Description

Definition at line 29 of file EvtComplex.hh.

Constructor & Destructor Documentation

◆ EvtComplex() [1/3]

EvtComplex::EvtComplex ( )
inline

Definition at line 53 of file EvtComplex.hh.

◆ EvtComplex() [2/3]

EvtComplex::EvtComplex ( double  rpart,
double  ipart = 0.0 
)
inline

Definition at line 54 of file EvtComplex.hh.

◆ EvtComplex() [3/3]

EvtComplex::EvtComplex ( const EvtComplex c)
inline

Definition at line 58 of file EvtComplex.hh.

Member Function Documentation

◆ operator *=() [1/2]

EvtComplex & EvtComplex::operator *= ( double  d)
inline

Definition at line 134 of file EvtComplex.hh.

◆ operator *=() [2/2]

EvtComplex & EvtComplex::operator *= ( EvtComplex  c)

Definition at line 35 of file EvtComplex.cpp.

◆ operator!=()

int EvtComplex::operator!= ( const EvtComplex  c)
inline

Definition at line 186 of file EvtComplex.hh.

◆ operator+=() [1/2]

EvtComplex & EvtComplex::operator+= ( const EvtComplex c)
inline

Definition at line 89 of file EvtComplex.hh.

◆ operator+=() [2/2]

EvtComplex & EvtComplex::operator+= ( double  d)
inline

Definition at line 105 of file EvtComplex.hh.

◆ operator-=() [1/2]

EvtComplex & EvtComplex::operator-= ( const EvtComplex c)
inline

Definition at line 97 of file EvtComplex.hh.

◆ operator-=() [2/2]

EvtComplex & EvtComplex::operator-= ( double  d)
inline

Definition at line 112 of file EvtComplex.hh.

◆ operator/=() [1/2]

EvtComplex & EvtComplex::operator/= ( double  d)
inline

Definition at line 142 of file EvtComplex.hh.

◆ operator/=() [2/2]

EvtComplex & EvtComplex::operator/= ( EvtComplex  c)

Definition at line 46 of file EvtComplex.cpp.

◆ operator=()

EvtComplex & EvtComplex::operator= ( const EvtComplex c)
inline

Definition at line 81 of file EvtComplex.hh.

◆ operator==()

int EvtComplex::operator== ( const EvtComplex  c)
inline

Definition at line 181 of file EvtComplex.hh.

Friends And Related Function Documentation

◆ abs

double abs ( const EvtComplex c)
friend

Definition at line 201 of file EvtComplex.hh.

◆ abs2

double abs2 ( const EvtComplex c)
friend

Definition at line 209 of file EvtComplex.hh.

◆ arg

double arg ( const EvtComplex c)
friend

Definition at line 214 of file EvtComplex.hh.

◆ conj

EvtComplex conj ( const EvtComplex c)
friend

Definition at line 196 of file EvtComplex.hh.

◆ exp

EvtComplex exp ( const EvtComplex c)
friend

Definition at line 240 of file EvtComplex.hh.

◆ imag

double imag ( const EvtComplex c)
friend

Definition at line 235 of file EvtComplex.hh.

◆ operator * [1/3]

EvtComplex operator * ( double  d,
const EvtComplex c 
)
friend

Definition at line 119 of file EvtComplex.hh.

◆ operator * [2/3]

EvtComplex operator * ( const EvtComplex c,
double  d 
)
friend

Definition at line 124 of file EvtComplex.hh.

◆ operator * [3/3]

EvtComplex operator * ( const EvtComplex c1,
const EvtComplex c2 
)
friend

Definition at line 165 of file EvtComplex.hh.

◆ operator+

EvtComplex operator+ ( const EvtComplex c1,
const EvtComplex c2 
)
friend

Definition at line 176 of file EvtComplex.hh.

◆ operator- [1/2]

EvtComplex operator- ( const EvtComplex c1,
const EvtComplex c2 
)
friend

Definition at line 171 of file EvtComplex.hh.

◆ operator- [2/2]

EvtComplex operator- ( const EvtComplex c)
friend

Definition at line 191 of file EvtComplex.hh.

◆ operator/ [1/3]

EvtComplex operator/ ( const EvtComplex c,
double  d 
)
friend

Definition at line 129 of file EvtComplex.hh.

◆ operator/ [2/3]

EvtComplex operator/ ( double  d,
const EvtComplex c 
)
friend

Definition at line 150 of file EvtComplex.hh.

◆ operator/ [3/3]

EvtComplex operator/ ( const EvtComplex c1,
const EvtComplex c2 
)
friend

Definition at line 157 of file EvtComplex.hh.

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const EvtComplex c 
)
friend

◆ real

double real ( const EvtComplex c)
friend

Definition at line 230 of file EvtComplex.hh.

Member Data Documentation

◆ _ipart

double EvtComplex::_ipart
private

Definition at line 74 of file EvtComplex.hh.

◆ _rpart

double EvtComplex::_rpart
private

Definition at line 74 of file EvtComplex.hh.


The documentation for this class was generated from the following files: