RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
woodsSaxonForce Class Reference

Woods-Saxon potential (nucleus-nucleus optical potential, real part). More...

#include <force.hpp>

Inheritance diagram for woodsSaxonForce:
force

Public Member Functions

 woodsSaxonForce (Double_t V0_=0.0536772, Double_t R_=8.886, Double_t a_=0.65)
 Make the force.
 
TVector3 Evaluate (particle *p1_, particle *p2_)
 Woods-Saxon force on p1_ by p2_ (amu c^2/fm).
 
Double_t Potential (particle *p1_, particle *p2_)
 Woods-Saxon potential energy of the pair (amu c^2).
 
void SetDepth (Double_t V0_)
 Set the depth V0 in amu c^2.
 
Double_t GetDepth ()
 The depth V0 in amu c^2.
 
void SetRadius (Double_t R_)
 Set the radius R in fm.
 
Double_t GetRadius ()
 The radius R in fm.
 
void SetDiffuseness (Double_t a_)
 Set the diffuseness a in fm.
 
Double_t GetDiffuseness ()
 The diffuseness a in fm.
 
- Public Member Functions inherited from force
virtual ~force ()
 Virtual : a force deleted through force* must run the subclass destructor.
 

Protected Attributes

Double_t V0 = 0.0536772
 depth in amu c^2
 
Double_t R = 8.886
 radius in fm
 
Double_t a = 0.65
 diffuseness in fm
 

Additional Inherited Members

- Protected Member Functions inherited from force
 force ()
 Only subclasses can be made.
 

Detailed Description

Woods-Saxon potential (nucleus-nucleus optical potential, real part).

\[ U = -\frac{V_0}{1 + e^{(r-R)/a}} \]

The force is finite everywhere; at r = 0 its direction is undefined and the null vector is returned. It acts on every pair of particles of the event (independent of charge and mass), so with many bodies each pair feels the nuclear potential; the same R is used for every pair.

Definition at line 175 of file force.hpp.

Constructor & Destructor Documentation

◆ woodsSaxonForce()

woodsSaxonForce::woodsSaxonForce ( Double_t  V0_ = 0.0536772,
Double_t  R_ = 8.886,
Double_t  a_ = 0.65 
)
inline

Make the force.

Parameters
V0_depth in amu c^2 (default 0.0536772 = 50 MeV)
R_radius in fm (default 8.886)
a_diffuseness in fm (default 0.65)

Definition at line 181 of file force.hpp.

Member Function Documentation

◆ Evaluate()

TVector3 woodsSaxonForce::Evaluate ( particle *  p1_,
particle *  p2_ 
)
virtual

Woods-Saxon force on p1_ by p2_ (amu c^2/fm).

Reimplemented from force.

Definition at line 81 of file force.cpp.

◆ GetDepth()

Double_t woodsSaxonForce::GetDepth ( )
inline

The depth V0 in amu c^2.

Definition at line 192 of file force.hpp.

◆ GetDiffuseness()

Double_t woodsSaxonForce::GetDiffuseness ( )
inline

The diffuseness a in fm.

Definition at line 200 of file force.hpp.

◆ GetRadius()

Double_t woodsSaxonForce::GetRadius ( )
inline

The radius R in fm.

Definition at line 196 of file force.hpp.

◆ Potential()

Double_t woodsSaxonForce::Potential ( particle *  p1_,
particle *  p2_ 
)
virtual

Woods-Saxon potential energy of the pair (amu c^2).

Reimplemented from force.

Definition at line 91 of file force.cpp.

◆ SetDepth()

void woodsSaxonForce::SetDepth ( Double_t  V0_)
inline

Set the depth V0 in amu c^2.

Definition at line 190 of file force.hpp.

◆ SetDiffuseness()

void woodsSaxonForce::SetDiffuseness ( Double_t  a_)
inline

Set the diffuseness a in fm.

Definition at line 198 of file force.hpp.

◆ SetRadius()

void woodsSaxonForce::SetRadius ( Double_t  R_)
inline

Set the radius R in fm.

Definition at line 194 of file force.hpp.

Member Data Documentation

◆ a

Double_t woodsSaxonForce::a = 0.65
protected

diffuseness in fm

Definition at line 204 of file force.hpp.

◆ R

Double_t woodsSaxonForce::R = 8.886
protected

radius in fm

Definition at line 203 of file force.hpp.

◆ V0

Double_t woodsSaxonForce::V0 = 0.0536772
protected

depth in amu c^2

Definition at line 202 of file force.hpp.


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