library: libRooFit #include "RooConstVar.h"

# RooConstVar

class description - source file - inheritance tree (.pdf)

## class RooConstVar : public RooAbsReal

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsArg`

<-

`RooAbsReal`

<-

`RooConstVar`

        protected:

          virtual Double_t evaluate() const

        public:

                           RooConstVar()
                           RooConstVar(const char* name, const char* title, Double_t value)
                           RooConstVar(const RooConstVar& other, const char* name = "0")
                   virtual ~RooConstVar()
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
          virtual Double_t getVal(const RooArgSet* set = 0) const
           virtual TClass* IsA() const
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
              virtual void writeToStream(ostream& os, Bool_t compact) const

### Data Members

        protected:

          Double_t _value

## Class Description

RooConstVar(const char *name, const char *title, Double_t value) : RooAbsReal(name,title), _value(value)

RooConstVar(const RooConstVar& other, const char* name) : RooAbsReal(other, name), _value(other._value)

     Copy constructor

~RooConstVar()

Double_t getVal(const RooArgSet*) const

void writeToStream(ostream& os, Bool_t /*compact*/) const

     Write object contents to stream

### Inline Functions

            RooConstVar RooConstVar(const RooConstVar& other, const char* name = "0")
               TObject* clone(const char* newname) const
               Double_t evaluate() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:11:27 2005
Copyright (c) 2000-2005, Regents of the University of California *