Logo ROOT   6.10/09
Reference Guide
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:
31 
32  ClassDef(RooNumber,0) // wrapper class for portable numerics
33 };
34 
35 #endif
Class RooNumber implements numeric constants used by RooFit.
Definition: RooNumber.h:21
int Int_t
Definition: RtypesCore.h:41
static Int_t isInfinite(Double_t x)
Return true if x is infinite by RooNumBer internal specification.
Definition: RooNumber.cxx:58
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:297
virtual ~RooNumber()
Definition: RooNumber.h:24
static Double_t infinity()
Return internal infinity representation.
Definition: RooNumber.cxx:49
double Double_t
Definition: RtypesCore.h:55
static Double_t _Infinity
Definition: RooNumber.h:30