CMS 3D CMS Logo

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:
34  RooCMSShape(){};
35  RooCMSShape(const char* name,
36  const char* title,
37  RooAbsReal& _x,
38  RooAbsReal& _alpha,
39  RooAbsReal& _beta,
40  RooAbsReal& _gamma,
41  RooAbsReal& _peak);
42 
43  RooCMSShape(const RooCMSShape& other, const char* name);
44  inline TObject* clone(const char* newname) const override { return new RooCMSShape(*this, newname); }
45  inline ~RooCMSShape() override {}
46  Double_t evaluate() const override;
47 
49 
50 protected:
51  RooRealProxy x;
52  RooRealProxy alpha;
53  RooRealProxy beta;
54  RooRealProxy gamma;
55  RooRealProxy peak;
56 };
57 
58 #endif
RooCMSShape::peak
RooRealProxy peak
Definition: RooCMSShape.h:73
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
RooCMSShape::RooCMSShape
RooCMSShape()
Definition: RooCMSShape.h:52
trackingPlots.other
other
Definition: trackingPlots.py:1460
RooCMSShape::x
RooRealProxy x
Definition: RooCMSShape.h:69
RooCMSShape::beta
RooRealProxy beta
Definition: RooCMSShape.h:71
RooCMSShape::clone
TObject * clone(const char *newname) const override
Definition: RooCMSShape.h:62
RooCMSShape::alpha
RooRealProxy alpha
Definition: RooCMSShape.h:70
RooCMSShape::~RooCMSShape
~RooCMSShape() override
Definition: RooCMSShape.h:63
RooCMSShape::ClassDefOverride
ClassDefOverride(RooCMSShape, 1)
RooCMSShape
Definition: RooCMSShape.h:31
RooCMSShape::evaluate
Double_t evaluate() const override
Definition: RooCMSShape.cc:48
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
RooCMSShape::gamma
RooRealProxy gamma
Definition: RooCMSShape.h:72