Definition at line 15 of file TCalibrator.h.
|
| TCalibrator () |
|
| TCalibrator (const TCalibrator &)=default |
|
| TCalibrator (TCalibrator &&) noexcept=default |
|
| ~TCalibrator () |
|
int | AddData (TH1 *data, const std::string &source, double sigma=2.0, double threshold=0.05, double error=0.001) |
|
int | AddData (TH1 *data, TNucleus *source, double sigma=2.0, double threshold=0.05, double error=0.001) |
|
void | AddPeak (double cent, double eng, std::string nuc, double a=0.0, double inten=0.0) |
|
std::vector< double > | Calibrate (double min_figure_of_merit=0.001) |
|
void | Clear (Option_t *opt="") override |
|
void | Copy (TObject &obj) const override |
|
void | Draw (Option_t *opt="") override |
|
TF1 * | EffFit () |
|
TGraph * | EffGraph () |
|
void | Fit (int order=1) |
|
TGraph * | FitGraph () |
|
double | GetEffParameter (int i=0) const |
|
int | GetFitOrder () const |
|
double | GetParameter (int i=0) const |
|
Peak | GetPeak (UInt_t i) const |
|
TF1 * | LinFit () |
|
TGraph & | MakeCalibrationGraph (double min_figure_of_merit=0.001) |
|
TGraphErrors & | MakeEffGraph (double seconds=3600., double bq=100000., Option_t *opt="draw") |
|
TCalibrator & | operator= (const TCalibrator &)=default |
|
TCalibrator & | operator= (TCalibrator &&) noexcept=default |
|
void | Print (Option_t *opt="") const override |
|
std::string | PrintEfficency (const char *filename="") |
|
void | SetFitOrder (int order) |
|
UInt_t | Size () const |
|
void | UpdateTChannel (TChannel *channel) |
|
|
static bool | CheckMap (const std::map< double, double > &inmap) |
|
static std::map< double, double > | Match (std::vector< double >, std::vector< double >) |
|
static void | PrintMap (std::map< double, double > &inmap) |
|
static void | ResetMap (std::map< double, double > &inmap) |
|
◆ TCalibrator() [1/3]
TCalibrator::TCalibrator |
( |
| ) |
|
◆ TCalibrator() [2/3]
◆ TCalibrator() [3/3]
◆ ~TCalibrator()
TCalibrator::~TCalibrator |
( |
| ) |
|
◆ AddData() [1/2]
int TCalibrator::AddData |
( |
TH1 * | data, |
|
|
const std::string & | source, |
|
|
double | sigma = 2.0, |
|
|
double | threshold = 0.05, |
|
|
double | error = 0.001 ) |
◆ AddData() [2/2]
int TCalibrator::AddData |
( |
TH1 * | data, |
|
|
TNucleus * | source, |
|
|
double | sigma = 2.0, |
|
|
double | threshold = 0.05, |
|
|
double | error = 0.001 ) |
◆ AddPeak()
void TCalibrator::AddPeak |
( |
double | cent, |
|
|
double | eng, |
|
|
std::string | nuc, |
|
|
double | a = 0.0, |
|
|
double | inten = 0.0 ) |
◆ Calibrate()
std::vector< double > TCalibrator::Calibrate |
( |
double | min_figure_of_merit = 0.001 | ) |
|
◆ CheckMap()
bool TCalibrator::CheckMap |
( |
const std::map< double, double > & | inmap | ) |
|
|
staticprivate |
Return false if any member of map is nan (not a number).
Definition at line 382 of file TCalibrator.cxx.
◆ Clear()
void TCalibrator::Clear |
( |
Option_t * | opt = "" | ) |
|
|
override |
◆ Copy()
void TCalibrator::Copy |
( |
TObject & | obj | ) |
const |
|
override |
◆ Draw()
void TCalibrator::Draw |
( |
Option_t * | opt = "" | ) |
|
|
override |
◆ EffFit()
TF1 * TCalibrator::EffFit |
( |
| ) |
|
|
inline |
◆ EffGraph()
TGraph * TCalibrator::EffGraph |
( |
| ) |
|
|
inline |
◆ Fit()
void TCalibrator::Fit |
( |
int | order = 1 | ) |
|
◆ FitGraph()
TGraph * TCalibrator::FitGraph |
( |
| ) |
|
|
inline |
◆ GetEffParameter()
double TCalibrator::GetEffParameter |
( |
int | i = 0 | ) |
const |
◆ GetFitOrder()
int TCalibrator::GetFitOrder |
( |
| ) |
const |
|
inline |
◆ GetParameter()
double TCalibrator::GetParameter |
( |
int | i = 0 | ) |
const |
◆ GetPeak()
Peak TCalibrator::GetPeak |
( |
UInt_t | i | ) |
const |
|
inline |
◆ LinFit()
TF1 * TCalibrator::LinFit |
( |
| ) |
|
|
inline |
◆ MakeCalibrationGraph()
TGraph & TCalibrator::MakeCalibrationGraph |
( |
double | min_figure_of_merit = 0.001 | ) |
|
◆ MakeEffGraph()
TGraphErrors & TCalibrator::MakeEffGraph |
( |
double | seconds = 3600., |
|
|
double | bq = 100000., |
|
|
Option_t * | opt = "draw" ) |
◆ Match()
std::map< double, double > TCalibrator::Match |
( |
std::vector< double > | peaks, |
|
|
std::vector< double > | source ) |
|
staticprivate |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Print()
void TCalibrator::Print |
( |
Option_t * | opt = "" | ) |
const |
|
override |
◆ PrintEfficency()
std::string TCalibrator::PrintEfficency |
( |
const char * | filename = "" | ) |
|
◆ PrintMap()
void TCalibrator::PrintMap |
( |
std::map< double, double > & | inmap | ) |
|
|
staticprivate |
◆ ResetMap()
void TCalibrator::ResetMap |
( |
std::map< double, double > & | inmap | ) |
|
|
staticprivate |
◆ SetFitOrder()
void TCalibrator::SetFitOrder |
( |
int | order | ) |
|
|
inline |
◆ Size()
UInt_t TCalibrator::Size |
( |
| ) |
const |
|
inline |
◆ UpdateTChannel()
void TCalibrator::UpdateTChannel |
( |
TChannel * | channel | ) |
|
◆ fEffFit
TF1* TCalibrator::fEffFit {nullptr} |
|
private |
◆ fEffGraph
TGraphErrors TCalibrator::fEffGraph |
|
private |
◆ fEffPar
std::array<double, 4> TCalibrator::fEffPar {0.} |
|
private |
◆ fFitGraph
TGraph TCalibrator::fFitGraph |
|
private |
◆ fFitOrder
int TCalibrator::fFitOrder {0} |
|
private |
◆ fLinFit
TF1* TCalibrator::fLinFit {nullptr} |
|
private |
◆ fPeaks
std::vector<Peak> TCalibrator::fPeaks |
|
private |