BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TFormFactor Class Referenceabstract

#include <TFormFactor.h>

+ Inheritance diagram for TFormFactor:

Public Member Functions

 TFormFactor ()
 
virtual ~TFormFactor ()
 
void SetUnitFF ()
 
void SetDefaultFF ()
 
bool GetFFMode ()
 
void SetNpoints (const unsigned int &i)
 
void Init ()
 
void Init (const double &)
 
std::complex< double > Eval (const double &s)
 
void Print ()
 

Protected Member Functions

virtual std::complex< double > ff (const double &)=0
 

Protected Attributes

unsigned int fNp
 
TRadSplinefsvsr
 
TRadSplinefsvsi
 
bool fUnitFF
 

Detailed Description

Definition at line 7 of file TFormFactor.h.

Constructor & Destructor Documentation

◆ TFormFactor()

TFormFactor::TFormFactor ( )

◆ ~TFormFactor()

virtual TFormFactor::~TFormFactor ( )
virtual

Member Function Documentation

◆ Eval()

std::complex< double > TFormFactor::Eval ( const double &  s)
inline

Definition at line 23 of file TFormFactor.h.

23 {
24 if(fUnitFF) return std::complex<double>(1,0);
25 return std::complex<double>(fsvsr->Eval(s),fsvsi->Eval(s));
26 }
XmlRpcServer s
Definition: HelloServer.cpp:11
TRadSpline * fsvsi
Definition: TFormFactor.h:11
bool fUnitFF
Definition: TFormFactor.h:12
TRadSpline * fsvsr
Definition: TFormFactor.h:10
virtual double Eval(double x) const =0

◆ ff()

virtual std::complex< double > TFormFactor::ff ( const double &  )
protectedpure virtual

Implemented in TKcFormFactor, TKnFormFactor, and TPiFormFactor.

◆ GetFFMode()

bool TFormFactor::GetFFMode ( )
inline

Definition at line 19 of file TFormFactor.h.

19{return fUnitFF;}

◆ Init() [1/2]

void TFormFactor::Init ( )

◆ Init() [2/2]

void TFormFactor::Init ( const double &  )

◆ Print()

void TFormFactor::Print ( )

◆ SetDefaultFF()

void TFormFactor::SetDefaultFF ( )
inline

Definition at line 18 of file TFormFactor.h.

18{fUnitFF = false;}

◆ SetNpoints()

void TFormFactor::SetNpoints ( const unsigned int &  i)
inline

Definition at line 20 of file TFormFactor.h.

20{fNp = i;}
unsigned int fNp
Definition: TFormFactor.h:9

◆ SetUnitFF()

void TFormFactor::SetUnitFF ( )
inline

Definition at line 17 of file TFormFactor.h.

17{fUnitFF = true;}

Member Data Documentation

◆ fNp

unsigned int TFormFactor::fNp
protected

Definition at line 9 of file TFormFactor.h.

Referenced by SetNpoints().

◆ fsvsi

TRadSpline* TFormFactor::fsvsi
protected

Definition at line 11 of file TFormFactor.h.

Referenced by Eval().

◆ fsvsr

TRadSpline* TFormFactor::fsvsr
protected

Definition at line 10 of file TFormFactor.h.

Referenced by Eval().

◆ fUnitFF

bool TFormFactor::fUnitFF
protected

Definition at line 12 of file TFormFactor.h.

Referenced by Eval(), GetFFMode(), SetDefaultFF(), and SetUnitFF().


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