er  dev
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ERCalibrationSSD::Calibration Class Reference
Inheritance diagram for ERCalibrationSSD::Calibration:
Inheritance graph
[legend]
Collaboration diagram for ERCalibrationSSD::Calibration:
Collaboration graph
[legend]

Public Member Functions

 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)
 
- Public Member Functions inherited from ERCalibrationSSD::TaskManager
 TaskManager (const TString &rawDataPath)
 

Protected Member Functions

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...
 

Protected Attributes

TString fSpectraHistPath = ""
 
SensorRunInfofSensor = nullptr
 
- Protected Attributes inherited from ERCalibrationSSD::TaskManager
CalibIOManagerfIOManager = nullptr
 
TString fWorkDir = "result"
 
TString fRunId = ""
 
TString fRawDataPath = ""
 

Additional Inherited Members

Detailed Description

Definition at line 1355 of file ERCalibrationSSD.cxx.

Member Function Documentation

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
etaeta parameter value

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: