GamR  0.0.0
GammaROOT
Loading...
Searching...
No Matches
GamR::Nucleus::Transition Class Reference

#include <Transition.hh>

+ Inheritance diagram for GamR::Nucleus::Transition:
+ Collaboration diagram for GamR::Nucleus::Transition:

Public Member Functions

 Transition (double E=0, double PL=0, double PH=4096, double BL=0, double BH=4096)
 
void SetEnergy (double E)
 
void SetPeak ()
 
void SetPeak (double Low, double High)
 
void SetBackground ()
 
void SetBackground (double Low, double High)
 
void AddBackground ()
 
void AddBackground (double Low, double High)
 
void SetTransition ()
 
double Apply (TH1D *hist) const
 
double ApplyError (TH1D *hist) const
 
double ApplyCounts (TH1D *hist) const
 
double ApplyCountsError (TH1D *hist) const
 
double GetEnergy ()
 
const GamR::TK::GateGetGate () const
 
const GamR::TK::GateGetGateBG () const
 
const std::vector< GamR::TK::Gate > * GetGateBGs () const
 
 ClassDef (Transition, 2)
 

Protected Attributes

GamR::TK::Gate fPeak
 
std::vector< GamR::TK::GatefBackground
 
double fEnergy = 0
 

Detailed Description

Definition at line 18 of file Transition.hh.

Constructor & Destructor Documentation

◆ Transition()

GamR::Nucleus::Transition::Transition ( double E = 0,
double PL = 0,
double PH = 4096,
double BL = 0,
double BH = 4096 )
inline

Definition at line 24 of file Transition.hh.

References fBackground, fEnergy, and fPeak.

Referenced by ClassDef().

+ Here is the caller graph for this function:

Member Function Documentation

◆ AddBackground() [1/2]

void GamR::Nucleus::Transition::AddBackground ( )

Definition at line 5 of file Transition.cc.

References fBackground, and GamR::TK::Gate::SetGate().

Referenced by GamR::Spect::CountsBS().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddBackground() [2/2]

void GamR::Nucleus::Transition::AddBackground ( double Low,
double High )

Definition at line 11 of file Transition.cc.

References fBackground, and GamR::TK::Gate::SetGate().

+ Here is the call graph for this function:

◆ Apply()

double GamR::Nucleus::Transition::Apply ( TH1D * hist) const

Definition at line 53 of file Transition.cc.

References GetGate(), and GetGateBGs().

Referenced by GamR::Spect::IntegralBS(), and GamR::AngDist::AngCorrFit::SetData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyCounts()

double GamR::Nucleus::Transition::ApplyCounts ( TH1D * hist) const

Definition at line 59 of file Transition.cc.

References GetGate(), and GetGateBGs().

Referenced by GamR::Spect::CountsBS().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyCountsError()

double GamR::Nucleus::Transition::ApplyCountsError ( TH1D * hist) const

Definition at line 62 of file Transition.cc.

References GetGate(), and GetGateBGs().

Referenced by GamR::Spect::CountsBS().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyError()

double GamR::Nucleus::Transition::ApplyError ( TH1D * hist) const

Definition at line 56 of file Transition.cc.

References GetGate(), and GetGateBGs().

Referenced by GamR::Spect::IntegralBS(), and GamR::AngDist::AngCorrFit::SetData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClassDef()

GamR::Nucleus::Transition::ClassDef ( Transition ,
2  )

References Transition().

+ Here is the call graph for this function:

◆ GetEnergy()

double GamR::Nucleus::Transition::GetEnergy ( )
inline

Definition at line 38 of file Transition.hh.

References fEnergy.

◆ GetGate()

const GamR::TK::Gate * GamR::Nucleus::Transition::GetGate ( ) const
inline

Definition at line 39 of file Transition.hh.

References fPeak.

Referenced by Apply(), ApplyCounts(), ApplyCountsError(), ApplyError(), GamR::Spect::BackgroundSubtractX(), GamR::Spect::BackgroundSubtractX(), GamR::Spect::BackgroundSubtractY(), GamR::Spect::BackgroundSubtractY(), GamR::AngDist::RatioFunction(), and GamR::AngDist::RatioFunction().

+ Here is the caller graph for this function:

◆ GetGateBG()

const GamR::TK::Gate * GamR::Nucleus::Transition::GetGateBG ( ) const
inline

Definition at line 40 of file Transition.hh.

References fBackground.

Referenced by GamR::Spect::BackgroundSubtractX(), GamR::Spect::BackgroundSubtractX(), GamR::Spect::BackgroundSubtractY(), GamR::Spect::BackgroundSubtractY(), GamR::AngDist::RatioFunction(), and GamR::AngDist::RatioFunction().

+ Here is the caller graph for this function:

◆ GetGateBGs()

const std::vector< GamR::TK::Gate > * GamR::Nucleus::Transition::GetGateBGs ( ) const
inline

Definition at line 41 of file Transition.hh.

References fBackground.

Referenced by Apply(), ApplyCounts(), ApplyCountsError(), and ApplyError().

+ Here is the caller graph for this function:

◆ SetBackground() [1/2]

void GamR::Nucleus::Transition::SetBackground ( )
inline

Definition at line 29 of file Transition.hh.

References fBackground, and GamR::TK::Gate::SetGate().

Referenced by SetTransition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBackground() [2/2]

void GamR::Nucleus::Transition::SetBackground ( double Low,
double High )
inline

Definition at line 30 of file Transition.hh.

References fBackground, and GamR::TK::Gate::SetGate().

+ Here is the call graph for this function:

◆ SetEnergy()

void GamR::Nucleus::Transition::SetEnergy ( double E)
inline

Definition at line 26 of file Transition.hh.

References fEnergy.

◆ SetPeak() [1/2]

void GamR::Nucleus::Transition::SetPeak ( )
inline

Definition at line 27 of file Transition.hh.

References fPeak.

Referenced by SetTransition().

+ Here is the caller graph for this function:

◆ SetPeak() [2/2]

void GamR::Nucleus::Transition::SetPeak ( double Low,
double High )
inline

Definition at line 28 of file Transition.hh.

References fPeak.

◆ SetTransition()

void GamR::Nucleus::Transition::SetTransition ( )
inline

Definition at line 33 of file Transition.hh.

References SetBackground(), and SetPeak().

Referenced by GamR::Spect::CountsBS(), and GamR::Spect::IntegralBS().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fBackground

std::vector<GamR::TK::Gate> GamR::Nucleus::Transition::fBackground
protected

◆ fEnergy

double GamR::Nucleus::Transition::fEnergy = 0
protected

◆ fPeak

GamR::TK::Gate GamR::Nucleus::Transition::fPeak
protected

Definition at line 20 of file Transition.hh.

Referenced by Transition(), GetGate(), SetPeak(), and SetPeak().


The documentation for this class was generated from the following files: