RooRealConstant.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Project: RooFit                                                           *
00003  * Package: RooFitCore                                                       *
00004  *    File: $Id: RooRealConstant.h,v 1.13 2007/05/11 09:11:30 verkerke Exp $
00005  * Authors:                                                                  *
00006  *   WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu       *
00007  *   DK, David Kirkby,    UC Irvine,         dkirkby@uci.edu                 *
00008  *                                                                           *
00009  * Copyright (c) 2000-2005, Regents of the University of California          *
00010  *                          and Stanford University. All rights reserved.    *
00011  *                                                                           *
00012  * Redistribution and use in source and binary forms,                        *
00013  * with or without modification, are permitted according to the terms        *
00014  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)             *
00015  *****************************************************************************/
00016 #ifndef ROO_REAL_CONSTANT
00017 #define ROO_REAL_CONSTANT
00018 
00019 #include "Rtypes.h"
00020 #include "Riosfwd.h"
00021 
00022 class RooAbsReal ;
00023 class RooArgList ;
00024 class TIterator ;
00025 #include "RooConstVar.h"
00026 
00027 class RooRealConstant {
00028 public:
00029 
00030   inline RooRealConstant() {} ;
00031   virtual ~RooRealConstant() {} ;
00032   static RooConstVar& value(Double_t value) ;
00033 
00034   static void cleanup() ;
00035 
00036 protected:
00037 
00038   static void init() ;
00039 
00040   static RooArgList* _constDB ;    // List of already instantiated constants
00041   static TIterator* _constDBIter ; // Iterator over constants list
00042 
00043   ClassDef(RooRealConstant,0) // RooRealVar constants factory
00044 };
00045 
00046 
00047 #endif
00048 

Generated on Tue Jul 5 14:26:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1