1#ifndef GAMROOT_SPECT_TDPAD_HH
2#define GAMROOT_SPECT_TDPAD_HH
21 TH1D *
RatioFunction(TH2 *h1, TH2 *h2, GamR::TK::Gate peak, GamR::TK::Gate background);
22 TH1D *
RatioFunction(TH2 *h1, TH2 *h2, GamR::TK::Gate peak, GamR::TK::Gate background,
const char *name);
23 TH1D *
RatioFunction(TH2 *h1, TH2 *h2, GamR::Nucleus::Transition peak);
24 TH1D *
RatioFunction(TH2 *h1, TH2 *h2, GamR::Nucleus::Transition peak,
const char *name);
28 TH1D *
AutoCorrelation(TH1 *h1,
double start,
double stop,
const char *name);
39 double mun = 5.050786;
40 double hbar = 1.0545726;
46 SpinPrec(
double g,
double a,
double thet,
double b,
double ts,
bool td);
47 double GetOmega() {
return -gfac * mun * B / hbar * 0.01; }
50 theta = ang * 3.141592 / 180;
51 func->FixParameter(1, theta);
57 func->SetParameter(2, gfac);
63 func->FixParameter(4, B);
69 func->SetParameter(0, amp);
75 func->FixParameter(7, tstart);
82 func->FixParameter(6, 1.0);
84 func->FixParameter(6, -1.0);
88 double GetG() {
return gfac; }
90 double GetB() {
return B; }
SpinPrec(double g, double a, double thet, double b, double ts, bool td)
double SetTStart(double ts)
double SetTheta(double ang)
TH1D * RatioFunction(TH1 *h1, TH1 *h2)
TH1D * AutoCorrelation(TH1 *h1, double start, double stop)