GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
TReaction Class Reference

Definition at line 56 of file TReaction.h.

Public Member Functions

 TReaction (const char *beam, const char *targ, const char *ejec, const char *reco, double beame=0.0, double ex3=0.0, bool inverse=false)
 
void AnalysisAngDist (double ekin, double theta_lab, int part, double &exc, double &theta_cm, double &omega_lab2cm)
 
double AnalysisBeta (double ekin, int part)
 
void Clear (Option_t *opt="") override
 
void ConvertCmToLab (double theta_cm, double omega_cm, double &theta_lab, double &omega_lab, int part=2)
 
void ConvertLabToCm (double theta_lab, double omega_lab, double &theta_cm, double &omega_cm, int part=2)
 
double ConvertOmegaCmToLab (double theta_cm, int part=2)
 
double ConvertOmegaLabToCm (double theta_lab, int part=2)
 
double ConvertThetaCmToLab (double theta_cm, int part=2)
 
double ConvertThetaLabToCm (double theta_lab, int part=2)
 
double GetCmE ()
 
double GetCmG ()
 
double GetCmP ()
 
double GetCmTf ()
 
double GetCmTi ()
 
double GetCmV ()
 
double GetECm (int part)
 
double GetELab (double theta_lab=0.0, int part=0)
 
double GetELabFromThetaCm (double theta_cm=0.0, int part=0)
 
double GetExc ()
 
double GetExcEnergy (double ekin=0.00, double theta_lab=0.00, int part=2)
 
double GetGCm (int part)
 
double GetGLab (double theta_lab=0.0, int part=0)
 
double GetGLabFromThetaCm (double theta_cm=0.0, int part=0)
 
double GetInvariantMass ()
 
double GetM (int part)
 
const char * GetNameFull ()
 
TNucleusGetNucleus (int part)
 
double GetPCm (int part)
 
double GetPLab (double theta_lab=0.0, int part=0)
 
double GetPLabFromThetaCm (double theta_cm=0.0, int part=0)
 
double GetQVal ()
 
double GetRutherfordCm (double theta_cm, int part=2, bool Units_mb=true)
 
double GetRutherfordLab (double theta_lab, int part=2, bool Units_mb=true)
 
double GetTBeam (bool inverse)
 
double GetTCm (int part)
 
double GetThetaMax (int part)
 
double GetTLab (double theta_lab=0.0, int part=0)
 
double GetTLabFromThetaCm (double theta_cm=0.0, int part=0)
 
double GetVBeam ()
 
double GetVCm (int part)
 
double GetVLab (double theta_lab=0.0, int part=0)
 
double GetVLabFromThetaCm (double theta_cm=0.0, int part=0)
 
void InitReaction ()
 
bool Inverse ()
 
TGraph * KinVsTheta (double thmin=0.0, double thmax=180.0, int part=2, bool Frame_Lab=true, bool Units_keV=true)
 
TGraph * OmegaVsTheta (double thmin=0.0, double thmax=180.0, int part=2, bool Frame_Lab=true)
 
void Print (Option_t *opt="") const override
 
TGraph * RutherfordVsTheta (double thmin=1.0, double thmax=179.0, int part=2, bool Frame_Lab=true, bool Units_mb=true)
 
void SetExcEnergy (double exc)
 
TGraph * ThetaVsTheta (double thmin=0.0, double thmax=180.0, int part=2, bool Frame_Lab=true)
 

Private Member Functions

void SetCmFrame (double exc)
 

Private Attributes

double fCmE
 
double fCmG
 
double fCmP
 
double fCmTf
 
double fCmTi
 
double fCmV
 
double fECm [4]
 
double fELab [2]
 
double fExc
 
double fGCm [4]
 
double fGLab [2]
 
double fInvariantMass
 
bool fInverse
 
double fM [4]
 
TNucleusfNuc [4]
 
double fPCm [4]
 
double fPLab [2]
 
double fQVal
 
double fS
 
double fTBeam
 
double fTCm [4]
 
double fThetaMax [4]
 
double fTLab [2]
 
double fVCm [4]
 
