ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RooAbsLValue.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Project: RooFit *
3  * Package: RooFitCore *
4  * File: $Id: RooAbsLValue.h,v 1.12 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_ABS_LVALUE
17 #define ROO_ABS_LVALUE
18 
19 #include <list>
20 #include <string>
21 
22 #include "Riosfwd.h"
23 #include "Rtypes.h"
24 
25 class RooAbsBinning ;
26 
27 class RooAbsLValue {
28 public:
29 
30  // Constructors, cloning and assignment
31  RooAbsLValue() ;
32  virtual ~RooAbsLValue();
33 
34  virtual void setBin(Int_t ibin, const char* rangeName=0) = 0 ;
35  virtual Int_t getBin(const char* rangeName=0) const = 0 ;
36  virtual Int_t numBins(const char* rangeName=0) const = 0 ;
37  virtual Double_t getBinWidth(Int_t i, const char* rangeName=0) const = 0 ;
38  virtual Double_t volume(const char* rangeName) const = 0 ;
39  virtual void randomize(const char* rangeName=0) = 0 ;
40 
41  virtual const RooAbsBinning* getBinningPtr(const char* rangeName) const = 0 ;
42  virtual std::list<std::string> getBinningNames() const = 0;
43  virtual Int_t getBin(const RooAbsBinning*) const = 0 ;
44 
45 protected:
46 
47  ClassDef(RooAbsLValue,1) // Abstract variable
48 };
49 
50 #endif
virtual Double_t getBinWidth(Int_t i, const char *rangeName=0) const =0
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual const RooAbsBinning * getBinningPtr(const char *rangeName) const =0
virtual std::list< std::string > getBinningNames() const =0
virtual void setBin(Int_t ibin, const char *rangeName=0)=0
virtual Int_t getBin(const char *rangeName=0) const =0
RooAbsLValue()
Constructor.
virtual void randomize(const char *rangeName=0)=0
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
Definition: RooAbsBinning.h:26
double Double_t
Definition: RtypesCore.h:55
Abstract base class for objects that are lvalues, i.e.
Definition: RooAbsLValue.h:27
virtual Double_t volume(const char *rangeName) const =0
virtual ~RooAbsLValue()
Destructor.
virtual Int_t numBins(const char *rangeName=0) const =0