28 Fitted() : NSubPeaks(0), BgdOff(0), BgdSlope(0), BgFrom(0), BgTo(0), area(0), ampli(0), posi(0), fw05(0), fw01(0), fwhm(0), tailL(0), tailR(0), Lambda(0), Rho(0), S(0), eref(-1), good(false) {;}
51 NWA_t() : index(-1), width(0), ampli(0) {;}
108 void SetHistChannelLimits(
int SpecNbr,
float ChFrom,
float ChTo);
111 void SetSource(TString SourceName){fSourceName = SourceName; AnalyseSources();}
112 void AnalyseSources();
114 void AddPeak(
double EPeak){Energies.push_back(EPeak);}
118 void SetGlobalPeaksLimits(
float DefFWHM,
float DefAmpli){specFWHMdef = DefFWHM; specAMPLdef = DefAmpli;nwa.clear();}
119 void SetHistPeaksLimits(
int SpecNbr,
float FWHM,
float Ampli);
212 int xP_0, xP_1, xP_2, xP_3, xP_4, xP_5,
xP_6;
240 void numparams (
char *,
int);
243 int PeakSearch1(
float * data,
int chA,
int chB,
float fwhm,
float minAmpl, std::vector<double>&vPeaks);
244 int PeakSearch2(
float * data,
int chA,
int chB,
float fwhm,
float minAmpl, std::vector<double>&vPeaks);
245 int LargePeaks1(
float * data,
int chA,
int chB,
float fwhm,
float minAmpl, std::vector<double>&vPeaks,
int maxNum);
246 void SmoothSpek(
float *spek,
int nchan,
double sigma,
int ndiff,
float *& tSpek,
int &start);
247 int xP_Next1(
float *yVal,
int yLen);
248 int xP_Next2(
float *yVal,
int yLen);
249 int FitPeaks(
int verbose);
250 double ECalibration(
int nspe,
double& offset1,
double& slope1_,
double& offset2_,
double& slope2_,
double& curv2_,
int verbose_);
251 double TCalibration();
252 bool InvertMatrix3(
const double m[9],
double invOut[9]);
253 double Calibrated(
double x);
void UseFirstDerivativeSearch()
void SetRefPeak(double EPeak)
void AddPeak(double EPeak)
TString fSpectraFolderName
void SetVerbosityLevel(int Verb)
float fCurrentspecFWHMdef
void SetSource(TString SourceName)
void SetGlobalChannelLimits(int ChFrom, int ChTo)
void RemoveClosestPeakTo(double EPeak)
vector< double > specPeaks
void UseSecondDerivativeSearch()
void SetChannelOffset(int Off)
void SetFileName(TString FileName)
bool operator()(Fitted elem1, Fitted elem2)
void SetGlobalPeaksLimits(float DefFWHM, float DefAmpli)
void PrintResForXTalk(int VerboseMod)
vector< double > Energies
bool operator()(Fitted elem1, Fitted elem2)
vector< double > Delendae
vector< Fitted > Peaks
void SetFormat(string type, int nchan){specFormat = type; specLength = nchan;} // format of the data ...
vector< Fitted > GetFitResults()
float fCurrentspecAMPLdef
void SetSpectraFolder(TString name)
void SetHistNumber(int HistNbr)
void UseAffineBackGround()
bool operator()(Fitted elem1, Fitted elem2)