double fVLab [2]
 

#include <TReaction.h>

+ Inheritance diagram for TReaction:
+ Collaboration diagram for TReaction:

Constructor & Destructor Documentation

◆ TReaction()

TReaction::TReaction ( const char *  beam,
const char *  targ,
const char *  ejec,
const char *  reco,
double  beame = 0.0,
double  ex3 = 0.0,
bool  inverse = false 
)

Definition at line 12 of file TReaction.cxx.

Member Function Documentation

◆ AnalysisAngDist()

void TReaction::AnalysisAngDist ( double  ekin,
double  theta_lab,
int  part,
double &  exc,
double &  theta_cm,
double &  omega_lab2cm 
)

◆ AnalysisBeta()

double TReaction::AnalysisBeta ( double  ekin,
int  part 
)

Definition at line 200 of file TReaction.cxx.

References fM.

◆ Clear()

void TReaction::Clear ( Option_t *  opt = "")
override

Definition at line 501 of file TReaction.cxx.

References fCmE, fCmG, fCmP, fCmTf, fCmTi, fCmV, fECm, fELab, fGCm, fGLab, fInvariantMass, fInverse, fM, fNuc, fPCm, fPLab, fQVal, fS, fTBeam, fTCm, fThetaMax, fTLab, fVCm, and fVLab.

◆ ConvertCmToLab()

void TReaction::ConvertCmToLab ( double  theta_cm,
double  omega_cm,
double &  theta_lab,
double &  omega_lab,
int  part = 2 
)

Definition at line 311 of file TReaction.cxx.

References ConvertOmegaCmToLab(), and ConvertThetaCmToLab().

◆ ConvertLabToCm()

void TReaction::ConvertLabToCm ( double  theta_lab,
double  omega_lab,
double &  theta_cm,
double &  omega_cm,
int  part = 2 
)

Definition at line 275 of file TReaction.cxx.

References ConvertOmegaLabToCm(), and ConvertThetaLabToCm().

◆ ConvertOmegaCmToLab()

double TReaction::ConvertOmegaCmToLab ( double  theta_cm,
int  part = 2 
)

Definition at line 297 of file TReaction.cxx.

References fCmG, fCmV, fInverse, fVCm, and PI.

Referenced by ConvertCmToLab(), ConvertOmegaLabToCm(), GetRutherfordLab(), OmegaVsTheta(), and RutherfordVsTheta().

◆ ConvertOmegaLabToCm()

double TReaction::ConvertOmegaLabToCm ( double  theta_lab,
int  part = 2 
)

Definition at line 268 of file TReaction.cxx.

References ConvertOmegaCmToLab(), and ConvertThetaLabToCm().

Referenced by AnalysisAngDist(), and ConvertLabToCm().

◆ ConvertThetaCmToLab()

double TReaction::ConvertThetaCmToLab ( double  theta_cm,
int  part = 2 
)

Definition at line 282 of file TReaction.cxx.

References fCmG, fCmV, fInverse, fThetaMax, fVCm, and PI.

Referenced by ConvertCmToLab(), KinVsTheta(), OmegaVsTheta(), RutherfordVsTheta(), and ThetaVsTheta().

◆ ConvertThetaLabToCm()

double TReaction::ConvertThetaLabToCm ( double  theta_lab,
int  part = 2 
)

◆ GetCmE()

double TReaction::GetCmE ( )
inline

Definition at line 75 of file TReaction.h.

References fCmE.

◆ GetCmG()

double TReaction::GetCmG ( )
inline

Definition at line 80 of file TReaction.h.

References fCmG.

◆ GetCmP()

double TReaction::GetCmP ( )
inline

Definition at line 79 of file TReaction.h.

References fCmP.

◆ GetCmTf()

double TReaction::GetCmTf ( )
inline

Definition at line 77 of file TReaction.h.

References fCmTf.

◆ GetCmTi()

double TReaction::GetCmTi ( )
inline

Definition at line 76 of file TReaction.h.

References fCmTi.

◆ GetCmV()

double TReaction::GetCmV ( )
inline

