Logo ROOT  
Reference Guide
RooRealConstant.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooRealConstant.h,v 1.13 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_REAL_CONSTANT
17 #define ROO_REAL_CONSTANT
18 
19 #include "Rtypes.h"
20 
21 class RooAbsReal ;
22 class RooArgList ;
23 #include "RooConstVar.h"
24 
26 public:
27 
28  inline RooRealConstant() {} ;
29  virtual ~RooRealConstant() {} ;
30  static RooConstVar& value(Double_t value) ;
31 
32  static RooConstVar& removalDummy() ;
33 
34 protected:
35 
36  static RooArgList& constDB();
37 
38  ClassDef(RooRealConstant,0) // RooRealVar constants factory
39 };
40 
41 
42 #endif
43 
RooRealConstant::~RooRealConstant
virtual ~RooRealConstant()
Definition: RooRealConstant.h:29
RooRealConstant
Definition: RooRealConstant.h:25
RooArgList
Definition: RooArgList.h:21
RooRealConstant::value
static RooConstVar & value(Double_t value)
Return a constant value object with given value.
Definition: RooRealConstant.cxx:52
RooRealConstant::constDB
static RooArgList & constDB()
One-time initialization of constants database.
Definition: RooRealConstant.cxx:90
RooAbsReal
Definition: RooAbsReal.h:61
RooConstVar
Definition: RooConstVar.h:25
RooRealConstant::removalDummy
static RooConstVar & removalDummy()
Create a dummy node used in node-removal operations.
Definition: RooRealConstant.cxx:75
RooConstVar.h
Double_t
double Double_t
Definition: RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
Rtypes.h
RooRealConstant::RooRealConstant
RooRealConstant()
Definition: RooRealConstant.h:28