BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
TVacuumPol Class Reference

#include <TVacuumPol.h>

Public Member Functions

 TVacuumPol ()
 
 ~TVacuumPol ()
 
void Init (std::string, std::string)
 
void SetZeroVP ()
 
void SetDefaultVP ()
 
bool GetVacuumPolarization ()
 
std::complex< double > Evals (const double &s)
 
std::complex< double > Evalt (const double &t)
 

Protected Member Functions

void ReadVacuumPolData (std::string)
 

Protected Attributes

TRadSplinefsvtr
 
TRadSplinefsvsr
 
TRadSplinefsvsi
 
bool fNoVP
 
bool fReadSuccessfullyVP
 

Detailed Description

Definition at line 8 of file TVacuumPol.h.

Constructor & Destructor Documentation

◆ TVacuumPol()

TVacuumPol::TVacuumPol ( )

◆ ~TVacuumPol()

TVacuumPol::~TVacuumPol ( )

Member Function Documentation

◆ Evals()

std::complex< double > TVacuumPol::Evals ( const double &  s)
inline

Definition at line 23 of file TVacuumPol.h.

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

◆ Evalt()

std::complex< double > TVacuumPol::Evalt ( const double &  t)
inline

Definition at line 27 of file TVacuumPol.h.

27 {
28 if(fNoVP) return std::complex<double>(1,0);
29 return std::complex<double>(fsvtr->Eval(fabs(t)),0.);
30 }
TTree * t
Definition: binning.cxx:23
TRadSpline * fsvtr
Definition: TVacuumPol.h:10

◆ GetVacuumPolarization()

bool TVacuumPol::GetVacuumPolarization ( )
inline

Definition at line 22 of file TVacuumPol.h.

22{return fNoVP;}

◆ Init()

void TVacuumPol::Init ( std::string  ,
std::string   
)

◆ ReadVacuumPolData()

void TVacuumPol::ReadVacuumPolData ( std::string  )
protected

◆ SetDefaultVP()

void TVacuumPol::SetDefaultVP ( )
inline

Definition at line 21 of file TVacuumPol.h.

bool fReadSuccessfullyVP
Definition: TVacuumPol.h:14

◆ SetZeroVP()

void TVacuumPol::SetZeroVP ( )
inline

Definition at line 20 of file TVacuumPol.h.

20{fNoVP = true;}

Member Data Documentation

◆ fNoVP

bool TVacuumPol::fNoVP
protected

Definition at line 13 of file TVacuumPol.h.

Referenced by Evals(), Evalt(), GetVacuumPolarization(), SetDefaultVP(), and SetZeroVP().

◆ fReadSuccessfullyVP

bool TVacuumPol::fReadSuccessfullyVP
protected

Definition at line 14 of file TVacuumPol.h.

Referenced by SetDefaultVP().

◆ fsvsi

TRadSpline* TVacuumPol::fsvsi
protected

Definition at line 12 of file TVacuumPol.h.

Referenced by Evals().

◆ fsvsr

TRadSpline* TVacuumPol::fsvsr
protected

Definition at line 11 of file TVacuumPol.h.

Referenced by Evals().

◆ fsvtr

TRadSpline* TVacuumPol::fsvtr
protected

Definition at line 10 of file TVacuumPol.h.

Referenced by Evalt().


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