GamR  0.0.0
GammaROOT
Loading...
Searching...
No Matches
GamR::Coulex::CoulexCalculation Class Reference

#include <CoulexCalculation.hh>

+ Collaboration diagram for GamR::Coulex::CoulexCalculation:

Public Member Functions

void SetBeam (int Z, float A, float energy)
 
void SetBeam (std::string isotope, float energy)
 
void SetTarget (int Z, float A, float density, float thickness)
 
void SetTarget (std::string isotope, float density, float thickness)
 
void SetDetected (Species detected)
 
void SetExcited (Species excited)
 
void SetParticleDet (float width, float height, float z, float r)
 
void SetInterests (int loi, int toi)
 
int ReadFromFile (std::string file_name="Wtheta.ans")
 
void SaveToFile (std::string file_name="Wtheta.ans")
 
void SetBeam ()
 
void SetTarget ()
 
void SetDetected ()
 
void SetExcited ()
 
void SetLevelScheme ()
 
void SetInterests ()
 
void SetParticleDet ()
 
void ExperimentalSetup ()
 
void Print ()
 
GamR::AngDist::StatTensorCalcTensor ()
 

Public Attributes

Nucleus fBeam
 
Target fTarget
 
Species fDetected = Species::kNone
 
Species fExcited = Species::kNone
 
float fBeamEnergy
 
LevelScheme fLevelScheme
 
ParticleDetector fParticleDetector
 
int fLevelOfInterest
 
int fTransitionOfInterest
 

Detailed Description

Definition at line 154 of file CoulexCalculation.hh.

Member Function Documentation

◆ CalcTensor()

GamR::AngDist::StatTensor * GamR::Coulex::CoulexCalculation::CalcTensor ( )

Calculates the statistical tensor for the state of interest following Coulex Excitation

Returns
statistical tensor of state of interest

Definition at line 939 of file CoulexCalculation.cc.

References GamR::Coulex::Eldat, GamR::Coulex::ELoss(), fBeam, fBeamEnergy, fDetected, fExcited, fLevelOfInterest, fLevelScheme, fParticleDetector, fTarget, GamR::Coulex::GP_AC_Tensors(), GamR::Coulex::Kinematics(), GamR::Coulex::kProjectile, GamR::Coulex::kTarget, GamR::Coulex::loadSCOEF(), GamR::Coulex::rad2deg, GamR::Coulex::SCOEFloaded, GamR::AngDist::StatTensor::Set(), GamR::Coulex::setupcoulex(), GamR::Utils::Simps(), and GamR::Coulex::xcmlr().

Referenced by GamR::Coulex::DoCoulex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ExperimentalSetup()

void GamR::Coulex::CoulexCalculation::ExperimentalSetup ( )

Set all information through interactive CLI interface. Defaults are existing data

Definition at line 890 of file CoulexCalculation.cc.

References SetBeam(), SetDetected(), SetExcited(), SetInterests(), SetLevelScheme(), SetParticleDet(), and SetTarget().

Referenced by GamR::Coulex::DoCoulex(), and GamR::Coulex::ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Print()

void GamR::Coulex::CoulexCalculation::Print ( )

Print experiment summary

Definition at line 903 of file CoulexCalculation.cc.

References ANSI_COLOR_BLUE, ANSI_COLOR_RESET, fBeam, fBeamEnergy, fDetected, fExcited, fLevelOfInterest, fLevelScheme, fParticleDetector, fTarget, fTransitionOfInterest, GamR::TK::GetElement(), and GamR::Coulex::kTarget.

Referenced by GamR::Coulex::DoCoulex(), and GamR::Coulex::ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReadFromFile()

int GamR::Coulex::CoulexCalculation::ReadFromFile ( std::string file_name = "Wtheta.ans")

Read experimental information from a text "*.ans" file

Parameters
file_nameFile to read
Returns
<0 means an error, 0 is success

Definition at line 570 of file CoulexCalculation.cc.

