PandaRoot
CRes Class Reference

#include <CRes.h>

Public Member Functions

 CRes ()
 
 CRes (Double_t m0, Double_t G0, Double_t m1, Double_t m2, Double_t Amp=1.0, Double_t Ph=0., Int_t J=0)
 
void Set (Double_t m0, Double_t G0, Double_t m1, Double_t m2, Double_t Amp=1.0, Double_t Ph=0., Int_t J=0)
 
Double_t GetM0 ()
 
Double_t GetG0 ()
 
Double_t GetAmp ()
 
Double_t GetPh ()
 
Int_t GetJ ()
 
Double_t GetQ0 ()
 
Bool_t GetState ()
 
void SetState (Bool_t st)
 
void SetM0 (Double_t m0)
 
void SetG0 (Double_t G0)
 
void SetAmp (Double_t Amp)
 
void SetPh (Double_t Ph)
 
void SetJ (Int_t J)
 
TComplex GetCoeff ()
 
void SetCacheLen (Int_t n)
 
Int_t GetCacheLen ()
 
void SetCache (Int_t i, TComplex c)
 
TComplex GetCache (Int_t i)
 
Bool_t IsCacheValid ()
 
void SetCacheValid (Bool_t v)
 

Detailed Description

Definition at line 21 of file CRes.h.

Constructor & Destructor Documentation

◆ CRes() [1/2]

CRes::CRes ( )

◆ CRes() [2/2]

CRes::CRes ( Double_t  m0,
Double_t  G0,
Double_t  m1,
Double_t  m2,
Double_t  Amp = 1.0,
Double_t  Ph = 0.,
Int_t  J = 0 
)

Member Function Documentation

◆ GetAmp()

Double_t CRes::GetAmp ( )
inline

Definition at line 30 of file CRes.h.

30 { return fAmp; }

◆ GetCache()

TComplex CRes::GetCache ( Int_t  i)
inline

Definition at line 51 of file CRes.h.

51 { return TComplex(fCacheRe[i], fCacheIm[i]); }
unsigned int i
Definition: P4_F32vec4.h:21

◆ GetCacheLen()

Int_t CRes::GetCacheLen ( )
inline

Definition at line 48 of file CRes.h.

References i, and SetCache().

48 { return fnCache; }

◆ GetCoeff()

TComplex CRes::GetCoeff ( )
inline

Definition at line 45 of file CRes.h.

References SetCacheLen().

Referenced by KinTools::getAmp(), and KinTools::getAmpEvt().

45 { return TComplex(fAmp, fPh, true); }

◆ GetG0()

Double_t CRes::GetG0 ( )
inline

Definition at line 29 of file CRes.h.

Referenced by KinTools::getAmp(), and KinTools::getAmpEvt().

29 { return fG0; }

◆ GetJ()

Int_t CRes::GetJ ( )
inline

Definition at line 32 of file CRes.h.

Referenced by KinTools::getAmp(), and KinTools::getAmpEvt().

32 { return fJ; }

◆ GetM0()

Double_t CRes::GetM0 ( )
inline

Definition at line 28 of file CRes.h.

Referenced by KinTools::getAmp(), and KinTools::getAmpEvt().

28 { return fm0; }

◆ GetPh()

Double_t CRes::GetPh ( )
inline

Definition at line 31 of file CRes.h.

31 { return fPh; }

◆ GetQ0()

Double_t CRes::GetQ0 ( )
inline

Definition at line 34 of file CRes.h.

34 { return fq0; }

◆ GetState()

Bool_t CRes::GetState ( )
inline

Definition at line 36 of file CRes.h.

36 { return fOn; }

◆ IsCacheValid()

Bool_t CRes::IsCacheValid ( )
inline

Definition at line 53 of file CRes.h.

53 { return fCacheValid; }

◆ Set()

void CRes::Set ( Double_t  m0,
Double_t  G0,
Double_t  m1,
Double_t  m2,
Double_t  Amp = 1.0,
Double_t  Ph = 0.,
Int_t  J = 0 
)

◆ SetAmp()

void CRes::SetAmp ( Double_t  Amp)
inline

Definition at line 41 of file CRes.h.

41 { fAmp = Amp; }

◆ SetCache()

void CRes::SetCache ( Int_t  i,
TComplex  c 
)

Referenced by GetCacheLen().

◆ SetCacheLen()

void CRes::SetCacheLen ( Int_t  n)

Referenced by GetCoeff().

◆ SetCacheValid()

void CRes::SetCacheValid ( Bool_t  v)
inline

Definition at line 54 of file CRes.h.

References v.

54 { fCacheValid = v; }
__m128 v
Definition: P4_F32vec4.h:3

◆ SetG0()

void CRes::SetG0 ( Double_t  G0)
inline

Definition at line 40 of file CRes.h.

40 { fG0 = G0; }

◆ SetJ()

void CRes::SetJ ( Int_t  J)
inline

Definition at line 43 of file CRes.h.

43 { fJ = J; }

◆ SetM0()

void CRes::SetM0 ( Double_t  m0)
inline

Definition at line 39 of file CRes.h.

39 { fm0 = m0; }

◆ SetPh()

void CRes::SetPh ( Double_t  Ph)
inline

Definition at line 42 of file CRes.h.

42 { fPh = Ph; }

◆ SetState()

void CRes::SetState ( Bool_t  st)
inline

Definition at line 37 of file CRes.h.

37 { fOn = st; }

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