|
| Calibration (const TString &rawDataPath) |
|
void | SetSensor (SensorRunInfo *sensor) |
|
void | Exec () |
| Executes all calibration steps 1) Peaks position determination. 2) Dead layer estimation. 3) Calibration coefficients calculation. 4) Report file printing.
|
|
void | SearchPeaks () |
|
void | DeadLayerEstimation () |
|
void | CalcCalibrationCoefficients (Bool_t fitLastTwoPoints=false) |
|
void | SetPathToCustomSpectra (const TString &path) |
|
| TaskManager (const TString &rawDataPath) |
|
void | SetPeakSearchMethod (const TString &peakSearchAlgorithm) |
|
void | SetFitMinSigma (const Double_t value) |
|
void | SetFitPeakThreshold (const Double_t value) |
|
void | SetSearchRadius (const Int_t value) |
|
void | SetSlideWindowWidth (const Int_t value) |
|
std::list< Double_t > | GetPeaksTSpectrum (TH1 *hist, const Double_t fitMinSigma, const Double_t fitPeakThreshold) |
|
std::list< Double_t > | SlidingWindowPeakSearch (TH1 *hist, const std::list< Double_t > &initGuess, const Int_t windowWidth, const Int_t searchRadius) |
| Searchs peaks on a histogram by the "sliding window" algorithm. Algorithm: More...
|
|
std::list< Double_t > | GaussPeakSearch (TH1 *hist, const std::list< Double_t > &initGuess, const Int_t searchRadius) |
| Searchs peaks on a histogram by the 'gaus + pol1' fit. Algorithm: More...
|
|
std::list< Double_t > | GetPeaks (TH1 *hist, const std::list< Double_t > &initGuess) |
| Returns peaks according to set options. Restores histogram bin range (0, Nbins) after search by any method. More...
|
|
|
void | PrintReport (const std::vector< std::vector< Double_t >> &peaks, const std::vector< Double_t > &deadVec, const Double_t avgDead, const std::vector< std::vector< Double_t >> &coeffsAB) |
| Finds peaks with a set algorithm method. Stores statistic files in the directory [WORK_DIR]/run_id/sensor_name/statistics/ : More...
|
|
std::vector< Double_t > | GetAlphaEnergiesAfterDeadLayer (const Double_t dead) |
|
Double_t | GetDeadLayerByEta (const Double_t eta) |
| Returns dead layer thickness [um] by eta parameter value. d(eta) is a qudratic approximation // in format {p0, p1, p2} where p0, p1, p2 — coefficients: eta = p0 + p1*d + p2*d^2. More...
|
|
|
TString | fSpectraHistPath = "" |
|
SensorRunInfo * | fSensor = nullptr |
|
CalibIOManager * | fIOManager = nullptr |
|
TString | fWorkDir = "result" |
|
TString | fRunId = "" |
|
TString | fRawDataPath = "" |
|
Int_t | fPeakSearchMethod = SLIDING_WINDOW |
|
Double_t | fFitMinSigma = 6. |
|
Double_t | fFitPeakThreshold = 0.7 |
|
Int_t | fSearchRadius = 10 |
|
Int_t | fSlideWindowWidth = 10 |
|
std::vector< std::vector< float > > | fIntegralInWindow |
|
|
enum | PeakSearchAlgorithm { SLIDING_WINDOW,
GAUSS
} |
|
Definition at line 1355 of file ERCalibrationSSD.cxx.
Double_t ERCalibrationSSD::Calibration::GetDeadLayerByEta |
( |
const Double_t |
eta | ) |
|
|
protected |
Returns dead layer thickness [um] by eta parameter value. d(eta) is a qudratic approximation // in format {p0, p1, p2} where p0, p1, p2 — coefficients: eta = p0 + p1*d + p2*d^2.
- Parameters
-
Definition at line 1468 of file ERCalibrationSSD.cxx.
void ERCalibrationSSD::Calibration::PrintReport |
( |
const std::vector< std::vector< Double_t >> & |
peaks, |
|
|
const std::vector< Double_t > & |
deadVec, |
|
|
const Double_t |
avgDead, |
|
|
const std::vector< std::vector< Double_t >> & |
coeffsAB |
|
) |
| |
|
protected |
Finds peaks with a set algorithm method. Stores statistic files in the directory [WORK_DIR]/run_id/sensor_name/statistics/ :
- peaks positions found by a chosen algorithm - mean_(run_id)_(sensor_name).txt
- standard deviation (RMS) - rms_(run_id)_(sensor_name).txt
- TSpectrum peaks positions tspectrum_(run_id)_(sensor_name).txt
Files structure by lines: value_low_energy_strip_0, value_middle_energy_strip_0, value_high_energy_strip_0 value_low_energy_strip_1, value_middle_energy_strip_1, value_high_energy_strip_1 ... value_low_energy_strip_N, value_middle_energy_strip_N, value_high_energy_strip_N
Definition at line 1548 of file ERCalibrationSSD.cxx.
The documentation for this class was generated from the following file: