KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVLevelScheme Class Reference

Detailed Description

Tool to simulate nucleus multi-particle decay.

Created by KVClassFactory on Fri Nov 20 12:23:35 2015 Author: gruyer,,,

Note
the default energy unit here is keV and not MeV

Definition at line 24 of file KVLevelScheme.h.

#include <KVLevelScheme.h>

Public Member Functions

 KVLevelScheme (const char *symb)
 Default constructor.
 
virtual ~KVLevelScheme ()
 Destructor.
 
void AddResonance (Double_t ex, const char *jpi, const char *gam)
 
void Draw (Option_t *option="")
 
void DrawThreshold (const char *symb, Option_t *option="", double ex=0.)
 
double Evaluate (double *x, double *p)
 
double EvaluateErel (double *x, double *p)
 
const char * GetEGammaStr (int il)
 
Double_t GetErelFromExci (Double_t ex)
 
TF1GetErelSpectrum ()
 
Double_t GetExciFromErel (Double_t erel)
 
TF1GetExciSpectrum ()
 
const char * GetJPiStr (int il)
 
Double_t GetLevelEnergy (int il)
 
Int_t GetLevelParity (int il)
 
Int_t GetLevelSpin (int il)
 
Double_t GetLevelWidth (int il)
 
Int_t GetNLevels ()
 
Double_t GetQvalue ()
 
void GetRandomParticles (KVNucleus *n1, KVNucleus *n2, double T, bool randAngle=0, TVector3 *vsrc=0)
 
double GetThreshold (const char *outnuc="")
 
void InitStructure ()
 
void Print ()
 
void ReadLevels (const char *file)
 
void SetDecayProduct (KVNucleus *nuc, double excit_energy=0)
 
void SetDrawStyle (double deMin=300., double fullWidth=1.3, double lineWidth=0.6, int textSize=22)
 

Static Public Member Functions

static void GetParticlesFromErel (KVNucleus *n1, KVNucleus *n2, double erel, bool randAngle=0, TVector3 *vsrc=0)
 
static void GetParticlesFromExci (KVNucleus *n1, KVNucleus *n2, double erel, bool randAngle=0, TVector3 *vsrc=0)
 

Public Attributes

TCanvascc
 
double ddx
 
double dx
 
double dy
 
KVNucleusfCompNuc
 
KVNucleusfDecayProd
 
TF1fFunc
 
TF1fFuncErel
 
KVList fLevels
 
Double_t fQvalue
 
TH2Fhh
 
int ncol
 
int txs
 

Private Member Functions

double func (double xx, double tt)
 
int getJ (TString jpi)
 
int getPI (TString jpi)
 
double getWidth (double gam, TString unit)
 

Constructor & Destructor Documentation

◆ KVLevelScheme()

KVLevelScheme::KVLevelScheme ( const char *  symb)

Default constructor.

Definition at line 21 of file KVLevelScheme.cpp.

◆ ~KVLevelScheme()

KVLevelScheme::~KVLevelScheme ( )
virtual

Destructor.

Definition at line 49 of file KVLevelScheme.cpp.

Member Function Documentation

◆ AddResonance()

void KVLevelScheme::AddResonance ( Double_t  ex,
const char *  jpi,
const char *  gam 
)

Definition at line 127 of file KVLevelScheme.cpp.

◆ Draw()

void KVLevelScheme::Draw ( Option_t option = "")

Definition at line 396 of file KVLevelScheme.cpp.

◆ DrawThreshold()

void KVLevelScheme::DrawThreshold ( const char *  symb,
Option_t option = "",
double  ex = 0. 
)

Definition at line 486 of file KVLevelScheme.cpp.

◆ Evaluate()

double KVLevelScheme::Evaluate ( double *  x,
double *  p 
)

Definition at line 298 of file KVLevelScheme.cpp.

◆ EvaluateErel()

double KVLevelScheme::EvaluateErel ( double *  x,
double *  p 
)

Definition at line 309 of file KVLevelScheme.cpp.

◆ func()

double KVLevelScheme::func ( double  xx,
double  tt 
)
private

Definition at line 157 of file KVLevelScheme.cpp.

◆ GetEGammaStr()

const char * KVLevelScheme::GetEGammaStr ( int  il)

Definition at line 258 of file KVLevelScheme.cpp.

◆ GetErelFromExci()

Double_t KVLevelScheme::GetErelFromExci ( Double_t  ex)
inline

Definition at line 71 of file KVLevelScheme.h.

◆ GetErelSpectrum()

TF1 * KVLevelScheme::GetErelSpectrum ( )
inline

Definition at line 88 of file KVLevelScheme.h.

◆ GetExciFromErel()

Double_t KVLevelScheme::GetExciFromErel ( Double_t  erel)
inline

Definition at line 75 of file KVLevelScheme.h.

◆ GetExciSpectrum()

TF1 * KVLevelScheme::GetExciSpectrum ( )
inline

Definition at line 84 of file KVLevelScheme.h.

◆ getJ()

