MiniballSort
Loading...
Searching...
No Matches
MiniballAngleFitter Class Reference

#include <MiniballAngleFitter.hh>

Public Member Functions

 MiniballAngleFitter ()
 
 ~MiniballAngleFitter ()
 
 MiniballAngleFitter (std::string settings_file, std::string reaction_file)
 
 MiniballAngleFitter (std::shared_ptr< MiniballSettings > _myset, std::shared_ptr< MiniballReaction > _myreact)
 
void Initialise ()
 
void DoFit ()
 
void SaveReactionFile (std::string fname)
 
void SaveExpEnergies (std::string energy_file)
 
bool SetInputROOTFile (std::string fname)
 
void CloseROOTFile ()
 
bool SetInputEnergiesFile (std::string fname)
 
void SetOutputDirectory (std::string dir)
 

Private Attributes

std::shared_ptr< MiniballSettingsmyset
 
std::shared_ptr< MiniballReactionmyreact
 
TFile * input_root_file = nullptr
 
std::string input_data_filename
 
MiniballAngleFunction ff
 
std::string datadir
 
std::vector< int > mystyles
 
std::vector< int > mycolors
 
bool flag_fit_peaks = false
 
unsigned npars = 1
 
std::vector< double > pars
 
std::vector< std::string > names
 
std::vector< double > LL
 
std::vector< double > UL
 

Detailed Description

Definition at line 112 of file MiniballAngleFitter.hh.

Constructor & Destructor Documentation

◆ MiniballAngleFitter() [1/3]

MiniballAngleFitter::MiniballAngleFitter ( )

Definition at line 373 of file MiniballAngleFitter.cc.

Referenced by MiniballAngleFitter(), and MiniballAngleFitter().

◆ ~MiniballAngleFitter()

MiniballAngleFitter::~MiniballAngleFitter ( )
inline

Definition at line 118 of file MiniballAngleFitter.hh.

◆ MiniballAngleFitter() [2/3]

MiniballAngleFitter::MiniballAngleFitter ( std::string settings_file,
std::string reaction_file )

Definition at line 380 of file MiniballAngleFitter.cc.

◆ MiniballAngleFitter() [3/3]

MiniballAngleFitter::MiniballAngleFitter ( std::shared_ptr< MiniballSettings > _myset,
std::shared_ptr< MiniballReaction > _myreact )

Definition at line 391 of file MiniballAngleFitter.cc.

Member Function Documentation

◆ CloseROOTFile()

void MiniballAngleFitter::CloseROOTFile ( )
inline

Definition at line 138 of file MiniballAngleFitter.hh.

Referenced by do_angle_fit().

◆ DoFit()

void MiniballAngleFitter::DoFit ( )

Definition at line 524 of file MiniballAngleFitter.cc.

Referenced by do_angle_fit().

◆ Initialise()

void MiniballAngleFitter::Initialise ( )

Definition at line 444 of file MiniballAngleFitter.cc.

Referenced by MiniballAngleFitter().

◆ SaveExpEnergies()

void MiniballAngleFitter::SaveExpEnergies ( std::string energy_file)
inline

Definition at line 132 of file MiniballAngleFitter.hh.

Referenced by do_angle_fit().

◆ SaveReactionFile()

void MiniballAngleFitter::SaveReactionFile ( std::string fname)

Definition at line 886 of file MiniballAngleFitter.cc.

Referenced by do_angle_fit().

◆ SetInputEnergiesFile()

bool MiniballAngleFitter::SetInputEnergiesFile ( std::string fname)

Definition at line 423 of file MiniballAngleFitter.cc.

Referenced by do_angle_fit().

◆ SetInputROOTFile()

bool MiniballAngleFitter::SetInputROOTFile ( std::string fname)

Definition at line 403 of file MiniballAngleFitter.cc.

Referenced by do_angle_fit().

◆ SetOutputDirectory()

void MiniballAngleFitter::SetOutputDirectory ( std::string dir)
inline

Definition at line 146 of file MiniballAngleFitter.hh.

Member Data Documentation

◆ datadir

std::string MiniballAngleFitter::datadir
private

Definition at line 166 of file MiniballAngleFitter.hh.

Referenced by SetOutputDirectory().

◆ ff

MiniballAngleFunction MiniballAngleFitter::ff
private

Definition at line 163 of file MiniballAngleFitter.hh.

Referenced by DoFit(), Initialise(), and SaveExpEnergies().

◆ flag_fit_peaks

bool MiniballAngleFitter::flag_fit_peaks = false
private

Definition at line 172 of file MiniballAngleFitter.hh.

Referenced by DoFit(), SetInputEnergiesFile(), and SetInputROOTFile().

◆ input_data_filename

std::string MiniballAngleFitter::input_data_filename
private

Definition at line 160 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and SetInputEnergiesFile().

◆ input_root_file

TFile* MiniballAngleFitter::input_root_file = nullptr
private

Definition at line 157 of file MiniballAngleFitter.hh.

Referenced by CloseROOTFile(), DoFit(), and SetInputROOTFile().

◆ LL

std::vector<double> MiniballAngleFitter::LL
private

Definition at line 178 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ mycolors

std::vector<int> MiniballAngleFitter::mycolors
private

Definition at line 169 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ myreact

std::shared_ptr<MiniballReaction> MiniballAngleFitter::myreact
private

◆ myset

std::shared_ptr<MiniballSettings> MiniballAngleFitter::myset
private

◆ mystyles

std::vector<int> MiniballAngleFitter::mystyles
private

Definition at line 169 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ names

std::vector<std::string> MiniballAngleFitter::names
private

Definition at line 177 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ npars

unsigned MiniballAngleFitter::npars = 1
private

Definition at line 175 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ pars

std::vector<double> MiniballAngleFitter::pars
private

Definition at line 176 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().

◆ UL

std::vector<double> MiniballAngleFitter::UL
private

Definition at line 179 of file MiniballAngleFitter.hh.

Referenced by DoFit(), and Initialise().


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