Logo ROOT  
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
21class RooNumber {
22public:
23
24 virtual ~RooNumber() {} ;
25
26 static double infinity() ;
27 static Int_t isInfinite(double x) ;
28
29 private:
30 static double _Infinity ;
31
32 ClassDef(RooNumber,0) // wrapper class for portable numerics
33};
34
35#endif
int Int_t
Definition: RtypesCore.h:45
#define ClassDef(name, id)
Definition: Rtypes.h:335
Class RooNumber implements numeric constants used by RooFit.
Definition: RooNumber.h:21
static double _Infinity
Definition: RooNumber.h:30
static double infinity()
Return internal infinity representation.
Definition: RooNumber.cxx:48
static Int_t isInfinite(double x)
Return true if x is infinite by RooNumBer internal specification.
Definition: RooNumber.cxx:57
virtual ~RooNumber()
Definition: RooNumber.h:24
Double_t x[n]
Definition: legend1.C:17