EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtComplex Class Reference

#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 m_rpart
double m_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!=()

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

Definition at line 188 of file EvtComplex.hh.

◆ operator*=() [1/2]

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

Definition at line 135 of file EvtComplex.hh.

◆ operator*=() [2/2]

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

Definition at line 33 of file EvtComplex.cpp.

◆ operator+=() [1/2]

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

Definition at line 90 of file EvtComplex.hh.

◆ operator+=() [2/2]

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

Definition at line 106 of file EvtComplex.hh.

◆ operator-=() [1/2]

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

Definition at line 98 of file EvtComplex.hh.

◆ operator-=() [2/2]

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

Definition at line 113 of file EvtComplex.hh.

◆ operator/=() [1/2]

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

Definition at line 143 of file EvtComplex.hh.

◆ operator/=() [2/2]

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

Definition at line 44 of file EvtComplex.cpp.

◆ operator=()

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

Definition at line 82 of file EvtComplex.hh.

◆ operator==()

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

Definition at line 183 of file EvtComplex.hh.

◆ abs

double abs ( const EvtComplex & c)
friend

Definition at line 203 of file EvtComplex.hh.

◆ abs2

double abs2 ( const EvtComplex & c)
friend

Definition at line 211 of file EvtComplex.hh.

◆ arg

double arg ( const EvtComplex & c)
friend

Definition at line 216 of file EvtComplex.hh.

◆ conj

EvtComplex conj ( const EvtComplex & c)
friend

Definition at line 198 of file EvtComplex.hh.

◆ exp

EvtComplex exp ( const EvtComplex & c)
friend

Definition at line 242 of file EvtComplex.hh.

◆ imag

double imag ( const EvtComplex & c)
friend

Definition at line 237 of file EvtComplex.hh.

◆ operator* [1/3]

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

Definition at line 125 of file EvtComplex.hh.

◆ operator* [2/3]

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

Definition at line 167 of file EvtComplex.hh.

◆ operator* [3/3]

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

Definition at line 120 of file EvtComplex.hh.

◆ operator+

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

Definition at line 178 of file EvtComplex.hh.

◆ operator- [1/2]

EvtComplex operator- ( const EvtComplex & c)
friend

Definition at line 193 of file EvtComplex.hh.

◆ operator- [2/2]

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

Definition at line 173 of file EvtComplex.hh.

◆ operator/ [1/3]

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

Definition at line 130 of file EvtComplex.hh.

◆ operator/ [2/3]

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

Definition at line 158 of file EvtComplex.hh.

◆ operator/ [3/3]

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

Definition at line 151 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 232 of file EvtComplex.hh.

Member Data Documentation

◆ m_ipart

double EvtComplex::m_ipart
private

Definition at line 75 of file EvtComplex.hh.

◆ m_rpart

double EvtComplex::m_rpart
private

Definition at line 75 of file EvtComplex.hh.


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