GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
Calibration

Classes

class  TCal
 
class  TCalGraph
 
class  TCalList
 
class  TCalManager
 
class  TCalPoint
 
class  TCFDCal
 
class  TChannelTab
 
class  TEfficiencyCal
 
class  TEfficiencyCalibration
 
class  TEfficiencyGraph
 
class  TEnergyCal
 
class  TGainMatch
 
class  TSourceCalibration
 
class  TSourceList
 
class  TSourceTab
 
class  TTimeCal
 

Functions

bool FilledBin (TH2 *matrix, const int &bin)
 
std::map< TGauss *, std::tuple< double, double, double, double > > Match (std::vector< TGauss * > peaks, std::vector< std::tuple< double, double, double, double > > sources, TSourceTab *sourceTab)
 
double Polynomial (double *x, double *par)
 
std::map< double, std::tuple< double, double, double, double > > RoughCal (std::vector< double > peaks, std::vector< std::tuple< double, double, double, double > > sources, TSourceTab *sourceTab)
 
std::map< TGauss *, std::tuple< double, double, double, double > > SmartMatch (std::vector< TGauss * > peaks, std::vector< std::tuple< double, double, double, double > > sources, TSourceTab *sourceTab)
 

Detailed Description

Function Documentation

◆ FilledBin()

bool FilledBin ( TH2 * matrix,
const int & bin )

Definition at line 460 of file TSourceCalibration.cxx.

Referenced by TSourceCalibration::TSourceCalibration().

◆ Match()

std::map< TGauss *, std::tuple< double, double, double, double > > Match ( std::vector< TGauss * > peaks,
std::vector< std::tuple< double, double, double, double > > sources,
TSourceTab * sourceTab )

This function tries to match a list of found peaks (channels) to a list of provided peaks (energies). It does so in a brute force fashion where we try all combinations of channels and energies, do a linear fit through them, and keep the one with the best chi square.

Definition at line 171 of file TSourceCalibration.cxx.

References kAll, kBasicFlow, kLoops, kSubroutines, TSourceCalibration::MaxIterations(), RESET_COLOR, TSourceTab::Status(), and TSourceCalibration::VerboseLevel().

Referenced by TSourceTab::ProjectionStatus().

◆ Polynomial()

double Polynomial ( double * x,
double * par )

Definition at line 451 of file TSourceCalibration.cxx.

Referenced by TChannelTab::Calibrate().

◆ RoughCal()

std::map< double, std::tuple< double, double, double, double > > RoughCal ( std::vector< double > peaks,
std::vector< std::tuple< double, double, double, double > > sources,
TSourceTab * sourceTab )

This function tries to match a list of found peaks (channels) to a list of provided peaks (energies). It does so in slightly smarter way than the brute force method Match, by taking the reported intensity of the source peaks into account.

Definition at line 30 of file TSourceCalibration.cxx.

References kAll, kBasicFlow, kLoops, kSubroutines, TSourceCalibration::MaxIterations(), RESET_COLOR, TSourceTab::Status(), and TSourceCalibration::VerboseLevel().

Referenced by TSourceTab::InitialCalibration().

◆ SmartMatch()

std::map< TGauss *, std::tuple< double, double, double, double > > SmartMatch ( std::vector< TGauss * > peaks,
std::vector< std::tuple< double, double, double, double > > sources,
TSourceTab * sourceTab )

This function tries to match a list of found peaks (channels) to a list of provided peaks (energies). It does so in slightly smarter way than the brute force method Match, by taking the reported intensity of the source peaks into account.

Definition at line 308 of file TSourceCalibration.cxx.

References kAll, kBasicFlow, kLoops, kSubroutines, TSourceCalibration::MaxIterations(), RESET_COLOR, TSourceTab::Status(), and TSourceCalibration::VerboseLevel().