Definition at line 78 of file TReaction.h.

References fCmV.

◆ GetECm()

double TReaction::GetECm ( int  part)
inline

Definition at line 83 of file TReaction.h.

References fECm.

◆ GetELab()

double TReaction::GetELab ( double  theta_lab = 0.0,
int  part = 0 
)
inline

Definition at line 92 of file TReaction.h.

References ConvertThetaLabToCm(), and GetELabFromThetaCm().

◆ GetELabFromThetaCm()

double TReaction::GetELabFromThetaCm ( double  theta_cm = 0.0,
int  part = 0 
)

Definition at line 120 of file TReaction.cxx.

References fCmG, fCmV, fECm, fPCm, and fTLab.

Referenced by GetELab(), GetTLabFromThetaCm(), and GetVLabFromThetaCm().

◆ GetExc()

double TReaction::GetExc ( )
inline

Definition at line 67 of file TReaction.h.

References fExc.

◆ GetExcEnergy()

double TReaction::GetExcEnergy ( double  ekin = 0.00,
double  theta_lab = 0.00,
int  part = 2 
)

Definition at line 171 of file TReaction.cxx.

References fCmG, fCmV, fExc, fM, and fTLab.

Referenced by AnalysisAngDist().

◆ GetGCm()

double TReaction::GetGCm ( int  part)
inline

Definition at line 87 of file TReaction.h.

References fGCm.

◆ GetGLab()

double TReaction::GetGLab ( double  theta_lab = 0.0,
int  part = 0 
)
inline

Definition at line 108 of file TReaction.h.

References ConvertThetaLabToCm(), and GetGLabFromThetaCm().

◆ GetGLabFromThetaCm()

double TReaction::GetGLabFromThetaCm ( double  theta_cm = 0.0,
int  part = 0 
)

Definition at line 161 of file TReaction.cxx.

References fTLab, and GetVLabFromThetaCm().

Referenced by GetGLab().

◆ GetInvariantMass()

double TReaction::GetInvariantMass ( )
inline

Definition at line 74 of file TReaction.h.

References fInvariantMass.

◆ GetM()

double TReaction::GetM ( int  part)
inline

Definition at line 66 of file TReaction.h.

References fM.

◆ GetNameFull()

const char* TReaction::GetNameFull ( )
inline

Definition at line 64 of file TReaction.h.

References fNuc, and fTLab.

◆ GetNucleus()

TNucleus* TReaction::GetNucleus ( int  part)
inline

Definition at line 65 of file TReaction.h.

References fNuc.

◆ GetPCm()

double TReaction::GetPCm ( int  part)
inline

Definition at line 86 of file TReaction.h.

References fPCm.

◆ GetPLab()

double TReaction::GetPLab ( double  theta_lab = 0.0,
int  part = 0 
)
inline

Definition at line 104 of file TReaction.h.

References ConvertThetaLabToCm(), and GetPLabFromThetaCm().

◆ GetPLabFromThetaCm()

double TReaction::GetPLabFromThetaCm ( double  theta_cm = 0.0,
int  part = 0 
)

Definition at line 150 of file TReaction.cxx.

References fCmG, fCmV, fECm, fPCm, and fTLab.

Referenced by GetPLab(), and GetVLabFromThetaCm().

◆ GetQVal()

double TReaction::GetQVal ( )
inline

Definition at line 68 of file TReaction.h.

References fQVal.

◆ GetRutherfordCm()

double TReaction::GetRutherfordCm ( double  theta_cm,
int  part = 2,
bool  Units_mb = true 
)

Definition at line 209 of file TReaction.cxx.

References fNuc, and fTLab.

Referenced by GetRutherfordLab(), and RutherfordVsTheta().

◆ GetRutherfordLab()

double TReaction::GetRutherfordLab ( double  theta_lab,
int  part = 2,
bool  Units_mb = true 
)

Definition at line 227 of file TReaction.cxx.

References ConvertOmegaCmToLab(), ConvertThetaLabToCm(), and GetRutherfordCm().

◆ GetTBeam()