int KVLevelScheme::getJ ( TString  jpi)
private

Definition at line 186 of file KVLevelScheme.cpp.

◆ GetJPiStr()

const char * KVLevelScheme::GetJPiStr ( int  il)

Definition at line 249 of file KVLevelScheme.cpp.

◆ GetLevelEnergy()

Double_t KVLevelScheme::GetLevelEnergy ( int  il)

Definition at line 209 of file KVLevelScheme.cpp.

◆ GetLevelParity()

Int_t KVLevelScheme::GetLevelParity ( int  il)

Definition at line 239 of file KVLevelScheme.cpp.

◆ GetLevelSpin()

Int_t KVLevelScheme::GetLevelSpin ( int  il)

Definition at line 229 of file KVLevelScheme.cpp.

◆ GetLevelWidth()

Double_t KVLevelScheme::GetLevelWidth ( int  il)

Definition at line 219 of file KVLevelScheme.cpp.

◆ GetNLevels()

Int_t KVLevelScheme::GetNLevels ( )
inline

Definition at line 48 of file KVLevelScheme.h.

◆ GetParticlesFromErel()

void KVLevelScheme::GetParticlesFromErel ( KVNucleus n1,
KVNucleus n2,
double  erel,
bool  randAngle = 0,
TVector3 vsrc = 0 
)
static

Definition at line 320 of file KVLevelScheme.cpp.

◆ GetParticlesFromExci()

void KVLevelScheme::GetParticlesFromExci ( KVNucleus n1,
KVNucleus n2,
double  erel,
bool  randAngle = 0,
TVector3 vsrc = 0 
)
static

Definition at line 360 of file KVLevelScheme.cpp.

◆ getPI()

int KVLevelScheme::getPI ( TString  jpi)
private

Definition at line 271 of file KVLevelScheme.cpp.

◆ GetQvalue()

Double_t KVLevelScheme::GetQvalue ( )
inline

Definition at line 67 of file KVLevelScheme.h.

◆ GetRandomParticles()

void KVLevelScheme::GetRandomParticles ( KVNucleus n1,
KVNucleus n2,
double  T,
bool  randAngle = 0,
TVector3 vsrc = 0 
)

Definition at line 371 of file KVLevelScheme.cpp.

◆ GetThreshold()

double KVLevelScheme::GetThreshold ( const char *  outnuc = "")

Definition at line 550 of file KVLevelScheme.cpp.

◆ getWidth()

double KVLevelScheme::getWidth ( double  gam,
TString  unit 
)
private

Definition at line 172 of file KVLevelScheme.cpp.

◆ InitStructure()

void KVLevelScheme::InitStructure ( )

Definition at line 59 of file KVLevelScheme.cpp.

◆ Print()

void KVLevelScheme::Print ( )

Definition at line 138 of file KVLevelScheme.cpp.

◆ ReadLevels()

void KVLevelScheme::ReadLevels ( const char *  file)

Definition at line 70 of file KVLevelScheme.cpp.

◆ SetDecayProduct()

void KVLevelScheme::SetDecayProduct ( KVNucleus nuc,
double  excit_energy = 0 
)

Definition at line 562 of file KVLevelScheme.cpp.

◆ SetDrawStyle()

void KVLevelScheme::SetDrawStyle ( double  deMin = 300.,
double  fullWidth = 1.3,
double  lineWidth = 0.6,
int  textSize = 22 
)

Definition at line 384 of file KVLevelScheme.cpp.

Member Data Documentation

◆ cc

TCanvas* KVLevelScheme::cc

Definition at line 38 of file KVLevelScheme.h.

◆ ddx

double KVLevelScheme::ddx

Definition at line 35 of file KVLevelScheme.h.

◆ dx

double KVLevelScheme::dx

Definition at line 34 of file KVLevelScheme.h.

◆ dy

double KVLevelScheme::dy

Definition at line 36 of file KVLevelScheme.h.

◆ fCompNuc

KVNucleus * KVLevelScheme::fCompNuc

Definition at line 26 of file KVLevelScheme.h.

◆ fDecayProd

KVNucleus* KVLevelScheme::fDecayProd

Definition at line 26 of file KVLevelScheme.h.

◆ fFunc

TF1* KVLevelScheme::fFunc

Definition at line 30 of file KVLevelScheme.h.

◆ fFuncErel

TF1 * KVLevelScheme::fFuncErel

Definition at line 30 of file KVLevelScheme.h.

◆ fLevels

KVList KVLevelScheme::fLevels

Definition at line 29 of file KVLevelScheme.h.

◆ fQvalue

Double_t KVLevelScheme::fQvalue

Definition at line 27 of file KVLevelScheme.h.

◆ hh

TH2F* KVLevelScheme::hh

Definition at line 37 of file KVLevelScheme.h.

◆ ncol

int KVLevelScheme::ncol

Definition at line 32 of file KVLevelScheme.h.

◆ txs

int KVLevelScheme::txs

Definition at line 33 of file KVLevelScheme.h.