Inheritance diagram for ObjCryst::Radiation:
Public Member Functions | |
Radiation () | |
Default constructor. | |
Radiation (const RadiationType rad, const REAL wavelength) | |
\ brief Constructor | |
Radiation (const string &XRayTubeElementName, const REAL alpha2Alpha2ratio=0.5) | |
\ brief Constructor for X-Ray tube radiation | |
Radiation (const Radiation &) | |
Copy constructor. | |
~Radiation () | |
virtual const string & | GetClassName () const |
Name for this class ("RefinableObj", "Crystal",...). | |
void | operator= (const Radiation &) |
RadiationType | GetRadiationType () const |
Get the radiation type (X-Rays, Neutron). | |
void | SetRadiationType (const RadiationType) |
Set the radiation type (X-Rays, Neutron). | |
void | SetWavelengthType (const WavelengthType &type) |
Set the Wavelength type (monochromatic, Alpha1+Alpha2, Time Of Flight...). | |
WavelengthType | GetWavelengthType () const |
Get the Wavelength type (monochromatic, Alpha1+Alpha2, Time Of Flight...). | |
const CrystVector_REAL & | GetWavelength () const |
Get the wavelength(s) in Angstroems. | |
void | SetWavelength (const REAL) |
Set the (monochromatic) wavelength of the beam. | |
void | SetWavelength (const string &XRayTubeElementName, const REAL alpha2Alpha2ratio=0.5) |
\ brief Set X-Ray tube radiation. | |
REAL | GetXRayTubeDeltaLambda () const |
Get the wavelength difference for Alpha1 and Alpha2. | |
REAL | GetXRayTubeAlpha2Alpha1Ratio () const |
Get the Kalpha2/Kalpha1 ratio. | |
const RefinableObjClock & | GetClockWavelength () const |
Last time the wavelength has been changed. | |
const RefinableObjClock & | GetClockRadiation () const |
Last time the nature (X-Rays/Neutron, number of wavelengths)radiation has been changed. | |
virtual void | XMLOutput (ostream &os, int indent=0) const |
Output to stream in well-formed XML. | |
virtual void | XMLInput (istream &is, const XMLCrystTag &tag) |
Input From stream. | |
void | Print () const |
Print to screen/console the charcteristics of the radiation. | |
REAL | GetLinearPolarRate () const |
void | SetLinearPolarRate (const REAL f) |
Private Member Functions | |
void | InitOptions () |
Private Attributes | |
RefObjOpt | mRadiationType |
Neutron ? X-Ray ? (Electron: unimplemented). | |
RefObjOpt | mWavelengthType |
monochromatic ? Alpha1 & Alpha2 ? Multi-Wavelength ? | |
CrystVector_REAL | mWavelength |
Wavelength of the Experiment, in Angstroems. | |
string | mXRayTubeName |
Name of the X-Ray tube used, if relevant. | |
REAL | mXRayTubeDeltaLambda |
Absolute difference between alpha1 and alpha2, in angstroems. | |
REAL | mXRayTubeAlpha2Alpha1Ratio |
Ratio alpha2/alpha1 (should be 0.5). | |
RefinableObjClock | mClockWavelength |
RefinableObjClock | mClockRadiation |
REAL | mLinearPolarRate |
Linear Polarization Rate (default:0, X-Ray tube unmonochromatized). |
This can be developped for more complex experiments, hence the vector of wavelengths (so far it is not possible to use several wavelengths, though).
X-Rays and Neutrons are available. Electrons are not available yet in ScatteringData classes.
|
Default constructor.
|
|
\ brief Constructor
|
|
\ brief Constructor for X-Ray tube radiation
NOTE : if the name of the wavelength is generic (eg"Cu"), then the program considers that there are both Alpha1 and Alpha2, and thus automatically changes the WavelengthType to WAVELENGTH_ALPHA12. If instead either alpha1 or alpha2 (eg "CuA1") is asked for, the WavelengthType is set to WAVELENGTH_MONOCHROMATIC. In both cases, the radiation type is set to X-Ray. |
|
Copy constructor.
|
|
|
|
Name for this class ("RefinableObj", "Crystal",...). This is only useful to distinguish different classes when picking up objects from the RefinableObj Global Registry Reimplemented from ObjCryst::RefinableObj. |
|
Last time the nature (X-Rays/Neutron, number of wavelengths)radiation has been changed.
|
|
Last time the wavelength has been changed.
|
|
|
|
Get the radiation type (X-Rays, Neutron).
|
|
Get the wavelength(s) in Angstroems. Currently only monochromatic is used, so the vector should only return only one wavelength. |
|
Get the Wavelength type (monochromatic, Alpha1+Alpha2, Time Of Flight...).
|
|
Get the Kalpha2/Kalpha1 ratio.
|
|
Get the wavelength difference for Alpha1 and Alpha2.
|
|
|
|
|
|
Print to screen/console the charcteristics of the radiation.
Reimplemented from ObjCryst::RefinableObj. |
|
|
|
Set the radiation type (X-Rays, Neutron).
|
|
\ brief Set X-Ray tube radiation.
NOTE : if the name of the wavelength is generic (eg"Cu"), then the program considers that there are both Alpha1 and Alpha2, and thus automatically changes the WavelengthType to WAVELENGTH_ALPHA12. If instead either alpha1 or alpha2 (eg "CuA1") is asked for, the WavelengthType is set to WAVELENGTH_MONOCHROMATIC. In both cases, the radiation type is set to X-Ray. |
|
Set the (monochromatic) wavelength of the beam.
|
|
Set the Wavelength type (monochromatic, Alpha1+Alpha2, Time Of Flight...).
|
|
Input From stream.
Reimplemented from ObjCryst::RefinableObj. |
|
Output to stream in well-formed XML.
Reimplemented from ObjCryst::RefinableObj. |
|
|
|
|
|
Linear Polarization Rate (default:0, X-Ray tube unmonochromatized).
|
|
Neutron ? X-Ray ? (Electron: unimplemented).
|
|
Wavelength of the Experiment, in Angstroems.
|
|
monochromatic ? Alpha1 & Alpha2 ? Multi-Wavelength ?
|
|
Ratio alpha2/alpha1 (should be 0.5).
|
|
Absolute difference between alpha1 and alpha2, in angstroems.
|
|
Name of the X-Ray tube used, if relevant. ie "Cu", "Fe",etc... "CuA1" for Cu-alpha1, etc... |