double TReaction::GetTBeam ( bool  inverse)

Definition at line 79 of file TReaction.cxx.

References fGLab, fInverse, fM, and fTLab.

◆ GetTCm()

double TReaction::GetTCm ( int  part)
inline

Definition at line 84 of file TReaction.h.

References fTCm.

◆ GetThetaMax()

double TReaction::GetThetaMax ( int  part)
inline

Definition at line 90 of file TReaction.h.

References fThetaMax.

◆ GetTLab()

double TReaction::GetTLab ( double  theta_lab = 0.0,
int  part = 0 
)
inline

Definition at line 96 of file TReaction.h.

References ConvertThetaLabToCm(), and GetTLabFromThetaCm().

◆ GetTLabFromThetaCm()

double TReaction::GetTLabFromThetaCm ( double  theta_cm = 0.0,
int  part = 0 
)

Definition at line 129 of file TReaction.cxx.

References fM, fTLab, and GetELabFromThetaCm().

Referenced by GetTLab(), and KinVsTheta().

◆ GetVBeam()

double TReaction::GetVBeam ( )
inline

Definition at line 71 of file TReaction.h.

References fVLab.

◆ GetVCm()

double TReaction::GetVCm ( int  part)
inline

Definition at line 85 of file TReaction.h.

References fVCm.

◆ GetVLab()

double TReaction::GetVLab ( double  theta_lab = 0.0,
int  part = 0 
)
inline

Definition at line 100 of file TReaction.h.

References ConvertThetaLabToCm(), and GetVLabFromThetaCm().

◆ GetVLabFromThetaCm()

double TReaction::GetVLabFromThetaCm ( double  theta_cm = 0.0,
int  part = 0 
)

Definition at line 139 of file TReaction.cxx.

References fTLab, GetELabFromThetaCm(), and GetPLabFromThetaCm().

Referenced by GetGLabFromThetaCm(), and GetVLab().

◆ InitReaction()

void TReaction::InitReaction ( )

Definition at line 41 of file TReaction.cxx.

References fCmE, fCmG, fCmP, fCmTf, fCmTi, fCmV, fELab, fExc, fGLab, fInvariantMass, fM, fPLab, fQVal, fS, fTBeam, fTLab, fVLab, and SetCmFrame().

◆ Inverse()

bool TReaction::Inverse ( )
inline

Definition at line 69 of file TReaction.h.

References fInverse.

◆ KinVsTheta()

TGraph * TReaction::KinVsTheta ( double  thmin = 0.0,
double  thmax = 180.0,
int  part = 2,
bool  Frame_Lab = true,
bool  Units_keV = true 
)

Definition at line 322 of file TReaction.cxx.

References ConvertThetaCmToLab(), D2R, GetTLabFromThetaCm(), and R2D.

◆ OmegaVsTheta()

TGraph * TReaction::OmegaVsTheta ( double  thmin = 0.0,
double  thmax = 180.0,
int  part = 2,
bool  Frame_Lab = true 
)

Definition at line 390 of file TReaction.cxx.

References ConvertOmegaCmToLab(), ConvertThetaCmToLab(), D2R, and R2D.

◆ Print()

void TReaction::Print ( Option_t *  opt = "") const
override

◆ RutherfordVsTheta()

TGraph * TReaction::RutherfordVsTheta ( double  thmin = 1.0,
double  thmax = 179.0,
int  part = 2,
bool  Frame_Lab = true,
bool  Units_mb = true 
)

Definition at line 421 of file TReaction.cxx.

References ConvertOmegaCmToLab(), ConvertThetaCmToLab(), D2R, GetRutherfordCm(), and R2D.

◆ SetCmFrame()

void TReaction::SetCmFrame ( double  exc)
private

Definition at line 87 of file TReaction.cxx.

References fCmG, fCmV, fECm, fGCm, fM, fPCm, fS, fTCm, fThetaMax, fVCm, and PI.

Referenced by AnalysisAngDist(), InitReaction(), and SetExcEnergy().

◆ SetExcEnergy()

void TReaction::SetExcEnergy ( double  exc)
inline

