MINT2
Public Member Functions | Private Attributes | List of all members
CPV_amp_polar Class Reference
Inheritance diagram for CPV_amp_polar:
MINT::IReturnComplex

Public Member Functions

 CPV_amp_polar (FitParameter &r, FitParameter &delta, int sign)
 
complex< double > ComplexVal ()
 
- Public Member Functions inherited from MINT::IReturnComplex
virtual ~IReturnComplex ()
 

Private Attributes

FitParameter_r
 
FitParameter_delta
 
int _sign
 

Additional Inherited Members

- Protected Member Functions inherited from MINT::IReturnComplex
 IReturnComplex ()
 

Detailed Description

Definition at line 185 of file BsDsKpipi_TD_ampFit.cpp.

Constructor & Destructor Documentation

◆ CPV_amp_polar()

CPV_amp_polar::CPV_amp_polar ( FitParameter r,
FitParameter delta,
int  sign 
)
inline

Definition at line 190 of file BsDsKpipi_TD_ampFit.cpp.

191  : _r(r), _delta(delta), _sign(sign) {}
FitParameter & _delta

Member Function Documentation

◆ ComplexVal()

complex<double> CPV_amp_polar::ComplexVal ( )
inlinevirtual

Implements MINT::IReturnComplex.

Definition at line 193 of file BsDsKpipi_TD_ampFit.cpp.

193  {
194  std::complex<double> result= polar((double) sqrt( 1.+ _r * (double) _sign),(double) (_delta/360.*2.*pi * (double) _sign) );
195  return result;
196  }
FitParameter & _delta
static const double pi

Member Data Documentation

◆ _delta

FitParameter& CPV_amp_polar::_delta
private

Definition at line 187 of file BsDsKpipi_TD_ampFit.cpp.

◆ _r

FitParameter& CPV_amp_polar::_r
private

Definition at line 186 of file BsDsKpipi_TD_ampFit.cpp.

◆ _sign

int CPV_amp_polar::_sign
private

Definition at line 188 of file BsDsKpipi_TD_ampFit.cpp.


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