ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
roofit
roofitcore
inc
RooNumber.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Project: RooFit *
3
* Package: RooFitCore *
4
* File: $Id: RooNumber.h,v 1.7 2007/05/11 09:11:30 verkerke Exp $
5
* Authors: *
6
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8
* *
9
* Copyright (c) 2000-2005, Regents of the University of California *
10
* and Stanford University. All rights reserved. *
11
* *
12
* Redistribution and use in source and binary forms, *
13
* with or without modification, are permitted according to the terms *
14
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15
*****************************************************************************/
16
#ifndef ROO_NUMBER
17
#define ROO_NUMBER
18
19
#include "
Rtypes.h
"
20
21
class
RooNumber
{
22
public
:
23
24
virtual
~RooNumber
() {} ;
25
26
static
Double_t
infinity
() ;
27
static
Int_t
isInfinite
(
Double_t
x
) ;
28
29
private
:
30
static
Double_t
_Infinity
;
31
32
ClassDef
(
RooNumber
,0)
// wrapper class for portable numerics
33
};
34
35
#endif
RooNumber
Definition:
RooNumber.h:21
Rtypes.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
RooNumber::isInfinite
static Int_t isInfinite(Double_t x)
Return true if x is infinite by RooNumBer internal specification.
Definition:
RooNumber.cxx:57
x
Double_t x[n]
Definition:
legend1.C:17
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
RooNumber::~RooNumber
virtual ~RooNumber()
Definition:
RooNumber.h:24
RooNumber::infinity
static Double_t infinity()
Return internal infinity representation.
Definition:
RooNumber.cxx:48
Double_t
double Double_t
Definition:
RtypesCore.h:55
RooNumber::_Infinity
static Double_t _Infinity
Definition:
RooNumber.h:30