Definition at line 158 of file TReaction.h.

References SetCmFrame().

◆ ThetaVsTheta()

TGraph * TReaction::ThetaVsTheta ( double  thmin = 0.0,
double  thmax = 180.0,
int  part = 2,
bool  Frame_Lab = true 
)

Definition at line 357 of file TReaction.cxx.

References ConvertThetaCmToLab(), D2R, and R2D.

Member Data Documentation

◆ fCmE

double TReaction::fCmE
private

Definition at line 176 of file TReaction.h.

Referenced by Clear(), GetCmE(), InitReaction(), and Print().

◆ fCmG

◆ fCmP

double TReaction::fCmP
private

Definition at line 178 of file TReaction.h.

Referenced by Clear(), GetCmP(), InitReaction(), and Print().

◆ fCmTf

double TReaction::fCmTf
private

Definition at line 175 of file TReaction.h.

Referenced by Clear(), GetCmTf(), InitReaction(), and Print().

◆ fCmTi

double TReaction::fCmTi
private

Definition at line 174 of file TReaction.h.

Referenced by Clear(), GetCmTi(), InitReaction(), and Print().

◆ fCmV

◆ fECm

double TReaction::fECm[4]
private

Definition at line 183 of file TReaction.h.

Referenced by Clear(), GetECm(), GetELabFromThetaCm(), GetPLabFromThetaCm(), Print(), and SetCmFrame().

◆ fELab

double TReaction::fELab[2]
private

Definition at line 191 of file TReaction.h.

Referenced by Clear(), InitReaction(), and Print().

◆ fExc

double TReaction::fExc
private

Definition at line 167 of file TReaction.h.

Referenced by AnalysisAngDist(), GetExc(), GetExcEnergy(), and InitReaction().

◆ fGCm

double TReaction::fGCm[4]
private

Definition at line 186 of file TReaction.h.

Referenced by Clear(), GetGCm(), Print(), and SetCmFrame().

◆ fGLab

double TReaction::fGLab[2]
private

Definition at line 194 of file TReaction.h.

Referenced by Clear(), GetTBeam(), InitReaction(), and Print().

◆ fInvariantMass

double TReaction::fInvariantMass
private

Definition at line 173 of file TReaction.h.

Referenced by Clear(), GetInvariantMass(), and InitReaction().

◆ fInverse

bool TReaction::fInverse
private

◆ fM

double TReaction::fM[4]
private

◆ fNuc

TNucleus* TReaction::fNuc[4]
private

Definition at line 164 of file TReaction.h.

Referenced by Clear(), GetNameFull(), GetNucleus(), GetRutherfordCm(), and Print().

◆ fPCm

double TReaction::fPCm[4]
private

Definition at line 184 of file TReaction.h.

Referenced by Clear(), GetELabFromThetaCm(), GetPCm(), GetPLabFromThetaCm(), Print(), and SetCmFrame().

◆ fPLab

double TReaction::fPLab[2]
private

Definition at line 192 of file TReaction.h.

Referenced by Clear(), InitReaction(), and Print().

◆ fQVal

double TReaction::fQVal
private

Definition at line 171 of file TReaction.h.

Referenced by Clear(), GetQVal(), InitReaction(), and Print().

◆ fS

double TReaction::fS
private

Definition at line 172 of file TReaction.h.

Referenced by Clear(), InitReaction(), and SetCmFrame().

◆ fTBeam

double TReaction::fTBeam
private

Definition at line 165 of file TReaction.h.

Referenced by Clear(), InitReaction(), and Print().

◆ fTCm

double TReaction::fTCm[4]
private

Definition at line 182 of file TReaction.h.

Referenced by Clear(), GetTCm(), Print(), and SetCmFrame().

◆ fThetaMax

double TReaction::fThetaMax[4]
private

◆ fTLab

◆ fVCm

double TReaction::fVCm[4]
private

◆ fVLab

double TReaction::fVLab[2]
private

Definition at line 193 of file TReaction.h.

Referenced by Clear(), GetVBeam(), InitReaction(), and Print().