Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

mappings Class Reference

Class that maps energy-angle pairs between reference frames. More...

Collaboration diagram for mappings:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mappings ()
 Default constructor.

 mappings (Target *target, Projectile *projectile, Product *ejectum, double E_in)
 Constructor with particle data.

 ~mappings ()
 Default destructor.

void set_map (Target *target, Projectile *projectile, Product *ejectum, double E_in)
 Set the particle data.

Pair lab_to_cm (Pair &lab)
 Maps from lab frame to center-of-mass.

Pair cm_to_lab (Pair &cm)
 Maps from center-of-mass to lab.

double J_cm_to_lab (double E_cm, double E_lab)
 Jacobian of the mapping.

double get_min_mu (double E_cm)
 Returns the minimal cosine (lab frame) for this exit energy.

void get_E_range (double E_cm, double mu, double *E_back, double *E_ahead)
 Calculates the lab frame exit energy extremes.

double get_lab_E (double E_cm, double mu_lab, int signum)
 Calculates the lab energy for given c-m energy and lab mu.


Public Attributes

double E_transl

Private Attributes

Target_target
Projectile_projectile
Product_ejectum
double _E_in

Detailed Description

The mappings class was designed to transform double differential data from one frame to another.

Definition at line 70 of file mappings.hpp.


Constructor & Destructor Documentation

mappings::mappings  ) 
 

Definition at line 85 of file mappings.cpp.

References _E_in, and E_transl.

mappings::mappings Target target,
Projectile projectile,
Product ejectum,
double  E_in
 

Parameters:
target target particle
projectile projectile particle
ejectum ejected particle
E_in incident energy of projectile particle.
Constructor requires all particles be known and the incident particle energy defined.

Definition at line 92 of file mappings.cpp.

References _E_in, _ejectum, _projectile, _target, E_transl, and Use_cm.

mappings::~mappings  ) 
 

This destructor is empty.

Definition at line 109 of file mappings.cpp.


Member Function Documentation

Pair mappings::cm_to_lab Pair cm  ) 
 

Parameters:
cm An E-mu Pair in the center of mass system
Function that maps a Pair from the center of mass frame to the lab system.

Definition at line 155 of file mappings.cpp.

References Pair::E, E_transl, Pair::mu, and Use_cm.

void mappings::get_E_range double  E_cm,
double  mu,
double *  E_back,
double *  E_ahead
 

Parameters:
E_cm Center of mass energy
mu Angle cosine in center of mass system
Return values:
*E_back Lowest lab frame exit energy
*E_ahead Largest lab frame exit energy
This function returns the lab frame exit energies for the given center of mass exit energy, E_cm, and lab angle, mu. If there are two such energies, the smaller of the two is in E_back (a reference to the fact that the lowest energy sloution is the one in which the particle is moving backward with respect to the center of mass motion). In cases where there is only a single solution it is put in E_ahead and E_back is set to -1. In cases where there is no solution, both are set to -1.

Definition at line 220 of file mappings.cpp.

References E_transl, pastenum(), and Warning().

Referenced by three_d_link< one_d_phase >::all_both_ways(), three_d_link< one_d_phase >::both_ways_hole(), three_d_link< one_d_phase >::both_ways_trans(), three_d_link< one_d_phase >::forward_hole(), three_d_link< one_d_phase >::full_forward(), three_d_link< one_d_phase >::full_range(), three_d_link< one_d_phase >::full_trans(), and three_d_link< one_d_phase >::trans_hole().

double mappings::get_lab_E double  E_cm,
double  mu_lab,
int  signum
 

Definition at line 256 of file mappings.cpp.

References E_transl, and SevereError().

Referenced by one_d_Kalbach::cm_E_decr(), and one_d_Kalbach::cm_E_incr().

double mappings::get_min_mu double  E_cm  ) 
 

Parameters:
E_cm center of mass energy of ejected particle
Returns the minimal cosine in the lab frame for the passed exit energy.

Definition at line 199 of file mappings.cpp.

References E_transl.

Referenced by three_d_link< one_d_phase >::both_ways_hole(), three_d_link< one_d_phase >::forward_hole(), three_d_link< one_d_phase >::full_forward(), and three_d_link< one_d_phase >::trans_hole().

double mappings::J_cm_to_lab double  E_cm,
double  E_lab
 

Definition at line 180 of file mappings.cpp.

References Use_cm.

Referenced by one_d_Kalbach::f().

Pair mappings::lab_to_cm Pair lab  ) 
 

Parameters:
lab An E-mu Pair in the lab system
Function that maps a Pair from lab system to center of mass frame.

Definition at line 130 of file mappings.cpp.

References Pair::E, E_transl, Pair::mu, and Use_cm.

Referenced by one_d_Kalbach::cm_E_decr(), one_d_Kalbach::cm_E_incr(), one_d_phase::f(), and one_d_Kalbach::f().

void mappings::set_map Target target,
Projectile projectile,
Product ejectum,
double  E_in
 

Definition at line 113 of file mappings.cpp.

References _E_in, _ejectum, _projectile, _target, E_transl, and Use_cm.


Member Data Documentation

mappings::_E_in [private]
 

Incident particle energy.

Referenced by mappings(), and set_map().

mappings::_ejectum [private]
 

A pointer to a product particle of the current reaction.

Referenced by mappings(), and set_map().

mappings::_projectile [private]
 

A pointer to the projectile of the current reaction (neutron).

Referenced by mappings(), and set_map().

mappings::_target [private]
 

A pointer to the target particle of the current reaction.

Referenced by mappings(), and set_map().

double mappings::E_transl
 

Definition at line 81 of file mappings.hpp.

Referenced by cm_to_lab(), get_E_range(), three_d_link< one_d_phase >::get_geom(), get_lab_E(), get_min_mu(), lab_to_cm(), mappings(), one_d_Kalbach::one_E_row(), and set_map().


Generated on Thu Sep 7 10:39:45 2006 for fete -- From ENDFB6 To ENDL by doxygen 1.3.4