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=0) ;
25 virtual TObject* clone(const char* newname) const { return new Heaviside(*this,newname); }
26 inline virtual ~Heaviside() { }
27
28 protected:
29
32
33 Double_t evaluate() const ;
34
35 private:
36
37 ClassDef(Heaviside,1) // Your description goes here...
38 };
39}
40
41#endif
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:326
char name[80]
Definition: TGX11.cxx:109
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:59
Represents the Heaviside function.
Definition: Heaviside.h:18
RooRealProxy c
Definition: Heaviside.h:31
virtual ~Heaviside()
Definition: Heaviside.h:26
RooRealProxy x
Definition: Heaviside.h:30
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Definition: Heaviside.cxx:54
virtual TObject * clone(const char *newname) const
Definition: Heaviside.h:25
Mother of all ROOT objects.
Definition: TObject.h:37
Namespace for the RooStats classes.
Definition: Asimov.h:20