Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
27 protected:
28
31
32 double evaluate() const override ;
33
34 private:
35
36 ClassDefOverride(Heaviside,1) // Your description goes here...
37 };
38}
39
40#endif
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
Abstract base class for objects that represent a real value and implements functionality common to al...
Definition RooAbsReal.h:59
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:30
RooRealProxy x
Definition Heaviside.h:29
TObject * clone(const char *newname) const override
Definition Heaviside.h:25
Mother of all ROOT objects.
Definition TObject.h:41
Namespace for the RooStats classes.
Definition Asimov.h:19