![]() |
GamR
0.0.0
GammaROOT
|
#include <TDPAD.hh>
Collaboration diagram for GamR::AngDist::SpinPrec:Public Member Functions | |
| SpinPrec (double g, double a, double thet, double b, double ts, bool td) | |
| double | GetOmega () |
| double | SetTheta (double ang) |
| double | SetG (double g) |
| double | SetB (double b) |
| double | SetAmp (double a) |
| double | SetTStart (double ts) |
| bool | SetTDir (bool dir) |
| double | GetG () |
| double | GetAmp () |
| double | GetB () |
| double | GetTheta () |
| double | GetTStart () |
| bool | GetTDir () |
| TF1 * | GetFunc () |
Spin precession class. Wrapper for an R(t) TF1, but taking relevant parameters such as g factor, magnetic field strength, and detector angle.
The SpinPrec class. Construct with
and get the relevant TF1 (to fit) with
Only the g factor and amplitude will be free parameters in the fit. Use setting functions to change the parameters and/or starting guesses. Note that GetFunc() returns a clone of the TF1 stored in the class - this way the parameters can only be editted through the appropriate setters.
| GamR::AngDist::SpinPrec::SpinPrec | ( | double | g, |
| double | a, | ||
| double | thet, | ||
| double | b, | ||
| double | ts, | ||
| bool | td ) |
Constructor for SpinPrec object.
| g | g factor |
| a | amplitude of R(t) |
| thet | angle of detector (in degrees) |
| b | magnetic field strenth in Tesla |
| ts | value of x-axis at the start time |
| td | direction of positive time (kTRUE for forwards, kFALSE for backwards) |
Definition at line 243 of file TDPAD.cc.
References SetAmp(), SetB(), SetG(), SetTDir(), SetTheta(), and SetTStart().
Here is the call graph for this function:
|
inline |
Definition at line 66 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function:
|
inline |
Definition at line 60 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function:
|
inline |
Definition at line 54 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function:
|
inline |
Definition at line 78 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function:
|
inline |
Definition at line 48 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function:
|
inline |
Definition at line 72 of file TDPAD.hh.
Referenced by SpinPrec().
Here is the caller graph for this function: