PandaRoot
PndHypGePeakFitFunction.h
Go to the documentation of this file.
1 /*
2  * THypGePeakFitFunction.h
3  *
4  * Copyright 2013 Marcell Steinen <steinen@kph.uni-mainz.de>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  *
22  */
23 
24 // support class for peak fitting, ROOT needs this external construction (?)
25 #ifndef PNDHYPGEPEAKFITFUNCTION_H
26 #define PNDHYPGEPEAKFITFUNCTION_H
27 
28 #include "TMath.h"
29 
31  public:
33  Double_t PeakFunc(Double_t *x, Double_t *par);
34  Double_t PeakFuncGaussian(Double_t *x, Double_t *par);
35  Double_t PeakFuncFreeSkewedPosition(Double_t *x, Double_t *par);
36  Double_t PeakFuncFreeSkewedPositionWithoutFirstGausian(Double_t *x, Double_t *par);
37  Double_t PeakFuncDoubleGausian(Double_t *x, Double_t *par);
38 
39  Double_t NewFunction(Double_t *x, Double_t *par);
40 
41  Double_t GausOnly(Double_t *x, Double_t *par);
42  Double_t SmoothedStepOnly(Double_t *x, Double_t *par);
43  Double_t LinearOnly(Double_t *x, Double_t *par);
44  Double_t SkewedOnly(Double_t *x, Double_t *par);
45  Double_t FreeSkewedOnly(Double_t *x, Double_t *par);
46  Double_t SecondGausOnly(Double_t *x, Double_t *par);
47  Double_t NewSkewedOnly(Double_t *x, Double_t *par);
48 
49  private:
50  /* add your private declarations */
51 
52  ClassDef(PndHypGePeakFitFunction, 1) // This line must be used for Go4 and PANDAroot !!!!!!!!!!! gives "IsA()" Error if compiled with g++
53 };
54 
55 #endif /* PNDHYPGEPEAKFITFUNCTION_H */
Double_t LinearOnly(Double_t *x, Double_t *par)
Double_t PeakFuncFreeSkewedPosition(Double_t *x, Double_t *par)
Double_t SecondGausOnly(Double_t *x, Double_t *par)
Double_t PeakFunc(Double_t *x, Double_t *par)
Double_t NewFunction(Double_t *x, Double_t *par)
Double_t PeakFuncDoubleGausian(Double_t *x, Double_t *par)
Double_t SkewedOnly(Double_t *x, Double_t *par)
Double_t FreeSkewedOnly(Double_t *x, Double_t *par)
Double_t SmoothedStepOnly(Double_t *x, Double_t *par)
Double_t GausOnly(Double_t *x, Double_t *par)
Double_t PeakFuncGaussian(Double_t *x, Double_t *par)
Double_t NewSkewedOnly(Double_t *x, Double_t *par)
Double_t PeakFuncFreeSkewedPositionWithoutFirstGausian(Double_t *x, Double_t *par)