Double_tGetA(Int_ti);//to obtain calib parameter A
Double_tGetA(Int_ti);//to obtain calib parameter A
Double_tGetB(Int_ti);//to obtain calib parameter B
Double_tGetB(Int_ti);//to obtain calib parameter B
//private:
private:
Double_tfPeak[DEFAULTNOPEAKS];//v teto promenne je ulozena momentalni hodnota piku v kanalech, zejmena v jedne fci, mozno udelat ji jako lokalni, bude navratovou hodnotou fce PeaksFitting, predelat delku pole
Double_tfPeak[DEFAULTNOPEAKS];//v teto promenne je ulozena momentalni hodnota piku v kanalech, zejmena v jedne fci, mozno udelat ji jako lokalni, bude navratovou hodnotou fce PeaksFitting, predelat delku pole
cal->CalibrateRawSpectra("clb09_0001.root","SQ22","AnalysisxTree",100,800,500);//takes data from raw file and calibrates it with obtained calibration parameters
cal->CalibrateRawSpectra("clb09_0001.root","SQ22","AnalysisxTree",100,800,500);//takes data from raw file and calibrates it with obtained calibration parameters
cal->CalibrateRawSpectra("clb09_0001.root","SQ22","AnalysisxTree",100,800,500);//takes data from raw file and calibrates it with obtained calibration parameters