ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #ifndef ROO_ABS_REAL
11 #include "RooAbsReal.h"
12 #endif
13 #ifndef ROO_REAL_PROXY
14 #include "RooRealProxy.h"
15 #endif
16 #ifndef ROO_CATEGORY_PROXY
17 #include "RooCategoryProxy.h"
18 #endif
19 #ifndef ROO_ABS_REAL
20 #include "RooAbsReal.h"
21 #endif
22 #ifndef ROO_ABS_CATEGORY
23 #include "RooAbsCategory.h"
24 #endif
25 
26 namespace RooStats {
27 
28  /**
29  \ingroup Roostats
30 
31  Represents the Heaviside function.
32  Evaluates to 1.0 when ((Double_t)x) >= ((Double_t)c), 0.0 otherwise.
33 
34  */
35 
36 
37  class Heaviside : public RooAbsReal {
38  public:
39  Heaviside() {} ;
40  Heaviside(const char *name, const char *title,
41  RooAbsReal& _x,
42  RooAbsReal& _c);
43  Heaviside(const Heaviside& other, const char* name=0) ;
44  virtual TObject* clone(const char* newname) const { return new Heaviside(*this,newname); }
45  inline virtual ~Heaviside() { }
46 
47  protected:
48 
51 
52  Double_t evaluate() const ;
53 
54  private:
55 
56  ClassDef(Heaviside,1) // Your description goes here...
57  };
58 }
59 
60 #endif
RooRealProxy c
Definition: Heaviside.h:50
Double_t evaluate() const
Definition: Heaviside.cxx:46
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual ~Heaviside()
Definition: Heaviside.h:45
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
Represents the Heaviside function.
Definition: Heaviside.h:37
double Double_t
Definition: RtypesCore.h:55
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:53
virtual TObject * clone(const char *newname) const
Definition: Heaviside.h:44
#define name(a, b)
Definition: linkTestLib0.cpp:5
Mother of all ROOT objects.
Definition: TObject.h:58
RooRealProxy is the concrete proxy for RooAbsReal objects A RooRealProxy is the general mechanism to ...
Definition: RooRealProxy.h:23
RooRealProxy x
Definition: Heaviside.h:49