Logo ROOT  
Reference Guide
Heaviside.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: RooFit *
3 * *
4 * This code was autogenerated by RooClassFactory *
5 *****************************************************************************/
6
7#ifndef RooStats_Heaviside
8#define RooStats_Heaviside
9
10#include "RooAbsReal.h"
11#include "RooRealProxy.h"
12#include "RooCategoryProxy.h"
13#include "RooAbsReal.h"
14#include "RooAbsCategory.h"
15
16namespace RooStats {
17
18 class Heaviside : public RooAbsReal {
19 public:
20 Heaviside() {} ;
21 Heaviside(const char *name, const char *title,
22 RooAbsReal& _x,
23 RooAbsReal& _c);
24 Heaviside(const Heaviside& other, const char* name=nullptr) ;
25 TObject* clone(const char* newname) const override { return new Heaviside(*this,newname); }
26 inline ~Heaviside() override { }
27
28 protected:
29
32
33 double evaluate() const override ;
34
35 private:
36
37 ClassDefOverride(Heaviside,1) // Your description goes here...
38 };
39}
40
41#endif
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
char name[80]
Definition: TGX11.cxx:110
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:62
Represents the Heaviside function.
Definition: Heaviside.h:18
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition: Heaviside.cxx:54
RooRealProxy c
Definition: Heaviside.h:31
~Heaviside() override
Definition: Heaviside.h:26
RooRealProxy x
Definition: Heaviside.h:30
TObject * clone(const char *newname) const override
Definition: Heaviside.h:25
Mother of all ROOT objects.
Definition: TObject.h:37
Namespace for the RooStats classes.
Definition: Asimov.h:19