References GamR::Utils::catcherr(), GamR::Coulex::Eldat, fBeam, fBeamEnergy, fDetected, fExcited, fLevelOfInterest, fLevelScheme, fParticleDetector, fTarget, fTransitionOfInterest, GamR::Utils::getline(), GamR::TK::GetZA(), GamR::Coulex::kProjectile, GamR::Coulex::kTarget, GamR::Coulex::loadSCOEF(), and GamR::Coulex::SCOEFloaded.

Referenced by GamR::Coulex::DoCoulex(), and GamR::Coulex::ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveToFile()

void GamR::Coulex::CoulexCalculation::SaveToFile ( std::string file_name = "Wtheta.ans")

Save experimental details to a "*.ans" text file

Parameters
file_nameFile name to save to. Existing file will be overwritten

Definition at line 849 of file CoulexCalculation.cc.

References fBeam, fBeamEnergy, fDetected, GamR::Coulex::Level::fEnergy, fExcited, GamR::Coulex::Transition::fFinal, GamR::Coulex::Level::fIndex, GamR::Coulex::Transition::fInitial, fLevelOfInterest, fLevelScheme, GamR::Coulex::Transition::fMult, fParticleDetector, fTarget, fTransitionOfInterest, GamR::Coulex::Transition::GetBUp(), GamR::TK::GetElement(), GamR::Coulex::kTarget, and GamR::Coulex::Level::PrintSP().

Referenced by GamR::Coulex::DoCoulex(), and GamR::Coulex::ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBeam() [1/3]

void GamR::Coulex::CoulexCalculation::SetBeam ( )

Set the beam details through an interactive CLI

Definition at line 308 of file CoulexCalculation.cc.

References GamR::Coulex::Eldat, fBeam, fBeamEnergy, GamR::TK::GetElement(), GamR::Utils::GetInput(), GamR::TK::GetZA(), GamR::Coulex::loadSCOEF(), and GamR::Coulex::SCOEFloaded.

Referenced by ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBeam() [2/3]

void GamR::Coulex::CoulexCalculation::SetBeam ( int Z,
float A,
float energy )
inline

Definition at line 166 of file CoulexCalculation.hh.

References fBeam, and fBeamEnergy.

◆ SetBeam() [3/3]

void GamR::Coulex::CoulexCalculation::SetBeam ( std::string isotope,
float energy )
inline

Definition at line 167 of file CoulexCalculation.hh.

References GamR::TK::GetZA(), and SetBeam().

Referenced by SetBeam().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDetected() [1/2]

void GamR::Coulex::CoulexCalculation::SetDetected ( )

Set the details about which species is detected through an interactive CLI interface

Definition at line 375 of file CoulexCalculation.cc.

References fDetected, GamR::Coulex::kProjectile, and GamR::Coulex::kTarget.

Referenced by ExperimentalSetup().

+ Here is the caller graph for this function:

◆ SetDetected() [2/2]

void GamR::Coulex::CoulexCalculation::SetDetected ( Species detected)
inline

Definition at line 171 of file CoulexCalculation.hh.

References fDetected.

◆ SetExcited() [1/2]

void GamR::Coulex::CoulexCalculation::SetExcited ( )

Set the details about which species is excited through an interactive CLI interface

Definition at line 399 of file CoulexCalculation.cc.

References fExcited, GamR::Coulex::kProjectile, and GamR::Coulex::kTarget.

Referenced by ExperimentalSetup().

+ Here is the caller graph for this function:

◆ SetExcited() [2/2]

void GamR::Coulex::CoulexCalculation::SetExcited ( Species excited)
inline

Definition at line 172 of file CoulexCalculation.hh.

References fExcited.

◆ SetInterests() [1/2]

void GamR::Coulex::CoulexCalculation::SetInterests ( )

Set level and transition of interest through an interactive CLI interface

Definition at line 533 of file CoulexCalculation.cc.

References fLevelOfInterest, fTransitionOfInterest, and GamR::Utils::GetInput().

Referenced by ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInterests() [2/2]

void GamR::Coulex::CoulexCalculation::SetInterests ( int loi,
int toi )
inline

Definition at line 175 of file CoulexCalculation.hh.

References fLevelOfInterest, and fTransitionOfInterest.

