test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RooCMSShape.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: CMS detector at the CERN
3  *
4  * Package: PhysicsTools/TagAndProbe/RooCMSShape
5  *
6  *
7  * Authors:
8  * Nadia Adam, Princeton - neadam@princeton.edu
9  * Adam Hunt, Princeton - ahunt@princeton.edu
10  * Kalanand Mishra, Fermilab - kalanand@fnal.gov
11  *
12  * Description:
13  * Defines a probability density function which has exponential decay
14  * distribution at high mass beyond the pole position (say, Z peak)
15  * but turns over (i.e., error function) at low mass due to threshold
16  * effect. We use this to model the background shape in Z->ll invariant
17  * mass.
18  * History:
19  *
20  *
21  *****************************************************************************/
22 
23 #ifndef ROO_CMS_SHAPE
24 #define ROO_CMS_SHAPE
25 
26 #include "RooAbsPdf.h"
27 #include "RooRealProxy.h"
28 #include "RooAbsReal.h"
29 #include "TMath.h"
30 #include "RooMath.h"
31 
32 class RooCMSShape : public RooAbsPdf {
33 public:
35  RooCMSShape(const char *name, const char *title,
36  RooAbsReal& _x,
37  RooAbsReal& _alpha,
38  RooAbsReal& _beta,
39  RooAbsReal& _gamma,
40  RooAbsReal& _peak);
41 
42  RooCMSShape(const RooCMSShape& other, const char* name);
43  inline virtual TObject* clone(const char* newname) const { return new RooCMSShape(*this,newname); }
44  inline ~RooCMSShape() {}
45  Double_t evaluate() const ;
46 
47 
49 
50 protected:
51 
52  RooRealProxy x ;
53  RooRealProxy alpha ;
54  RooRealProxy beta ;
55  RooRealProxy gamma ;
56  RooRealProxy peak ;
57 
58 };
59 
60 #endif
RooRealProxy gamma
Definition: RooCMSShape.h:55
RooRealProxy peak
Definition: RooCMSShape.h:56
virtual TObject * clone(const char *newname) const
Definition: RooCMSShape.h:43
RooRealProxy alpha
Definition: RooCMSShape.h:53
RooRealProxy x
Definition: RooCMSShape.h:52
ClassDef(RooCMSShape, 1)
RooRealProxy beta
Definition: RooCMSShape.h:54
Double_t evaluate() const
Definition: RooCMSShape.cc:53