ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitCommon/MathTools/interface/Funcs.h
Revision: 1.2
Committed: Fri Jul 17 10:37:19 2009 UTC (15 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +3 -3 lines
Log Message:
Added to dict

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: Funcs.h,v 1.1 2009/06/11 20:31:19 loizides Exp $
3 loizides 1.1 //
4     // Funcs
5     //
6     // Function definitions.
7     //
8     // Authors: C.Loizides, G.Ceballos
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.2 #ifndef MITCOMMON_MATHTOOLS_FUNCS_H
12     #define MITCOMMON_MATHTOOLS_FUNCS_H
13 loizides 1.1
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