◆ SetLevelScheme()

void GamR::Coulex::CoulexCalculation::SetLevelScheme ( )

Set the level scheme through an interactive CLI interface

Definition at line 423 of file CoulexCalculation.cc.

References GamR::Coulex::Level::fEnergy, GamR::Coulex::Transition::fFinal, GamR::Coulex::Level::fIndex, GamR::Coulex::Transition::fInitial, fLevelScheme, GamR::Coulex::Transition::fMult, GamR::Coulex::Level::fName, GamR::Coulex::Level::fParity, GamR::Coulex::Level::fSpin, GamR::Coulex::Transition::GetBUp(), GamR::Utils::GetInput(), GamR::Coulex::Transition::SetBUp(), and sp().

Referenced by ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetParticleDet() [1/2]

void GamR::Coulex::CoulexCalculation::SetParticleDet ( )

Definition at line 545 of file CoulexCalculation.cc.

References GamR::Coulex::DrawSetup(), fParticleDetector, and GamR::Utils::GetInput().

Referenced by ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetParticleDet() [2/2]

void GamR::Coulex::CoulexCalculation::SetParticleDet ( float width,
float height,
float z,
float r )
inline

Definition at line 173 of file CoulexCalculation.hh.

References fParticleDetector.

◆ SetTarget() [1/3]

void GamR::Coulex::CoulexCalculation::SetTarget ( )

Set the target details through an interactive CLI

Definition at line 340 of file CoulexCalculation.cc.

References GamR::Coulex::Eldat, fTarget, GamR::TK::GetElement(), GamR::Utils::GetInput(), GamR::TK::GetZA(), GamR::Coulex::loadSCOEF(), and GamR::Coulex::SCOEFloaded.

Referenced by ExperimentalSetup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetTarget() [2/3]

void GamR::Coulex::CoulexCalculation::SetTarget ( int Z,
float A,
float density,
float thickness )
inline

Definition at line 169 of file CoulexCalculation.hh.

References fTarget.

◆ SetTarget() [3/3]

void GamR::Coulex::CoulexCalculation::SetTarget ( std::string isotope,
float density,
float thickness )
inline

Definition at line 170 of file CoulexCalculation.hh.

References GamR::TK::GetZA(), and SetTarget().

Referenced by SetTarget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fBeam

Nucleus GamR::Coulex::CoulexCalculation::fBeam

Definition at line 156 of file CoulexCalculation.hh.

Referenced by CalcTensor(), Print(), ReadFromFile(), SaveToFile(), SetBeam(), and SetBeam().

◆ fBeamEnergy

float GamR::Coulex::CoulexCalculation::fBeamEnergy

Definition at line 160 of file CoulexCalculation.hh.

Referenced by CalcTensor(), Print(), ReadFromFile(), SaveToFile(), SetBeam(), and SetBeam().

◆ fDetected

Species GamR::Coulex::CoulexCalculation::fDetected = Species::kNone

◆ fExcited

Species GamR::Coulex::CoulexCalculation::fExcited = Species::kNone

◆ fLevelOfInterest

int GamR::Coulex::CoulexCalculation::fLevelOfInterest

◆ fLevelScheme

LevelScheme GamR::Coulex::CoulexCalculation::fLevelScheme

Definition at line 161 of file CoulexCalculation.hh.

Referenced by CalcTensor(), Print(), ReadFromFile(), SaveToFile(), and SetLevelScheme().

◆ fParticleDetector

ParticleDetector GamR::Coulex::CoulexCalculation::fParticleDetector

◆ fTarget

Target GamR::Coulex::CoulexCalculation::fTarget

Definition at line 157 of file CoulexCalculation.hh.

Referenced by CalcTensor(), Print(), ReadFromFile(), SaveToFile(), SetTarget(), and SetTarget().

◆ fTransitionOfInterest

int GamR::Coulex::CoulexCalculation::fTransitionOfInterest

Definition at line 164 of file CoulexCalculation.hh.

Referenced by Print(), ReadFromFile(), SaveToFile(), SetInterests(), and SetInterests().


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