ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitCommon/MathTools/interface/Funcs.h
Revision: 1.1
Committed: Thu Jun 11 20:31:19 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009c, Mit_009b, Mit_009a
Log Message:
Renamed since neither class nor function names was really precise.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: Funcs.h,v 1.2 2009/06/11 20:26:56 loizides Exp $
3     //
4     // Funcs
5     //
6     // Function definitions.
7     //
8     // Authors: C.Loizides, G.Ceballos
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITCOMMON_MATHTOOLS_TPFUNCS_H
12     #define MITCOMMON_MATHTOOLS_TPFUNCS_H
13    
14     #include "MitCommon/DataFormats/interface/Types.h"
15     #include <TMath.h>
16    
17     class TF1;
18    
19     namespace mithep
20     {
21     class Funcs {
22     public:
23     static Double_t BreitGaus(Double_t x, Double_t m, Double_t mwidth, Double_t msig,
24     Double_t fintf, Double_t xmin, Double_t xmax);
25     static Double_t BreitGaus(Double_t *x, Double_t *par);
26     static Double_t BreitWignerGamma(Double_t x, Double_t mean, Double_t gamma);
27     static Double_t BreitWignerGamma(Double_t *x, Double_t *par);
28     static Double_t BreitWignerZ(Double_t x, Double_t mean, Double_t gamma);
29     static Double_t BreitWignerZ(Double_t *x, Double_t *par);
30     static Double_t ExpRange(Double_t x, Double_t lambda, Double_t xmin, Double_t xmax);
31     static Double_t ExpRange(Double_t *x, Double_t *par);
32     static Double_t ZLineShapePlusBkg(Double_t *x, Double_t *par);
33     static TF1 *CreateZLineShapePlusBkg(Double_t norm=1, Double_t xmin=60, Double_t xmax=110,
34     const char *n="ZLineShapePlusBgk");
35     };
36     }
37     #endif