*****************************************************************************/
#ifndef ROO_CONST_VAR
#define ROO_CONST_VAR
#include "RooAbsReal.h"
#include "RooArgList.h"
#include "RooListProxy.h"
class RooArgSet ;
class RooConstVar : public RooAbsReal {
public:
inline RooConstVar() { }
RooConstVar(const char *name, const char *title, Double_t value);
RooConstVar(const RooConstVar& other, const char* name=0);
virtual TObject* clone(const char* newname) const { return new RooConstVar(*this,newname); }
virtual ~RooConstVar();
virtual Double_t getVal(const RooArgSet* set=0) const ;
void writeToStream(ostream& os, Bool_t compact) const ;
protected:
virtual Double_t evaluate() const { return _value ; } ;
Double_t _value ;
ClassDef(RooConstVar,1)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.