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

ChargeStateDist Class Reference

This the mother of ALL charge State model. More...

#include <chargemodel.h>

Inheritance diagram for ChargeStateDist:

Charge_Baudinet Charge_Dmitriev Charge_Liu Charge_Sayer Charge_Zdist List of all members.

Public Member Functions

 ChargeStateDist ()
 Constructor.
 ChargeStateDist (Isotope a)
 Constructor (this is the most obvious choice).
virtual ~ChargeStateDist ()
 vitual destructor not implemented. If you use pointed you could be in trouble.
int GetCheck ()
 Check if the ion is defined.
Isotope GetIon ()
 Return the ion.
void SetIsotope (Isotope a)
 Set the isotope == ion.
void SetIon (Isotope a)
 Set the isotope == ion.
virtual double GetqBar (double E)=0
 Member which return the charge state fraction. To be implemented in the class describing the model.
double Getfq (double z, double E)
 Member returning the fraction of charge z at an energy E.
double GetMaxq (double E)
 Member returning the most abundant charge state at the energy E.
virtual void WriteReference ()=0
 Print the reference of the charge state model. To be implemented in the class describing the model.

Private Member Functions

virtual double GetUnNormalizefq (double z, double E)=0
 Return the unormalized fraction of the charge z at energy E. To be implemented in the class describing the model.

Private Attributes

Isotope ion
 Define the ion for which you want to calculate the Charge state fraction.
int IonSet
 Check if the ion is defined.

Detailed Description

This the mother of ALL charge State model.

All the model calcuating charge state distribution must derive from this function.

Three virtual function are declared, they must be impelemented in the class describing the model.


Constructor & Destructor Documentation

ChargeStateDist  )  [inline]
 

Constructor.

ChargeStateDist Isotope  a  )  [inline]
 

Constructor (this is the most obvious choice).

virtual ~ChargeStateDist  )  [inline, virtual]
 

vitual destructor not implemented. If you use pointed you could be in trouble.


Member Function Documentation

int GetCheck  )  [inline]
 

Check if the ion is defined.

double Getfq double  z,
double  E
 

Member returning the fraction of charge z at an energy E.

Isotope GetIon  )  [inline]
 

Return the ion.

double GetMaxq double  E  ) 
 

Member returning the most abundant charge state at the energy E.

virtual double GetqBar double  E  )  [pure virtual]
 

Member which return the charge state fraction. To be implemented in the class describing the model.

Implemented in Charge_Liu, Charge_Sayer, Charge_Zdist, Charge_Dmitriev, and Charge_Baudinet.

virtual double GetUnNormalizefq double  z,
double  E
[private, pure virtual]
 

Return the unormalized fraction of the charge z at energy E. To be implemented in the class describing the model.

Implemented in Charge_Liu, Charge_Sayer, Charge_Zdist, Charge_Dmitriev, and Charge_Baudinet.

void SetIon Isotope  a  )  [inline]
 

Set the isotope == ion.

void SetIsotope Isotope  a  )  [inline]
 

Set the isotope == ion.

virtual void WriteReference  )  [pure virtual]
 

Print the reference of the charge state model. To be implemented in the class describing the model.

Implemented in Charge_Liu, Charge_Sayer, Charge_Zdist, Charge_Dmitriev, and Charge_Baudinet.


Member Data Documentation

Isotope ion [private]
 

Define the ion for which you want to calculate the Charge state fraction.

int IonSet [private]
 

Check if the ion is defined.


The documentation for this class was generated from the following files:
Generated on Tue Aug 8 19:46:56 2006 for ChargeModel by  doxygen 1.4.4